Would it work to build the send_nsca call directly into your plugin?
Alternately, perhaps a wrapper to generically add send_nsca to various commands?
Then your command definition could go from
$USER1$/myplug args moreargs
to
$USER1$/my_send_nsca_wrapper $USER1$/myplug args moreargs
Andy
I'm running two instances of nagios (for distributed monitoring testing) on one
server and nagiostats works well for the main instance installed under
/usr/local/nagios. For the polling instance, located under
/usr/local/nagios-collector, nagiostats fails to deliver.
Is there another way to
I usually combine the classic external command scripts with a smidge of perl to
grab the members of the hostgroup that I want to trigger something for.
If you give the following script a hostgroup name, it will grab the members
from objects.cache:
#!/usr/local/nagios/bin/perl
use warnings;
use
I have a distributed system (Nagios 3.2.1) where most of the service and host
checks are passively submitted to the central servers that send the
notifications.
I was surprised to find that when the checks are passive, host up and service
recovery notifications would get sent even when the host