Re: [Nagios-devel] Is anyone else working on DB-support for Nagios-config??

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] Is anyone else working on DB-support for Nagios-config??

Post by Guest »

That's interresting. In my aproach, the config-changes needs to be
'committed', which means that config files are generated from the
database and Nagios is restarted.

The advantage of this is that you dont need to change something in Nagios.
The disadvantage is that you still need the files (and have the
possibility that someone is changing the files instead of the database)

Anders Karlsson wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I made a small hack some time ago for Nagios, that let's nagios read the
>configuration directly from mysql DB instead of config files, if there's any
>interest I can try to find the code again.
>
>/Anders
>
>onsdagen den 12 mars 2003 08.12 skrev Fredrik Wänglund:
>
>
>>I am..
>>
>>I have this right now;
>>- a working database-model and a script that creates the tables
>>- scripts to import objects from the config-files
>>- scripts to export some or all data back to the files
>>- a simple text-base UI to add/remove/edit objects in the DB, export the
>>config to files and restart/reload Nagios
>>
>>Not all types of object are supported yet, and the syntax-checking in
>>the UI is not finished yet.
>>
>>
>>/FredrikW
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by:Crypto Challenge is now open!
>>Get cracking and register here for some mind boggling fun and
>>the chance of winning an Apple iPod:
>>http://ads.sourceforge.net/cgi-bin/redi ... thaw0031en
>>_______________________________________________
>>Nagios-devel mailing list
>>Nagios-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/lis ... gios-devel
>>
>>
>
>- --
>SongNetworks
>anders.x.karlsson@songnetworks.se
>Have you hugged your firewall today? No spam, thanks.
>- --------------------------------------------------------
>Are you the police? . . . . No ma'am, we're sysadmins
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>
>iD8DBQE+bwFXtC1yigtSyRkRAgsTAJsFtws2JEd8t0G1t0EzRliYPCfCggCgpVVa
>9+VQ/6HP2v2xDnnKG5GrGlQ=
>=MF99
>-----END PGP SIGNATURE-----
>
>
>







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: fredrik.wanglund@datavis.se
Locked