Line Limit for a Nagios Configuration

Brian E. Seppanen seppy at chartermi.net
Wed Jun 9 21:05:03 CEST 2004


Hi Folks:

Is there some sort of line limit for nagios when it reads in a 
configuration file.

The reason I ask is I have to create daily a configuration file that 
monitors about 3952 hosts, and growing each day.   When I create my 
configuration I get an error when doing the syntax check.

Error: Could not add object property in file 
'/usr/local/nagios/etc/devic.cfg' on line 27670.

Line 27670 is the last line of my hostgroup defintion.

the hostgroup definition is
define hostgroup{
                use             mygroup
                hostgroup_name  MACS
                alias           DEVICES
                members         00_00_ca_24_4f_24,00_00_ca_30_24_7c,00_00_ca_30_24_7d,00_00_ca_30_24_b4,00_00_ca_30_24_b5,00_00_ca_30_25_24,00_00_ca_30_25_25,00_00_ca_30_25_28,00_00_ca_30_25_29,00_00_ca_30_25_38,00_00_ca_30_25_39,00_00_ca_30_3a_f1,00_00_ca_30_3a_f5,00_00_ca_30_3a_f9,00_00_ca_30_3a_fd,00_00_ca_30_3b_01,00_00_ca_30_3b_05,00_00_ca_30_3b_09,00_00_ca_30_3b_0d,00_00_ca_30_3b_19,00_00_ca_30_3b_1d,00_00_ca_30_3b_25,00_00_ca_30_3b_29,00_00_ca_30_3b_39,00_00_ca_30_3b_3d,00_00_ca_30_3b_45,00_00_ca_30_3b_49,00_00_ca_30_3b_55,00_00_ca_30_3b_59,00_00_ca_30_3b_65,00_00_ca_30_3b_71,00_00_ca_30_3b_79,00_00_ca_30_3b_81,00_00_ca_30_3b_89,00_00_ca_30_3b_91,00_00_ca_30_3b_95,00_00_ca_30_3b_99,00_00_ca_30_3b_9d,00_00_ca_30_3b_b1,00_00_ca_30_3b_b5,00_00_ca_30_3b_b9,00_00_ca_30_3b_bd,00_00_ca_30_3b_c1,00_00_ca_30_3b_c5,00_00_ca_30_3b_c9,00_00_ca_30_3b_cd,00_00_ca_30_3b_d1,00_00_ca_30_3b_d5,00_00_ca_30_3b_d9,00_00_ca_30_3b_dd,00_00_ca_30_3b_e1,00_00_ca_30_3b_e5,00_00_ca_30_3b_e9,00_00_ca_30_3b_f5,00_00_ca_30_3b_f9
}

The members line includes the inforamtion for all 3952 devices, and so is 
one long line of 3953 ids seperated by a comma.   Where would the 
limitation be in what I'm doing that doesn't allow it to read the 
configuration option.

Thanks for the assistance.


Brian Seppanen
seppy at chartermi.net
906-475-0107 ext 1040


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
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