Issue with blank performance data

Hello -

I use Nagios at my work to monitor ~ 80 devices .

For the Linux servers, various checks are configured to process performance data and the command used is :

/usr/local/nagios/bin/pushstats “$HOSTNAME$” $LASTSERVICECHECK$ “$SERVICECHECKCOMMAND$” “$SERVICEPERFDATA$”

and the return from one server is:

/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /var/log

DISK OK - free space: /var 116458 MB (99% inode=99%);| /var=800MB;98826;111179;0;123533

with the $SERVICEPERFDATA$ being “/var=800MB;98826;111179;0;123533”

and this works 100% - however when Nagios invokes the performance script after processing check_icmp, the $SERVICEPERFDATA$ variable is empty?

/usr/local/nagios/libexec/check_icmp -H 10.254.28.160 -w 5,1% -c 10,2%

OK - 10.254.28.160: rta 0.827ms, lost 0%|rta=0.827ms;5.000;10.000;0; pl=0%;2;2;;

I’m not sure why, but for some reason Nagios doesn’t pick up the “rta=0.827ms;5.000;10.000;0; pl=0%;2;2;;” and send that to the external command? I get the “$HOSTNAME$”, $LASTSERVICECHECK$ and “$SERVICECHECKCOMMAND$” but $4 is empty :frowning: