4,11 → 4,11 |
// Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com> |
// Licensed under the terms of the Apache 2.0 license |
// |
// Revision 2021-08-06 |
// Revision 2021-08-08 |
|
// ATTENTION! |
// To make this work, you need to add following to /etc/sudoers (adjust the paths) |
// nagios ALL=(root) NOPASSWD:/daten/vnag/plugins/hp_smartarray/check_hp_smartarray" |
// nagios ALL=(root) NOPASSWD:/daten/vnag/plugins/hp_smartarray/check_hp_smartarray |
// You MUST make sure that the script check_hp_smartarray and all other VNag scripts are |
// owned by root, otherwise the owner could change the code, and it would be executed with |
// root privileges! |
35,6 → 35,7 |
// apply Service "example_hp_smartarray_slot3" { |
// import "generic-service" |
// check_command = "vnag_hp_smartarray" |
// check_interval = 15m |
// vars = { |
// vnag_hp_smartarray_slot = 3 |
// } |