Vue lecture

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.

Geekbench 6 : Nouvelle version du logiciel de référence pour le benchmarking

Geekbench vient de sortir une nouvelle version de son logiciel de benchmarking pour Windows, macOS, Linux, iOS et Android. J’ai beaucoup utilisé Geekbench il y a quelques mois lors de la construction de mon dernier Hackintosh, cela permet de tester les performances et voir ou l’on se situe par rapport à d’autres machines équivalentes. Idéal …

WingetUI : La solution pour installer et mettre à jour tous vos logiciels sur Windows !

J’ai déjà parlé ici de Winget pour Windows, un excellent gestionnaire de paquet qui vous permettra de mettre à jour ou d’installer vos applications sur Windows. Cependant, il peut rebuter certains d’entre vous puisque tout est en ligne de commande. C’est pourquoi aujourd’hui, nous allons parler d’une application open source créer par Martí Climent : …

Ubiquiti : Comment mettre à jour UniFi Network Application via SSH ?

Hey ! Bonjour à toutes et à tous ! 🤙 Nous voilà de nouveau réunis pour cette fois-ci parler Ubiquiti et plus précisément comment mettre à jour UniFi Network Application via un accès SSH. Pour rappel, la dernière fois, nous avions vu comment mettre à jour un point d’accès via SSH. Introduction UniFi Network Application, …

[Synology] Envoyer un email de notification

Je vous propose aujourd'hui une astuce à destination des possesseurs de NAS Synology qui souhaite envoyer des notifications par email. Le tout en bash.

Le but est d'envoyer un email sans se préoccuper de la configuration du serveur SMTP. Je me sers de ce système pour recevoir un compte rendu mensuel par email d'un script de sauvegarde (de Blogmotion).

Pré-requis

Il est nécessaire d'avoir configuré la partie notification dans DSM :

Panneau de configuration > système > notification

Je vous conseille de créer une boite email chez Microsoft et de la dédier pour les notifications. Cela peut fonctionner avec d'autres fournisseurs comme Gmail ou votre serveur personnalisé, libre à vous d'essayer. J'ai de bons résultats avec une boite outlook donc je n'ai pas cherché plus loin 🙂

Voici ma configuration pour une boite email Outlook :

  • Serveur SMTP personnalisé
  • Serveur SMTP : smtp.office365.com
  • Port SMTP : 587

