Nagios 1.0 bug?
Porus Lakdawala
porus at sgi.com
Fri Mar 12 23:13:28 CET 2004
> There is a limit on the maximum number of characters a line
> can be in the config files. The default is 8192 I believe.
> Could you be exceeding that? What does your host/service
> definition look like that's causing you problems?
>
Thanks Marc. This is definitely good to know. However in my case it doesn't
seem like that is the problem. Here is a segment of the services config
file. If I uncomment the first hostgroup_name line and comment the second it
breaks. As it stands now it works.
define service{
# hostgroup_name
field-nt-domain-servers,field-nt-file-servers,field-nt-print-servers
hostgroup_name field-nt-domain-servers
service_description FIELD NT service McShield
check_command check_nt_service!McShield
use field-nt-service-template
}
Porus.
> -----Original Message-----
> From: Marc Powell [mailto:marc at ena.com]
> Sent: Friday, March 12, 2004 11:23 AM
> To: Porus Lakdawala; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Nagios 1.0 bug?
>
>
> On Friday, March 12, 2004 11:39 AM, Porus Lakdawala shared with us:
>
> > Hi,
> >
> > I have Nagios 1.0 running on an SGI IRIX system.
> >
> > The total number of hosts monitored is 360 and the total number of
> > services monitored is 2330.
> >
> > Recently I tried adding more services to be monitored. As
> soon as I do
> > that a number of errors appear for servers that were already there.
> > The error message read "no services for this host". The Nagios
> > daemon seems to start up. The CGIs show the error.
> >
> > I thought initially that this might be something to do with
> the config
> > file. However the -v option shows no errors or warnings. And I have
> > brought the config files to a state in which if I add a
> hostgroup with
> > 10 more servers to an existing service, it breaks. I remove the
> > hostgroup and life is good.
> >
> > Is there an inherent limit on the number of services that can be
> > monitored? Or is there a known bug which causes this limit? I could
> > not find anything in the docs or on searching the mailing list.
>
>
> There is a limit on the maximum number of characters a line
> can be in the config files. The default is 8192 I believe.
> Could you be exceeding that? What does your host/service
> definition look like that's causing you problems?
>
> --
> Marc
>
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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