RE: [Nagios-devel] Config file syntax

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

RE: [Nagios-devel] Config file syntax

Post by Guest »

This has been discussed before.

As I recall the conclusion of the discussion:

- the config files will remain 'as is'
- there have been efforts to create XML files which could be used to =
build the config files

In a nutshell, there's more than one way to do it. I don't recall the =
exact reasons for not changing the base config files to XML format =
(other than the obvious "why create unnecessary work"), but some folks =
would rather keep config data in a database. In the end, all roads lead =
back to the basic config files.

I'm no doubt glossing over details.

jc


> -----Original Message-----
> From: D. Roos [mailto:[email protected]]
> Sent: Tuesday, April 29, 2003 4:58 AM
> To: [email protected]
> Subject: [Nagios-devel] Config file syntax
>=20
>=20
> Heyaz,
>=20
>=20
> Would it be much work to change the config file syntax to XML=20
> instead of
> the current 'define XX { option value }'. Even adding an option to use
> XML for configfiles would be great.
>=20
> Changing the syntax, or adding an option to use XML config files would
> make it easier (at least for me ;) ) to parse the config files and use
> them in various (PHP) scripts.
> Currently I use 'fancy' regexp's to parse the configfile and a nagios
> specific function to write the files.
>=20
>=20
> Regards,
> Dennis Roos
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>=20





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked