NRDP Bash Client: Performance Data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jhobbins
Posts: 33
Joined: Fri Oct 05, 2012 8:24 pm

NRDP Bash Client: Performance Data

Post by jhobbins »

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

Re: NRDP Bash Client: Performance Data

Post by scottwilkerson »

Sure.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked