Re: [Nagios-users] Query regarding Nagios notification

2009-10-14 Thread Marc-André Doll
Le mercredi 14 octobre 2009 à 12:17 +0530, Satish Kumar P a écrit : > On Wed, Oct 14, 2009 at 11:22 AM, Justin Pryzby > wrote: > > On Wed, Oct 14, 2009 at 11:13:08AM +0530, Satish Kumar P wrote: > >> Hi, > >> > >> We have a Nagios server that monitors around 300 production servers > >> and around

Re: [Nagios-users] Query regarding Nagios notification

2009-10-14 Thread Satish Kumar P
On Wed, Oct 14, 2009 at 12:58 PM, Marc-André Doll wrote: > Le mercredi 14 octobre 2009 à 12:17 +0530, Satish Kumar P a écrit : >> On Wed, Oct 14, 2009 at 11:22 AM, Justin Pryzby >> wrote: >> > On Wed, Oct 14, 2009 at 11:13:08AM +0530, Satish Kumar P wrote: >> >> Hi, >> >> >> >> We have a Nagios

[Nagios-users] host shows down but it is not

2009-10-14 Thread Joe Konecny
I configured a host with check_mk and it is monitoring 13 services. All of the 13 services are OK. The host shows as down however and I can find no reason for it. I spoke with Mathias Kettner author of check_mk and he claims that it is not check_mk that is the problem. I configured a host in Nag

Re: [Nagios-users] Query regarding Nagios notification

2009-10-14 Thread Marc Powell
On Oct 14, 2009, at 12:43 AM, Satish Kumar P wrote: > Hi, > > We have a Nagios server that monitors around 300 production servers > and around 2000+ services on all these servers. Recently, when the > STATE of one of the services on a particular host turned HARD, but > Nagios didn't NOTIFY. So I

Re: [Nagios-users] nagios time event error

2009-10-14 Thread Andreas Ericsson
On 10/06/2009 06:14 AM, shadih rahman wrote: > All, > I am seeing the following error. I saw some issues mentioned about this > on version 2. Can anyone advise on this. Thanks > > [Sun Oct 4 02:00:57 2009];Warning: A system time change of 0d 1h 19m 53s > (forwards in time) has been detected

Re: [Nagios-users] Query regarding Nagios notification

2009-10-14 Thread Satish Kumar P
On Wed, Oct 14, 2009 at 5:56 PM, Marc Powell wrote: > > On Oct 14, 2009, at 12:43 AM, Satish Kumar P wrote: > >> Hi, >> >> We have a Nagios server that monitors around 300 production servers >> and around 2000+ services on all these servers. Recently, when the >> STATE of one of the services on a

Re: [Nagios-users] Query regarding Nagios notification

2009-10-14 Thread Marc Powell
On Oct 14, 2009, at 8:18 AM, Satish Kumar P wrote: > Notifications are not disabled at Nagios level (nagios.cfg). Nagios is > working properly for all other hosts and services, except this strange > issue I mentioned. > I verified the service status from the GUI, notifications are NOT > disabled

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Martin Melin
The host shows as down because the check_command for the host is CRITICAL. Given the performance info you pasted, this makes sense, since the check_command looks like a normal check_ping and you seem to have 80% packet loss from your Nagios host to 70.62.24.79 If you'd like the host to show as up,

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Joe Konecny
On 10/14/2009 10:54 AM, Martin Melin wrote: > The host shows as down because the check_command for the host is > CRITICAL. Given the performance info you pasted, this makes sense, since > the check_command looks like a normal check_ping and you seem to have > 80% packet loss from your Nagios host t

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Marc Powell
On Oct 14, 2009, at 10:30 AM, Joe Konecny wrote: > The question is why there is 80& packet loss showing in check_mk > and nagios ping there is 0% packet loss. Always. Yes, certainly. This is the key. > Here is a tcpdump of plain Nagios pinging... What does the host definition for this look l

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Joe Konecny
On 10/14/2009 11:51 AM, Marc Powell wrote: > > On Oct 14, 2009, at 10:30 AM, Joe Konecny wrote: > >> The question is why there is 80& packet loss showing in check_mk >> and nagios ping there is 0% packet loss. Always. > > > Yes, certainly. This is the key. > >> Here is a tcpdump of plain Nagios p

[Nagios-users] [Fwd: Nagios 2.9 problem with distributed architecture]

