hostescalation - config problem
Anurag Gupta
agupta at yahoo-inc.com
Tue Aug 19 01:45:40 CEST 2003
Hi there,
I wasnt very clear in the mail below about the problem:
We have a 3 level escalation (primary, secondary, everyone) and I cant get
it running with Nagios 2.0. It bails out while giving a "Could not allocate
memory for hostescalation ..." error.
Does anybody know if this is a bug or is there some problem with my
configuration?
thanks in advance
-anurag
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Anurag
Gupta
Sent: Friday, August 15, 2003 12:03 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] hostescalation - config problem
I am running into problems when I try to define 2 hostescalations
definitions fo the same hostgroup. When I remove one of the 2 hostescalation
definitions, it runs fine. Any clues what has changed between Nagios 1.3 and
2.0 in this regard.
Is this a bug or am I missing something?
thanks
-anurag
When I run nagios to check my config:
================
Reading configuration data...
Error: Could not allocate memory for hostescalation list to add host
'fs0.qa.geo.scd.yahoo.com' escalation
Error: Could not register host escalation (config file
'/home/y/conf/nagios/include/alpha.hosts.cfg', line 23)
================
Contents of alpha.hosts.cfg:
================
define host {
use generic-host
register 0
name alpha-host
}
define host {
use alpha-host
host_name fs0.qa.geo.scd.yahoo.com
alias fs0.qa.geo.scd.yahoo.com
address 66.218.77.98
contact_groups alpha-primary
event_handler handle-host-event
event_handler_enabled 1
}
define hostgroup {
hostgroup_name alpha-hosts
alias alpha-hosts
members fs0.qa.geo.scd.yahoo.com
}
define hostescalation {
hostgroup_name alpha-hosts
contact_groups alpha-secondary
first_notification 2
last_notification 0
notification_interval 120
}
define hostescalation {
hostgroup_name alpha-hosts
contact_groups alpha-everyone
first_notification 3
last_notification 0
notification_interval 0
}
================
+++++++++++++
Anurag Gupta
agupta at yahoo-inc.com
408.349.5166
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/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
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/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