Nagios config -- not xml?

Brandon Gillespie brandon at roguetrader.com
Fri Jan 24 23:45:50 CET 2003


Steve Burton wrote:
> But for those of us who just configure it, having to type all the xml
> froth would be a royal pain. Also the present system is self describing,
> the description is at the beginning of the line. The context is in the
> name of the config. file, if you use multiple files and the namespace is
> nagios.

I don't think there would be much of a problem, especially since a lot 
of people are already familiar with an XML/HTML like syntax.  Yes, it 
would be different.  The 'template' stuff is already builtin to XML, so 
those would all just be tossed into a dtd somewhere.  The nice thing is 
you wouldn't HAVE to have seperate files.  You would also gain 
additional bonuses, such as nesting or even includes, as:

<host name="frible" class="generic-host" address="147.178.68.61">
   <service class="generic-service"
            description="HTTP"
            maxCheckAttempts="3"
            normalCheckInterval="5"
            contactGroups="serverAdmin"
            checkCommand="check_http"/>
   <service src="std_services.xml" />
</host>

-Brandon Gillespie




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list