Re: [Nagios-users] R: send passive result without obsess over service

2012-04-19 Thread andrew.ford
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

[Nagios-users] nagiostats failure

2012-04-11 Thread andrew.ford
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

Re: [Nagios-users] How to reschedule multiple/all services at once

2012-01-09 Thread andrew.ford
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

[Nagios-users] scheduled downtime allows host up notification

2011-08-24 Thread andrew.ford
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