Problem with Service Escalation 3.0rc3

Klaus liebknecht at gmail.com
Tue Mar 4 10:59:09 CET 2008


Hi, 

yes I have. This is only a short extract of my configuration. I have about
370 services defined on 54 hosts.
But you are right, I forgot to add this part of configuration. Sorry.. Here
is a more complete one...


define hostgroup{
    hostgroup_name        group1
    alias                 group1
}

define contact{
    contact_name       groupNetwork
    use                generic-contact
    alias              groupNetwork
    email              groupNetwork at home.net <mailto:groupNetwork at home.net> 
}

define host{
    use            windows-server
    host_name      host1
    alias          Host 1
    hostgroups     group1
    address        10.0.0.1
    parents        DUSSW00
    contacts       defaultContact
}

define service{
	service_description	SMTP
	use		      	generic-service
      hostgroup_name		group1
	check_command		check_smtp
	process_perf_data		1
	action_url
/nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
} 

define hostescalation{
    hostgroup_name        group1
    contacts              groupNetwork
    first_notification    1
    last_notification     0
    notification_interval 120
    escalation_period     workhours
}

define serviceescalation{
    service_description    *
    hostgroup_name         group1
    contacts               groupNetwork
    first_notification     1
    last_notification      0
    notification_interval  120
    escalation_period      workhours
}

---------------------

Hi,

 

Have you actually got any services defined?

 

Thanks


Giles

 

________________________________

From: nagios-users-bounces at lists.sourceforge.net
Sent: 04 March 2008 10:44
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problem with Service Escalation 3.0rc3

 

Dear All,

 

as stated above, I am running nagios 3.0rc3 and I seem to have a lack of
understanding.
I should state that I am new to nagios.

 

I plan to have a host and service escalation for all hosts (with their
associated services) belonging to a specific hostgroup. So here is what I
have so far:

 

define hostgroup{
    hostgroup_name        group1
    alias                 group1
}

 

define contact{
    contact_name       groupNetwork
    use                generic-contact
    alias              groupNetwork
    email              groupNetwork at home.net <mailto:groupNetwork at home.net> 
}

 

define host{
    use            windows-server
    host_name      host1
    alias          Host 1
    hostgroups     group1
    address        10.0.0.1
    parents        DUSSW00
    contacts       defaultContact
}

 

define hostescalation{
    hostgroup_name        group1
    contacts              groupNetwork
    first_notification    1
    last_notification     0
    notification_interval 120
    escalation_period     workhours
}
define serviceescalation{
    service_description    *
    hostgroup_name         group1
    contacts               groupNetwork
    first_notification     1
    last_notification      0
    notification_interval  120
    escalation_period      workhours
}

 


When I try to start nagios, it tells me that it "Could not expand services
specified in service escalation".

 

The plan is to send a mail to defaultContact 24x7 and to groupNetwork only
in the working hours. When I remove the service escalation, I only get
notifications when the host is down (guess this is by design).

 

Is there any other way how I can achieve this?

 

Any help is very much appretiated.

 

Cheers
Klaus




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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