nagios host limits
Conor Shovlin
conor.shovlin at itforce.ie
Thu Jul 16 14:21:39 CEST 2009
Hi Marc,
The template file doesn't even get changed while we are updating.
I am going to test moving cfg files around this afternoon
Will update once I have done this
Regards,
Conor
-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: 15 July 2009 18:50
To: Nagios Users Mail-list
Subject: Re: [Nagios-users] nagios host limits
On Jul 15, 2009, at 11:40 AM, Conor Shovlin wrote:
> Hi Marc,
>
> Here is the config we are adding. These lines cause a perfectly
> working config (see before) to causing errors(see after).
>
> define host{
> use windows-server ; Inherit default
> values from a template
> host_name DCFP01 ; The name we're
> giving to this host
> alias DCFP01 ; A longer name
> associated with the host
> address 172.x.x.x ; IP address of the host
> hostgroups Dxxx
> parents Axxx
> notification_interval 0
> notification_options d
> }
>
>
> As you can see there it is a simple host that we are adding but it
> starts throwing errors. As soon as we remove the host all errors
> clear and we have no issue. If I remove another host it works
>
> Error: Template 'linux-server' specified in host definition could
> not be not found (config file '/usr/local/nagios/etc/objects/
> txxxxhosts.cfg', starting on line 78)
Definitely strange. This is complaining about a completely different
and unrelated thing. Does the template 'linux-server' exist ('name
linux-server')? Is it in the same file as the host definition you are
trying to add?
- If so, are you accidentally breaking that definition, removing the
final } perhaps or something like that?
- If not, is the file it is in specified as a cfg_file in nagios.cfg
or in a cfg_dir? If cfg_file, what is the load order (not sure it
matters though but might be interesting).
- Does it help you move it to the top of the load order?
--
Marc
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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
Any views given in this message are the sender's own, and do not represent the views of IT Force except where the sender specifically states them to be the views of IT Force. This e-mail should only be read by those persons to whom it is addressed. Accordingly, we disclaim all responsibility and accept no liability (including in negligence) for the consequences of any person other than the intended recipients acting, or refraining from acting, on such information. If you have received this e-mail in error, please accept our apologies and we simply request that you delete this document. If you have received Spam that you believe has originated in some way from IT Force, please send a complaint including the unsolicited email, to info at itforce.ie. Any form of reproduction, dissemination, copy
ing, disclosure, modification, distribution and/or publication of this e-mail is strictly prohibited. IT Force Limited is registered in Ireland No. 310902. Registered office, Molyneux House, Bride Street, Dublin 8.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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