A l'aide du bouton "envoyer un courriel test" vérifiez que vous recevez bien l'email. En cas de doute sur un filtrage antispam, testez sur une adresse YopMail (aucun email n'est filtré chez YopMail).

Le script bash

DSM va s'appuyer sur un fichier de configuration suivant :

/usr/syno/etc/synosmtp.conf

Voici comment parser ce fichier et envoyer un email en s'appuyant sur cette configuration :

#!/bin/bash
TOMAIL="[email protected]"
SUJETMAIL="voici le sujet du mail"CORPSMAIL="un exemple de contenu du mail"FROMMAIL=$(grep 'smtp_from_mail' /usr/syno/etc/synosmtp.conf | cut -d '=' -f2 | tr -d '"')

{
echo To: $TOMAIL
echo From: $FROMMAIL
echo Subject: $SUJETMAIL
echo 
echo $CORPSMAIL
} | ssmtp $TOMAIL -v

L'option -v permet d'avoir un retour verbeux, pratique en cas de problème d'expédition.

⚠ Attention à bien laisser la ligne avec le "echo" vide.

A la place de la ligne echo $CORPSMAIL vous pouvez insérer une commande système (résultat d'un script, contenu d'un fichier, etc).

Conclusion

J'ai souhaité vous partager cette astuce qui permet d'envoyer facilement des emails, sans se soucier des problématiques de délivrabilité.

Outlook (ex Hotmail) a pour réputation d'être particulièrement tatillons pour la réception des emails vers des boites outlook, hotmail, etc. C'est pourquoi j'ai choisi d'utiliser une boite email Microsoft : les serveurs de réception du destinataire ont tendance à accorder une bonne confiance aux emails qui sont relayés par Microsoft (je ne sais pas si cette phrase est claire 😄). Si vous avez des données sensible privilégier un fournisseur d'email un peu plus respectueux des données (protonmail, etc).

Pensez à laisser un commentaire si ce post vous a été utile 👍

Vous n'aimez pas le RSS : abonnez-vous par email 📥
Vous devriez me suivre sur Twitter : @xhark

Article original écrit par Mr Xhark publié sur Blogmotion le 04/10/2023 | Pas de commentaire |
Attention : l'intégralité de ce billet est protégée par la licence Creative Commons

Cet article [Synology] Envoyer un email de notification provient de : on Blogmotion.

Nintendo Switch 2 : à quoi s’attendre pour la future console de jeu du géant nippon ?

Depuis sa sortie mondiale en mars 2017, la Nintendo Switch est devenue l'une des consoles les plus vendues de l'histoire, avec plus de 132 millions d'exemplaires ayant trouvé preneur. Malheureusement, le poids des années se fait sentir, et il serait grand temps que Nintendo se décide enfin à passer à la génération suivante, celle de la Nintendo Switch 2.

L’article Nintendo Switch 2 : à quoi s’attendre pour la future console de jeu du géant nippon ? est apparu en premier sur Tom’s Hardware.

full

thumbnail

Prise en main du switch UniFi USW-16-PoE

Nous avons de plus en plus d’appareils connectés et même de plus en plus d’équipements nécessitant du Power over Ethernet (PoE) pour fonctionner, comme des caméras et des bornes Wi-Fi. En général, nous les adeptes du High Tech, on aime avoir des équipements semi-professionnels. C’est ce que nous propose Ubiquiti avec le switch Unifi USW-16-PoE. Récemment, j’ai aménagé une baie dans mon garage, sujet qui sera traité dans un prochain article. J’ai souhaité remplacer mon petit switch D-Link non rackable par ce modèle Ubiquiti, et cela soulève la question du choix de cet équipement en particulier. Switch Ubiquiti USW-16-PoE Le […]
Lire la suite : Prise en main du switch UniFi USW-16-PoE

Comment fonctionne Cachem ? (partie technique)

cachem techniqueCachem a vu le jour en 2009 et beaucoup de choses se sont passées depuis son lancement. Aujourd’hui, nous allons aborder le fonctionnement quotidien du site Cachem en 2024, mais avec une perspective technique. Je vais vous révéler tous les secrets 😁 Nom de domaine Commençons par la partie nom de domaine. Sachez que celui-ci est historiquement chez OVH. Bien que mon premier hébergeur était PlanetHoster, ce dernier déléguait la gestion de domaine à OVH. Pour le nom Cachem, j’ai utilisé les deux premières lettres de madame et des deux filles : CAroline, CHloé et EMma. On peut même pousser […]
Lire la suite : Comment fonctionne Cachem ? (partie technique)

Thunderbolt NAS vs Thunderbolt DAS / LAS – Which Is Better For Your Needs?

Thunderbolt 4 DAS vs Thunderbolt 4 NAS? What Is The Difference?

The ascent of NAS has grown in popularity, largely due to video editing suites requiring a large amount of storage accessible by multiple users simultaneously. Even in the early days of Thunderbolt NAS, around 2017 and 2018, one of the key advantages over traditional Thunderbolt DAS storage was the facilitation of a much less complicated workflow. A NAS could be accessed by hundreds, if not thousands, of users at any given time via the internet or a local area network. The system could be used to package projects, distribute and archive them in a single system, as well as managing and facilitating multi-site backups, thanks to intelligent software that has evolved over the years from most NAS brands. Adding to this, editors could directly interface with a QNAP NAS over Thunderbolt and/or 10GbE with the appropriate interfaces, meaning this single storage system could house, manage, distribute, and orchestrate multi-tier backups for an entire photo/video production company. Whereas traditional Thunderbolt DAS can only be accessed by a single user at any given time and lacks the software management and automation that a NAS offers. However, there are definitely times when a Thunderbolt DAS is better than a Thunderbolt NAS too!

What is DAS? – In the context of Thunderbolt technology, DAS (Direct Attached Storage) refers to a storage device that is connected directly to a computer or server via a Thunderbolt interface. This setup offers high-speed data transfer and access for a single user, making it ideal for tasks that require rapid, individual access to large amounts of data. Occasionally referred to as ‘LAS’, or Local Access Storage.

And What is NAS? – In the context of Thunderbolt technology, NAS (Network Attached Storage) is a storage system connected to a network, allowing multiple users and devices to access and share data simultaneously. Unlike DAS, NAS provides broader scalability, remote access capabilities, and supports various data management features, making it suitable for collaborative and multi-user environments.

Clearly, there are significant differences between them:

Thunderbolt NAS vs Thunderbolt DAS – PERFORMANCE?

Thunderbolt DAS utilizes simple direct storage access for a single user and does not need to facilitate the use of a system operating system or be built on an architecture that needs to service multiple users at once. Thunderbolt NAS, however, operates on IP architecture and because it needs to run its own internal operating system, as well as have its data in its own file system that is not locked into any external file system of an operating system like Windows or Mac, performance is noticeably lower than that of DAS when utilizing exactly the same storage media. So, if you are a single access user and performance is what matters, Thunderbolt NAS might not be for you.

Thunderbolt NAS vs Thunderbolt DAS – Plug n Play?

There is also no avoiding that because a Thunderbolt NAS system like the QNAP TVS-h874 has its own operating system, software, appliances, and protocols, it is nowhere near as straightforward and simplistic to connect with as a traditional Thunderbolt direct attached storage device. Most of the initial work in connecting with the QNAP will be done at the beginning, and after that, the system will be automatically connected with your client machine, but if you are hoping that the TVS-h874 is as straightforward and plug-and-play as a Thunderbolt LaCie or G-Technology box, you are going to be disappointed!

Thunderbolt NAS vs Thunderbolt DAS – Fast Network/Remote Access?

Another advantage of utilizing Thunderbolt NAS systems over traditional Thunderbolt storage devices is the ability to use 10GbE passthrough. If your home or office uses larger bandwidth network connections such as 2.5GbE or 10GbE, you can use a direct connection with the NAS over Thunderbolt from your Mac or Windows system to also connect to that larger and higher bandwidth network. Additional Thunderbolt DAS storage will only provide you storage while using up that Thunderbolt port for little else.

Thunderbolt NAS vs Thunderbolt DAS – Expandability?

Expanding a traditional RAID storage device can often be quite tricky. Some Thunderbolt solutions, like the Areca series, allow users to use software RAID to attach their own series of expansion devices and add further drives to your ever-growing storage area. However, they are very much in the minority, as most Thunderbolt plug-and-play DAS solutions do not allow any kind of external expandability. Once the storage media inside the system has filled up, you either have to buy new, larger hard drives and gradually replace all of the drives, which can take weeks, or you need to buy a new Thunderbolt box and start over, adding to growing storage piles.

Thunderbolt NAS, on the other hand, allows several means to expand and upgrade your storage very efficiently over the system’s lifespan. The system arrives with two internal M.2 NVMe slots that allow you to install further, faster SSDs which can be used for additional storage or pooled together with the existing larger hard drive storage. Moreover, the system features multiple USB ports that allow you to attach one of the many official QNAP expansion devices that increase the size of your storage pool – this is especially fast if you utilize the ZFS QuTS software that now supports ZFS expansions. The QNAP TVS-h874 system also allows you to attach fast USB drives with USB 3.2 Gen 2 architecture, which will then become available via the Thunderbolt and remotely via network and internet connections. The QNAP NAS allows you to create multiple smaller storage areas both inside and outside of the system, and all of these are accessible via a single Thunderbolt port or via the network. This pales in comparison to the majority of other Thunderbolt DAS systems that only provide a single large block of storage to work with.

Thunderbolt NAS vs Thunderbolt DAS – File System Considerations?

File System Locks – Connecting a storage device via Thunderbolt to your Mac or Windows system does not always immediately make the storage available. One significant difference that many users overlook is that multiple operating systems use very different file systems, from an old USB drive all the way up to a LaCie 6big, for example. This can often result in a drive that works fine on a Mac being completely unusable on a Windows system. This has always been a challenge for editing suites with mixed Windows, Mac, and Linux OS systems in-house, preventing a single Thunderbolt device from being usable between one system and another without appropriate formatting or future provisioning during initial file system creation.

A Thunderbolt NAS, on the other hand, utilizes the system’s own EXT4 or ZFS file system during the initialization of the NAS and, after that, can be communicated with remotely via the network, internet, or over Thunderbolt by practically any operating system, as well as multiple client applications available from the brand, with third-party tools also supported. In terms of cross-platform file sharing, a Thunderbolt NAS is significantly more convenient.

Thunderbolt NAS vs Thunderbolt DAS – Costs, Price and Value?

The Price – Something a lot of you may have already noticed is that a Thunderbolt NAS like the TVS-h874 is much more expensive than a similarly scaled direct attached storage RAID box from OWC, G-Technology, or LaCie. This is because, in order for the NAS system to provide support for all of its features and services, it needs to utilize significantly more powerful hardware in terms of the CPU, memory, and general system internal cooling systems. A traditional Thunderbolt RAID DAS system does not have any of these extra features and therefore often runs on very modest SoC (Software on Chip) or RoC (RAID on Chip) processors with minimal RAM. All of this extra hardware results in a Thunderbolt NAS system being significantly more expensive than traditional plug-and-play Thunderbolt storage.

Thunderbolt 4 DAS vs. Thunderbolt 4 NAS? Which Should You Use?

Understanding the distinctions between Thunderbolt 4 DAS and Thunderbolt 4 NAS is crucial, especially when considering devices like the QNAP TVS-h874. This NAS device stands out for its versatility and future-proofing capabilities. Supporting both Thunderbolt 4 and 3, it offers an excellent long-term storage solution, adaptable to evolving client devices. While both Thunderbolt 3 and 4 deliver 40 gigabits per second bandwidth, Thunderbolt 4 excels with enhanced security, power delivery, and improved internal management. The file system flexibility of the Thunderbolt NAS, like the QNAP TVS-h874, is a significant advantage, particularly in multi-OS environments commonly found in editing suites. It overcomes the limitations of traditional DAS systems, which often face compatibility issues across different operating systems. The NAS’s ability to be communicated with remotely, regardless of the OS, streamlines cross-platform file sharing.

However, it’s important to consider the price and performance aspects. While Thunderbolt NAS offers more features, it comes at a higher cost due to its more powerful hardware. In terms of performance, Thunderbolt DAS provides straightforward, high-speed access for individual users, whereas Thunderbolt NAS excels in multi-user environments and offers greater expandability. Each system has its strengths, and the choice ultimately depends on your specific needs. If you prioritize ease of use, single-user access, and maximum performance with the right storage media, Thunderbolt DAS could be more suitable. On the other hand, if your focus is on versatility, expandability, and multi-user access in a cross-platform setting, a Thunderbolt NAS like the QNAP TVS-h874 would be an excellent investment. Remember, Thunderbolt is just the conduit; the type of system you choose should align with your specific workflow requirements and future scalability needs.

Recommended Thunderbolt NAS Solutions:

QNAP TVS-h874T – $2499+

QNAP TBS-h574TX – $1499+

YOUTUBE ReviewNASCompares Review YOUTUBE ReviewNASCompares Review

 

📧 SUBSCRIBE TO OUR NEWSLETTER 🔔
[contact-form-7]
🔒 Join Inner Circle

Get an alert every time something gets added to this specific article!


Want to follow specific category? 📧 Subscribe

This description contains links to Amazon. These links will take you to some of the products mentioned in today's content. As an Amazon Associate, I earn from qualifying purchases. Visit the NASCompares Deal Finder to find the best place to buy this device in your region, based on Service, Support and Reputation - Just Search for your NAS Drive in the Box Below

Need Advice on Data Storage from an Expert?

Finally, for free advice about your setup, just leave a message in the comments below here at NASCompares.com and we will get back to you. Need Help? Where possible (and where appropriate) please provide as much information about your requirements, as then I can arrange the best answer and solution to your needs. Do not worry about your e-mail address being required, it will NOT be used in a mailing list and will NOT be used in any way other than to respond to your enquiry. [contact-form-7] TRY CHAT Terms and Conditions
If you like this service, please consider supporting us. We use affiliate links on the blog allowing NAScompares information and advice service to be free of charge to you.Anything you purchase on the day you click on our links will generate a small commission which isused to run the website. Here is a link for Amazon and B&H.You can also get me a ☕ Ko-fi or old school Paypal. Thanks!To find out more about how to support this advice service check HEREIf you need to fix or configure a NAS, check Fiver Have you thought about helping others with your knowledge? Find Instructions Here  
 
Or support us by using our affiliate links on Amazon UK and Amazon US
    
 
Alternatively, why not ask me on the ASK NASCompares forum, by clicking the button below. This is a community hub that serves as a place that I can answer your question, chew the fat, share new release information and even get corrections posted. I will always get around to answering ALL queries, but as a one-man operation, I cannot promise speed! So by sharing your query in the ASK NASCompares section below, you can get a better range of solutions and suggestions, alongside my own.

☕ WE LOVE COFFEE ☕

 

Une baie informatique à la maison

Au fil des années, mon installation a évolué, notamment avec l’arrivée du NAS, une tendance partagée par de nombreux lecteurs de Cachem. La plupart d’entre nous disposent au minimum d’une box opérateur, ce qui ne pose généralement pas de problème pour l’intégrer dans un meuble ou sur une étagère. Cependant, depuis que j’ai découvert les NAS, j’ai dû ajouter un onduleur pour le protéger. Par ailleurs, pour répondre à d’autres besoins, j’ai également intégré un switch POE à mon dispositif. Tous ces équipements se retrouvent actuellement sur une étagère, exposés à la poussière… L’historique Avant de rentrer dans le vif […]
Lire la suite : Une baie informatique à la maison
❌