nagios host limits
Conor Shovlin
conor.shovlin at itforce.ie
Wed Jul 15 18:40:06 CEST 2009
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.
BEFORE
[root at mon01 objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 1337 services.
Checking hosts...
Checked 226 hosts.
Checking host groups...
Checked 31 host groups.
Checking service groups...
Checked 2 service groups.
Checking contacts...
Checked 6 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 60 commands.
Checking time periods...
Checked 5 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
[root at mon01 objects]#
AFTER
[root at mon01 objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
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)
***> 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.
[root at mon01 objects]#
Regards,
Conor
-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: 15 July 2009 16:04
To: Nagios Users Mail-list
Subject: Re: [Nagios-users] nagios host limits
On Jul 15, 2009, at 9:36 AM, Conor Shovlin wrote:
> Hi,
>
> We have an installation of Nagios with 226 hosts. If we try and add
> another host then we are unable restart Nagios service and we get a
> CONFIG error
>
> Does anyone know if there any limitations on Nagios with this?
No. Several of us are monitoring (10's of) thousands of hosts and
services. You certainly have a real configuration error. If you need
help, post the error and corresponding host and service definitions
and anything else that might seem relevant based on the error.
--
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, 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090715/5abf589a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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