disabled ping and check_smtp: nagios won't not ping

Chris Paul chris.paul at sentinare.com
Thu Aug 3 05:55:23 CEST 2006


On Wed, 2 Aug 2006 23:41:09 -0400
"Morris, Patrick" <patrick.morris at hp.com> wrote:

> > On Wed, 2 Aug 2006 22:40:56 -0400
> > "Morris, Patrick" <patrick.morris at hp.com> wrote:
> > 
> > > Then you have a ping check defined somewhere, or you need to 
> > > reload/restart Nagios.
> > > 
> > > If restarting Nagios doesn't solve it (stop it first, and make sure 
> > > it's really stopped by checking a process list before restarting), 
> > > then examine your configs more closely to see what has a ping check 
> > > attached to it.
> > 
> > That FreeBSD /usr/local/etc/rc.d/nagios restart makes sure it 
> > shuts down, but I did a "stop" and "ps" to make sure it was 
> > stopped and then a "start" just to make sure.
> > 
> > From the logs, what I see is this:
> > 
> > [1154570103] SERVICE ALERT: 
> > relay1;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 
> > 10 seconds   
> > 
> > This service is NOT configured to have a ping check, and this 
> > is the problem.
> > 
> > I did see some post somewhere else where someone had the same 
> > problem, but I can't find that now. I think this may be a bug 
> > in Nagios.
> 
> It's most definitely not a Nagios bug - Nagios will never just make up
> services that aren't defined in your configs.  It can't.
> 
> Would it be possible to show any parts of your config with the word
> "PING" in them? I guarantee you one of them is either directly or
> indirectly assigned to your relay1 host.

You are right and apologies to all Nagios developers!

Actually to protect customers' privacy, I have to obfuscate what I sent before (changing relay.customer.com to "relay" in my excerpts I sent) and I can't send each part that shows ping, but your clue helped me find the section that is causing my problem:

# all hosts ping   
define service{    
        use                             generic-service         ; Name of service template to use
        host_name                       *
        service_description             PING
        is_volatile                     0   
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           3
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           30
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_ping!150.0,20%!500.0,60%
        }

Many thanks!

CP

-- 
Chris Paul                                       

Sentinare Messaging Solutions
106 Maywood Drive, Boulder Creek, CA 95006
web: http://www.sentinare.com
phone: +1 (877) 727-9786

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
Sentinare Messaging Solutions, Inc. is a California Corporation.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list