hostescalation - config problem

Subhendu Ghosh sghosh at sghosh.org
Tue Aug 19 04:29:21 CEST 2003


Umm  - Nagios 2.0 is in a state of code flux and not production ready so 
these might be better reported on the nagios-devel list.

Nagios 1.1 or the nagios-1-x-bugfixes CVS branch is the current stable 
branch.

-sg

On Mon, 18 Aug 2003, Anurag Gupta wrote:

> 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
> 

-- 




-------------------------------------------------------
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