[Nagios-devel] Is anyone else working on DB-support for Nagios-config??
Fredrik Wänglund
fredrik.wanglund at datavis.se
Wed Mar 12 11:04:03 CET 2003
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/redirect.pl?thaw0031en
>>_______________________________________________
>>Nagios-devel mailing list
>>Nagios-devel at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-devel
>>
>>
>
>- --
>SongNetworks
>anders.x.karlsson at 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 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/redirect.pl?thaw0031en
_______________________________________________
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