标签:exchange arguments 特殊 nts xxxxx health assign tar cto
通过check_ilo2_health.pl插件监控HP服务器健康状态:下载地址:
使用示例:
注:
1、密码带特殊符号需要用单引号
2、ilo3以上都要加--ilo3
3、开防火墙只需开443端口即可
object CheckCommand "HPilo" {
import "plugin-check-command"
command = [ PluginDir + "/check_ilo2_health.pl --ilo3" ]
arguments = {
"-H" = "$address$"
"-u" = "$user$"
"-p" = "$pass$"
"-t" = "$t$"
}
}
:wq
apply Service "HPilo" {
import "generic-service"
check_command = "HPilo"
vars.user="aa"
vars.pass="xxxxxx"
vars.t="30"
assign where host.address == "10.0.0.3"
}
:wq
通过check_ilo2_health.pl插件监控HP服务器健康状态
标签:exchange arguments 特殊 nts xxxxx health assign tar cto
原文地址:http://blog.51cto.com/yangzhiming/2342722