Build precise queries to find exactly what you need
Press ESC to close
@xrated
Favorites3
Views0
Projects1
The script itself works, there was only an exception on FreeBSD where no which cmd is available in bash. I completely rewrote the script to add warning/critical with free space in G. Nagios Exit Parameters were not defined, added also some additional checks for arguments. When warn/crit was not specified it will just look if the pool is ONLINE. http://pastebin.com/j6AvtKPk
Reviewed 12 years ago
This will just use the general overall-health attribute in Smart but a disk with broken sectors is still reported as PASSED, so this is not a reliable method of early detecting as with Smart Attributes 5,196,197,198
had problems with your script, so i modified it. Especially the register part was not working for me under 1.6.2 ($ character after {uri}). Not sure why the user was cut off at 12 chars, removed that, because didnt work. I included also checking delay because the trunk should not go under 100ms if you want to have a reliable jitter free phone connection. http://pastebin.com/6XxU5k0w
Reviewed 13 years ago
As disks with defective sectors are still reported as a healthy disk by Smart, i added checking the Smart IDs 5,196,197,198. An critical error will be reported if any > 0. I have not much clue about python but the patch is working: http://pastebin.com/yB0w0Px9