programming
Parsing Nagios4 status.dat to JSON
Background I have a django app that shows host links to internal employees, wanted to grab status from Nagios without having to go to a bunch of trouble screen scraping. Found this quick script from Alex Wright, and modified it to work where I can call it from a Django function, then I just loop through my models and match the json object to the model.
Steps to deploy Upload file: status2json.
perl, programming
Perl vs PHP5 Part II / Blogging
Made myself look like an idiot in front of a Perl audience.
perl, programming
Perl vs PHP5
Edit: Sorry brian d foy. See comments.
brian d foy writes in this article, O’Reilly Network: Perl versus PHP 5, that he’s seen a lot of complaints about how hard it is to install modules in Perl. Now either he doesn’t use Perl, or maybe he just doesn’t know.
perl -MCPAN -e ‘install Module::Name'
That’s it. PHP doesn’t have a vast module network. I don’t hate PHP, but sooo many security issues, im ALWAYS upgrading mod_php.
programming
Finished LConMan
Linux Connection Manager
linux, programming
Gentoo PortageView
Been working on a side project. It’s finished pretty much. PortageView. Its sorta a searchable database of portage. Works nice. and its Fast.
Saw Type-O Negative in concert last night. It was a great concert, except the club it was at had a lot of audio problems and Peter was getting pissed off. But what can you expect from a 25 year old club that has no working A/C.
programming
CVS = Good
No, not the drug store, the version control system.