0,0 → 1,29 |
// Put this file in /etc/icinga2/conf.d/... |
|
// VNag - Nagios Framework for PHP |
// Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com> |
// Licensed under the terms of the Apache 2.0 license |
// |
// Revision 2018-07-15 |
|
object CheckCommand "vnag_smart" { |
command = [ "/daten/vnag/plugins/smart/check_smart" ] |
|
arguments = { |
"-v" = { |
set_if = "$vnag_smart_verbose$" |
description = "Additionally list drives which are OK, not just the drives which have failed." |
} |
} |
} |
|
// Example usage: |
// |
// apply Service "example_smart" { |
// import "generic-service" |
// check_command = "vnag_smart" |
// vars = { |
// vnag_smart_verbose = false |
// } |
// assign where host.name == NodeName |
// } |