Environment is: CentOS 7.1.1503, 64-bit, manual install
My problem is that the variable substitutions don't seem to be taking place. The actual arguments being passed to the check script are:
- ARG1 is '-H'
ARG2 is '172.31.3.75'
ARG3 is '-U'
ARG4 is '$'
ARG5 is '-P'
ARG6 is '$'
Code: Select all
define hostgroup {
hostgroup_name Customer
alias Customer Full Name
hostgroup_members Site1,Site2,Site3,Site4
}
define hostgroup {
hostgroup_name Site1
alias Site1
}
[...]Code: Select all
define host {
name Service Passwords - Customer
alias Service Passwords for Customer
hostgroups Customer
_P2000_PASSWORD password
_P2000_USER username
register 0
}Code: Select all
define host {
host_name Site1 P2000 SAN Controller A
use Host Alive
alias Site1 P2000 SAN Controller A
address 192.168.1.10
parents Site1 switchstack1
hostgroups Site1
register 1
}Code: Select all
define service {
host_name Site1 P2000 SAN Controller A,Site2 P2000 SAN Controller A
service_description Customer MSA P2000 SAN Status
use Active Checks-1m-24x7
check_command check_p2000_api!$_HOSTP2000_USER$!$_HOSTP2000_PASSWORD$!!!!!!
register 1
}