4,7 → 4,7 |
// Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com> |
// Licensed under the terms of the Apache 2.0 license |
// |
// Revision 2018-07-15 |
// Revision 2022-05-12 |
|
object CheckCommand "vnag_smart" { |
// PLEASE ADJUST THIS PATH |
15,8 → 15,12 |
set_if = "$vnag_smart_verbose$" |
description = "Additionally list drives which are OK, not just the drives which have failed." |
} |
"-T" = { |
set_if = "$vnag_smart_type$" |
description = "Explicit drive type e.g. for RAID devices 'sat+cciss,0' for drive 0." |
} |
} |
} |
|
// Example usage: |
// |
28,3 → 32,13 |
// } |
// assign where host.name == NodeName |
// } |
// |
// apply Service "example_smart_raid" { |
// import "generic-service" |
// check_command = "vnag_smart" |
// vars = { |
// vnag_smart_verbose = false |
// vnag_smart_type = "sat+cciss,0" |
// } |
// assign where host.name == NodeName |
// } |