Windows Servers Loose Ping Packets

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
pteegarden
Posts: 27
Joined: Thu Dec 06, 2012 6:13 pm

Windows Servers Loose Ping Packets

Post by pteegarden »

I have pointed out to our Microsoft Windows Administrators that Nagios does not like the way that Windows machines respond to pings: most of the time response is fairly rapid and complete (no loss of packets). On regular intervals, however, any windows server will fail the ping checks and return the following message:

SERVICE ALERT: <hostname>;Ping;WARNING;SOFT;1;WARNING - xxx.xxx.xx.xx: rta 2348.401ms, lost 80%

True, this only lasts a short time, and is usually good on the next check.

But...

This also shows up "yellow" on both the Operations Center screen and the Service Detail screen.

Is there a way to adjust the ping service check for the windows machines to tollerate this abhorent behaviour?
Last edited by pteegarden on Thu Aug 29, 2013 1:48 pm, edited 1 time in total.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Windows Servers Loose Ping Packets

Post by abrist »

pteegarden wrote: Is there a way to adjust the ping service check for the windows machines to tollerate this abhorent behaviour?
(emphasis mine) :P

Yeah, you can edit the thresholds to something like:

Code: Select all

-w 3000.0,80% -c 5000.0,100%
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
pteegarden
Posts: 27
Joined: Thu Dec 06, 2012 6:13 pm

Re: Windows Servers Loose Ping Packets

Post by pteegarden »

And where/how do I do this?

If I look at the Service Status Detail"/"ping"/"configure"/"reconfigure this service"/"monitoring tab", the "Monitor the service with this command..." box is empty - no command - no parameters to modify.

If I look at the service using CCM Service Management "Common Settings" tab, the Check command box is empty - no command - no parameters to modify.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Windows Servers Loose Ping Packets

Post by abrist »

You are most likely using a template. Check the template, and change the values there if you wish. Do understand that changing the values on the template will cause the changes to propagate to *all* hosts running this check.

Alternatively, you could remove the template, create a new one, and apply that to the problematic hosts (best option), create a new check and apply them to the hosts in question (not a bad option either).
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
pteegarden
Posts: 27
Joined: Thu Dec 06, 2012 6:13 pm

Re: Windows Servers Loose Ping Packets

Post by pteegarden »

I think a template was supplied for me when I added the windows boxes using the configuration wizard.
Here is a representitive sample from the /usr/local/nagios/etc/services subdirectory:

Code: Select all

define service {
        host_name                       bay
        service_description             Ping
        use                             xiwizard_windowsserver_ping_service
        max_check_attempts              5
        check_interval                  5
        retry_interval                  1
        check_period                    xi_timeperiod_24x7
        notification_interval           60
        notification_period             xi_timeperiod_24x7
        notifications_enabled           1
        contacts                        tellpaul
        contact_groups                  Windows
        _xiwizard                       windowsserver
        register                        1
        }
You might understand why I don't feel comfortable messing/replacing with something labeled "xiwizard_windowsserver_ping_service"
pteegarden
Posts: 27
Joined: Thu Dec 06, 2012 6:13 pm

Re: Windows Servers Loose Ping Packets

Post by pteegarden »

Using the CCM, I have modified the xiwizard_windowsserver_ping_service template.
is the change picked up immeadiately or do I have to restart the nagios service? or some other service?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Windows Servers Loose Ping Packets

Post by sreinhardt »

You do have to restart the core engine after altering CCM values. However if you have applied configuration after making and saving the changes it should be restarted already.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
pteegarden
Posts: 27
Joined: Thu Dec 06, 2012 6:13 pm

Re: Windows Servers Loose Ping Packets

Post by pteegarden »

Thanks.
Locked