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.
Kamailio - Changing the From URI for Level3
URI weirdness with Level3
Trixbox Polycom Directory of all extensions for IP650
Generating an XML directory for a Polycom 650 phone.
cURL issue with backwpup for Wordpress
Backup issues with backwpup and curl due to SSL Verification.
Perl vs PHP5 Part II / Blogging
Made myself look like an idiot in front of a Perl audience.
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.
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.
Texas Lotto Numbers
Generating Texas Lotto numbers from your own randomness.