Nagios:: modules

tobert on 2003-11-18T02:04:19

I've been hanging out in #perl on freenode.net for the last few days. Good group in there - Spoon is a god. It has been interesting having it there as a crutch when my brain fails me - I use most of my mental power during the day (when I'm being paid). That's my excuse and I'm sticking to it.

I've been working hard on the Nagios::Objects module. It can parse Nagios object files and create objects for them quite fast, but still doesn't link them all together, which is going to be tricky. My current tactic is to follow the Nagios C sourcecode as closely as possible for the algorithm, making changes where needed to make it "perl written in perl" instead of "C written in perl."



If you don't know what Nagios is, look at http://www.nagios.org. My Nagios::Cmd module is already out on CPAN and can be installed thusly: perl -MCPAN -e 'install Nagios::Cmd' Of course, Nagios::Cmd will understand Nagios::Object(s), so everything should play together. My eventual goal is to be able to rewrite the Nagios CGI's in perl to run in mod_perl.



I should also have some updates to Net::SNPP::Server (newest part of Net::SNPP) soon as I've had to add some stuff in order to use it in a project at work.