Page 1 of 1

Nagios notifies host is UP when a service is critical

Posted: Mon Jul 11, 2011 2:35 pm
by cwireless
Hi,
We have this configuration: Nagios XI 2011R1.5
Red Hat Enterprise Linux Server release 5.3; 32 bit; VMWare Image of NagiosXI; No special configurations.Using Mozilla firefox.

We are trying to figure out this:
We have a problem with a service, and we get the Notification of that PROBLEM. So far, so good.
But also we are receiving another HOST notification, indicating ** PROBLEM Host Alert: Servername is UP **

What could be the reason for this and how can I avoid it?

Below you will find the definition for host and one the service.


define service {
host_name cwm-sfr-actcluster1
service_description PayTV Recepcion XML desde Liberate
hostgroup_name Tertio
display_name PayTV Recepcion XML desde Liberate
servicegroups Tertio PAYTV
check_command check_sql_query_recepcion_xmls!RMISA!1!12!!!!!
initial_state o
max_check_attempts 2
check_interval 10
retry_interval 2
check_period Liberate
flap_detection_enabled 0
notification_interval 1440
notification_period Liberate
notification_options r,c
contact_groups IT,opermovil,VIP
register 1
}


***********

define host {
host_name cwm-sfr-actcluster1
use xiwizard_linuxserver_host
alias Tertio
address cwm-sfr-actcluster1
parents Switch SFR
initial_state o
max_check_attempts 3
check_interval 10
retry_interval 5
check_period 24x7
process_perf_data 1
contact_groups opermovil
notification_interval 60
notification_period 24x7
notification_options d,r
icon_image solaris.png
statusmap_image solaris.png
_xiwizard linux_server
register 1
}

Re: Nagios notifies host is UP when a service is critical

Posted: Tue Jul 12, 2011 3:55 pm
by cwireless
Any comment, do you need anything else?

Re: Nagios notifies host is UP when a service is critical

Posted: Wed Jul 13, 2011 1:57 pm
by lmiltchev
Please, refer to our documentation on Nagios XI Users and Contacts at http://assets.nagios.com/downloads/nagi ... ntacts.pdf.
Make sure that your contacts and contact groups are defined properly.
Can you send us an example of a contact definition?

Re: Nagios notifies host is UP when a service is critical

Posted: Wed Jul 13, 2011 4:25 pm
by cwireless
Ok thanks lmiltchev, I will remove from the contacts the checks for hosts, and check only n.
So far it seems to be working.

Re: Nagios notifies host is UP when a service is critical

Posted: Thu Jul 14, 2011 1:44 pm
by mguthrie
Good deal. Let us know if you have any additional questions.