This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### collectd.conf config file (Collectd 5.5) | |
FQDNLookup true | |
Interval 300 | |
Timeout 2 | |
ReadThreads 5 | |
LoadPlugin syslog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Prerequisites : | |
# smartmontools - Sudo command & espacially (sudo /usr/sbin/smartctl). | |
# MegaCli (MegaRAID) if needed. | |
# HP ACU Cli (HP RAID) if needed. | |
## Inside your file /etc/sudoers: | |
# backup ALL= NOPASSWD: sudo /sbin/MegaCli -pdlist -a0 | |
# backup ALL= NOPASSWD: sudo /usr/sbin/smartctl |