Page 1 of 1

Re: [Nagios-devel] Incorrect ping service warnings

Posted: Sat Jun 02, 2007 2:19 pm
by Guest
--0-1564033026-1180822767=:19001
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Mathieu thanks for your mail i am sending all the details as follows.I don't see anything special in nagio.log other than notifications.Now i really need help my complete nagios sending wrong alerts for ping service and host alerts>how do i get back my normal nagios operation or how to start first time check all the services and hosts.

Nagios.log content


[1180822228] HOST ALERT: if_core;DOWN;SOFT;1;PING CRITICAL - Packet loss = 0%, RTA = 196.59 ms
[1180822230] HOST ALERT: if_DOWN;SOFT;2;PING CRITICAL - Packet loss = 0%, RTA = 786.40 ms
[1180822235] HOST ALERT: if_core;DOWN;SOFT;3;PING CRITICAL - Packet loss = 0%, RTA = 880.35 ms
[1180822238] HOST ALERT: if_core;UP;SOFT;4;PING OK - Packet loss = 0%, RTA = 7.41 ms
[1180822238] SERVICE ALERT: if_core;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 156.42 ms
[1180822245] SERVICE ALERT: if_lo1;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 129.96 ms
[1180822245] SERVICE ALERT: Cat;PING;OK;HARD;4;PING OK - Packet loss = 0%, RTA = 89.97 ms
[1180822245] SERVICE ALERT: if_et0;PING;OK;HARD;4;PING OK - Packet loss = 0%, RTA = 78.87 ms
[1180822246] SERVICE ALERT: s01;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 57.82 ms
All the hosts started flopping service alerts and host alerts

hostgroup

define hostgroup{
hostgroup_name test
alias test
members ImnV
}
Host
define host
use generic-host ; Name of host template to use
host_name ImnV
alias ImnV
address 192.168.3.2
check_command check-host-alive
max_check_attempts 10
notification_interval 120
notification_period 24x7
notification_options d,r
contact_groups admins
}
Service
define service{
use generic-service ; Name of service template to use
host_name ImnV
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command check_ping!100.0,20%!500.0,60%
}

Thanks for your help

Mathieu Grzybek wrote:
Le samedi 2 juin 2007, rajesh a écrit :
> Hi Guys,
>
> I am running nagios2.0 in openbsd 3.7 today i want to add two new hosts
> to my existing nagios.cfg file.I have added new host definition,new host
> group and added two hosts to this group,added new service definition for
> two hosts and i have restarted my nagios service from that time onwords all
> ping services are showing incorrect warnings,critical notifications
> actually hosts are fine.Could some one help me how to fix this error so
> that my nagios will work normally.
>
> I am really looking for expert help
>
> Thanks for your help
>
>
> ---------------------------------
> Download prohibited? No problem! CHAT from any browser, without download.

Hi Rajesh,

Could you show us nagios.log's content and how you defined your hosts ?

Mathieu


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nagios-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/lis ... gios-devel



---------------------------------
Download prohibited? No problem! CHAT from any browser, without download.
--0-1564033026-1180822767=:19001
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Mathieu thanks for your mail i am sending all the details as follows.I don't see anything special in nagio.log

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]