Hi,
I installed a ubuntu server and installed nagios to test our configuration on a
new version of linux other than Fedora
We have the same problem in that we cannot add more than 226 hosts and we get
the below error
Processing object config file '/usr/local/nagios/etc/objects/xxxx.cfg'...
Error: Template 'linux-server' specified in host definition could not be not
found (config file '/usr/local/nagios/etc/objects/xxxxhosts.cfg', starting on
line 78)
Error processing object config files!
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
r...@mon:/usr/local/nagios/etc/objects#
We are running a single monitoring server. Does this mean we are going to have
to look at our overall architecture and look at distributed monitoring or
similar?
Does anyone have any experience of this type of issue?
Regards,
Conor
-----Original Message-----
From: Conor Shovlin
Sent: 16 July 2009 16:16
To: 'Marc Powell'; Nagios Users Mail-list
Subject: RE: [Nagios-users] nagios host limits
Hi,
Tested all the order of cfg files and it always shows the error on bottom cfg
file.
If I use the cfg_dir the file order they it points at this as the source of the
error.
There is nothing { } missing off the files.
I even moved the cfg files to a test Fedora machine and I get the same error. I
think it may be due to the Fedora OS
Any thoughts of users on what OS will take 1000's of hosts?
Regards,
Conor
-----Original Message-----
From: Marc Powell [mailto:[email protected]]
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
[email protected]
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 [email protected]. Any form
of reproduction, dissemination, copying, 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.
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
[email protected]
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