Re: [Nagios-users] Parent directive in non blocking network issues
John Andrunas wrote: In a configuration like the following... nagios---firewall1internet---firewall2---host1 |---host2 |---host3 if there is an issue at firewall1 that causes packet loss I get alerted for everything after firewall1, if firewall1 goes down completely I only get an alert on firewall1 since nagios sees it as a blocking outage. I have all the parents setup, so is there a way to make the packet loss scenario behave more like a outage, so I don't get 36 notifications for everything on the other side? You can set up service dependencies like this define servicedependency{ host_name firewall service_description PING - as every check depends on the fact that you can reach (ping) the host inherits_parent 1 dependent_service_description ( all services on the firewall ) need to add each one. execution_failure_criteria u,c,p,w notification_failure_criteria u,c,p,w } This will supress all checks ( and alerts) for all services if the ping ( or equivalent check) fails. for more information on how it works , http://nagios.sourceforge.net/docs/3_0/dependencies.html -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios did not send notification to some contacts
On Aug 3, 2010, at 11:21 AM, Frater, Greg J wrote: There was a routing issue on our WAN that caused this event, the SMTP server we use is across the WAN. Could the routing issue have prevented some of the SMTP notifications from being sent, wouldn't they just queue up and go once the problem was resolved? They would be queued by the SMTP server running on your nagios machine. Redelivery attempts would occur based on the configuration there. I have seen messages that did not arrive at the recipients phone but I've never seen Nagios not generate notifications for contacts that are configured for that host or service. Has anyone else seen this, any suggestions on a cause or how to troubleshoot? - Check nagios.log for a HOST NOTIFICATION event for that group. Make sure there were no errors logged. - Check your local SMTP server logs to see if the messages were received there and no errors were reported. - Make sure that nagios has been restarted since adding this group and contacts. - Make sure you don't have multiple nagios daemons running at the same time. -- Marc -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Service notification
This is right. You should use your check-host-up service check as a host check instead. That will get the behavior you're looking for. -Gius -Original Message- From: Herb J. [mailto:nag...@herb-j.com] Sent: Friday, July 30, 2010 9:54 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Service notification Nagios won't do that. If I recall correctly, when the host check fails, it refuses to generate any further service notifications for that host until the host check succeeds again. It also won't generate service recovery notifications when those services actually come back online either. Our solution for that was to add a second host check (i.e., create a new define command block) for devices that don't respond to PING. For those devices, we configure them to use the new host check (i.e., use the command you just created for that host's check command directive) that checks HTTP status. I work at a web hosting company, so 100% of our servers listen on either PING, HTTP, or FTP, so we have those three choices for the host check. You will need to create another host check (or two or three if necessary) that can be used for the devices that don't respond to PING and configure those devices to use one of the alternate host checks. On 07/30/2010 10:54 AM, Aex wrote: Ok, I mean that if server down - service notification cannot be send. How can I reconfigure Nagios to send service notification from specific service even if server down? - - The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- --- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Plugin termination signal?
I'm wondering if there is any termination signal sent to a plugin that happens to be executing at the time Nagios is restarted or shut down? So plugins need a signal handler for this case if they have cleanup that needs doing? Do plugins using the embedded Perl also get a signal? Is the signal different for restart vs. shutdown? I haven't found the answer to this in the development guidelines. Thanks, Paul Dubuc -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null