[Nagios-users] host "down" (when it's not really)

2007-07-06 Thread Rogelio Bastardo
I am checking various mail servers for only two things: (1) smtp works (check_smtp) (2) are they black listed (check_spamcop) The hosts appear "down" due to Nagios trying to ping them. Inbound IMCP is obviously not allowed on these types of hosts. How can I turn off the ping option and only che

Re: [Nagios-users] host "down" (when it's not really)

2007-07-06 Thread Patrick Morris
Hi Rogelio! On Fri, 06 Jul 2007, Rogelio Bastardo wrote: > I am checking various mail servers for only two things: > (1) smtp works (check_smtp) > (2) are they black listed (check_spamcop) > > The hosts appear "down" due to Nagios trying to ping them. Inbound IMCP is > obviously not allowed on

Re: [Nagios-users] host "down" (when it's not really)

2007-07-06 Thread Rogelio Bastardo
Pretty simple stuff, really -- if you want to keep a host check, you need to use one that *can* tell if the host is up or down. In your case, maybe check_smtp would work. The problem is that even though the services check ok (green), I still keep getting a down (red) in the "hostgroup overvie

Re: [Nagios-users] host "down" (when it's not really)

2007-07-06 Thread Patrick Morris
On Fri, 06 Jul 2007, Rogelio Bastardo wrote: > > > >Pretty simple stuff, really -- if you want to keep a host check, you > >need to use one that *can* tell if the host is up or down. In your > >case, maybe check_smtp would work. > > > The problem is that even though the services check ok (green

Re: [Nagios-users] host "down" (when it's not really)

2007-07-06 Thread Rogelio Bastardo
Again, that's because your service checks are OK, but you have a host check that doesn't work for those systems. Fix your host check and it'll turn green. I think I see what you mean. check_command check-host-alive ; Default command to check Linux hosts Change that value, r

Re: [Nagios-users] host "down" (when it's not really)

2007-07-06 Thread Morris, Patrick
From: Rogelio Bastardo [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 6:28 PM To: Morris, Patrick Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] host "down" (when it's not really) >> Again, that's because your service checks are OK, but you have a host

Re: [Nagios-users] host "down" (when it's not really)

2007-07-09 Thread Rogelio Bastardo
Yeah. Assuming you're using the default check-host-alive command, which pings hosts, that obviously won't work if you can't ever ping the host. You'll need to define a new check command that *can* determine if the host is up or down. Perfect. Since they're Exchange servers, I changed a vari