2009-10-14 Thread Stéphane COAT
Hi All, I have a nagios problem since few weeks ago now : *Symtom :* - After running some hours, nagios freezed and not record the new datas on the main nagios - When we have this problem, the nsca log continue to receive the datas *Version used :* - Nagios 2.9 (on the "master")

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Joe Konecny
On 10/14/2009 1:28 PM, Joe Konecny wrote: >> What are the corresponding command{} definitions? How are they >> different? >> > > It looks like Nagios is using... > > check_ping!200.0,20%!600.0,60% > > and check_mk is using > > /usr/local/nagios/libexec/check_icmp $HOSTADDRESS$ > > > ...anyone know

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Marc Powell
On Oct 14, 2009, at 12:28 PM, Joe Konecny wrote: > It looks like Nagios is using... > > check_ping!200.0,20%!600.0,60% > > and check_mk is using > > /usr/local/nagios/libexec/check_icmp $HOSTADDRESS$ > > > ...anyone know what the difference is here? check_ping is a wrapper for /bin/ping. It tell

Re: [Nagios-users] host shows down but it is not [check_icmp]

2009-10-14 Thread Marc Powell
On Oct 14, 2009, at 12:44 PM, Joe Konecny wrote: > I did some testing on the command line and check_icmp fails > every time if -n > 1. So this... > > check_icmp -n 1 70.62.24.79 > > ...works. > > To me it looks like a bug in check_icmp. Not impossible but that would be surprising. check_icmp is

Re: [Nagios-users] host shows down but it is not [check_icmp]

2009-10-14 Thread Joe Konecny
On 10/14/2009 2:24 PM, Marc Powell wrote: > > On Oct 14, 2009, at 12:44 PM, Joe Konecny wrote: > >> I did some testing on the command line and check_icmp fails >> every time if -n> 1. So this... >> >> check_icmp -n 1 70.62.24.79 >> >> ...works. >> >> To me it looks like a bug in check_icmp. > > N

Re: [Nagios-users] host shows down but it is not [check_icmp]

2009-10-14 Thread Marc Powell
On Oct 14, 2009, at 1:45 PM, Joe Konecny wrote: > The output is below. Also I just installed Nagios on a different > machine and get the same results. > > r...@3px:~# /usr/local/nagios/libexec/check_icmp -v -v 70.62.24.79 > ttl set to 64 > Setting alarm timeout to 10 seconds > packets: 5, targe

Re: [Nagios-users] host shows down but it is not [check_icmp]

2009-10-14 Thread Joe Konecny
On 10/14/2009 3:36 PM, Marc Powell wrote: > After taking a peek at the code, I do believe that it really sent out > 5 ICMP_ECHO requests and only received the first one back. You should > be able to verify this with wireshark. Yes that is what wireshark seemed to prove on one of my earlier posts.

Re: [Nagios-users] host shows down but it is not [check_icmp]

2009-10-14 Thread Kevin Keane
Joe Konecny wrote: > On 10/14/2009 3:36 PM, Marc Powell wrote: > > >> After taking a peek at the code, I do believe that it really sent out >> 5 ICMP_ECHO requests and only received the first one back. You should >> be able to verify this with wireshark. >> > > Yes that is what wireshark se

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/10/09 11:30 AM, Joe Konecny wrote: > > Here is a tcpdump of plain Nagios pinging... > > 11:23:50.328519 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 18478, > seq 1, length 64 > 11:23:50.329365 IP adsl-79.dacor.net > 10.0.0.4: ICMP ec

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Joe Konecny
Thomas Guyot-Sionnest wrote: >> Here is a tcpdump of check_mk pinging... >> >> 11:29:24.042801 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id >> 58673, seq 0, length 64 >> 11:29:24.043603 IP adsl-79.dacor.net > 10.0.0.4: ICMP echo reply, id 58673, >> seq 0, length 64 >> 11:29:24.043768 IP

[Nagios-users] how do i?

2009-10-14 Thread Terry.Rankine
Hi I have a host with 7 services, when i reboot the host, the services fail one by one and i get emails for them all. How do i tell ngaios to do something like: 1. Service check depends on host availability. If host is down, don't check the service. 2. And when a service fails - d

Re: [Nagios-users] how do i?

2009-10-14 Thread Lyle Giese
http://nagios.sourceforge.net/docs/1_0/dependencies.html It's called a dependency in Nagios. Lyle terry.rank...@csiro.au wrote: > > Hi > > > > I have a host with 7 services, when i reboot the host, the services > fail one by one and i get emails for them all. > > How do i tell ngaios to do som

Re: [Nagios-users] how do i?

2009-10-14 Thread Marc Powell
(re-ordering for context) > > terry.rank...@csiro.au wrote: >> Hi >> >> I have a host with 7 services, when i reboot the host, the services >> fail one by one and i get emails for them all. >> How do i tell ngaios to do something like: >> >> 1. Service check depends on host availability. I