Working on Nagios perl module
I am currently working on creating a perl module do deal with Nagios configuration. The existing Nagios-Object package is quite limited, outdated and not that fully implemented. I checked it up and decided to rewrite it using my way.
Currently I am using Class-Generate package to help me with creating classes for Nagios object definitions and I already managed to write a parser which takes a path of nagios main configuration file, finds all links to object definition files and parses all definitions. One’s parsed, the definitions are stored as objects with all accessorts/mutators available.
I am also implementing object linkage so that the relations of objects can be used easily. Currently most of the stuff is already working fine.
In addition I am planning to implement the write function so that it is possible to create problem text config files with object definitions. Also thinking on getting on status log parsing.
The idea behind is to create a web admin panel for Nagios and extend the functionality, plus maybe I will do a new web frontend for Nagios, since the one given is not that good (anymore). I already have some web stuff working (based on perl, Catalyst, CGI-FromBuilder and Template-Toolkit)
(On Dec 27th, 2006 at 12:46 pm)
Sounds really interesting. I’ve been working on something like this my self (in Ruby though), but I’m far from finished (and not sure I ever will be). Maybe I should consider going with your stuff instead. Have you released any code?
(On Dec 27th, 2006 at 4:12 pm)
Honestly, I have temporarily stopped any coding due to the lack of time :( (as happens quite often)
(On Dec 27th, 2006 at 11:32 am)
Hello,
do you mind to share your existing source-code. I want to implement nearly the same and don´t want to invent the wheel a third time.
(On Dec 27th, 2006 at 12:26 pm)
I need to try and find the code, since I have stopped programing this and I don’t really remember where I have the stuff. Anyway, if I find something related - I will send it over to you for sure :)
(On Dec 27th, 2006 at 4:42 pm)
great,
i´m looking forward to the code.
(On Dec 27th, 2006 at 5:49 pm)
post the code!
(On Dec 27th, 2006 at 3:32 pm)
Hello,
have you searched for the code ?!?
Thanks
(On Dec 27th, 2006 at 3:54 pm)
I have checked all the possible places and I can’t bloody find it :( seems like I removed it some time ago when I was cleaning the stuff around.