I have Nagios/NSCA setup for a perl custom script that runs on the nagioshost.
I have it configured like:
echo "myhost;myservice;1;Message"|/usr/local/nagios/libexec/send_nsca -to 10 -d ';' -c /etc/send_nsca.cfg -H localhost
It works flawlessly..
So my query, is there a way in Nagios or NSCA to count the passive checks?
i.e. the no of times Nagios receives a alert for myservice
on myhost
Note: the custom script never sends 'OK' for a service