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$'
}
NRDP Bash Client: Performance Data
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact: