NRDP Bash Client: Performance Data
Posted: Thu Nov 22, 2012 8:45 pm
G'day Guys,
Can I use the following with the NRDP Bash Client instead of NRDP PHP client? Making necessary command_line mods of course.
define command{
command_name submit_check_result
command_line /usr/bin/php /usr/local/nrdp/clients/send_nrdp.php --url=https://central.link/nrdp --token=randomcode --host=$HOSTNAME$ --service='$SERVICEDESC$' --state=$SERVICESTATEID$ --output='$SERVICEOUTPUT$ | $SERVICEPERFDATA$ [$SERVICECHECKCOMMAND$]'
}
define command{
command_name submit_host_result
command_line /usr/bin/php /usr/local/nrdp/clients/send_nrdp.php --url=https://central.link/nrdp --token=randomcode --host=$HOSTNAME$ --state=$HOSTSTATEID$ --output='$HOSTOUTPUT$ | $HOSTPERFDATA$'
}
Can I use the following with the NRDP Bash Client instead of NRDP PHP client? Making necessary command_line mods of course.
define command{
command_name submit_check_result
command_line /usr/bin/php /usr/local/nrdp/clients/send_nrdp.php --url=https://central.link/nrdp --token=randomcode --host=$HOSTNAME$ --service='$SERVICEDESC$' --state=$SERVICESTATEID$ --output='$SERVICEOUTPUT$ | $SERVICEPERFDATA$ [$SERVICECHECKCOMMAND$]'
}
define command{
command_name submit_host_result
command_line /usr/bin/php /usr/local/nrdp/clients/send_nrdp.php --url=https://central.link/nrdp --token=randomcode --host=$HOSTNAME$ --state=$HOSTSTATEID$ --output='$HOSTOUTPUT$ | $HOSTPERFDATA$'
}