DevOps Monkey Goodness

Monthly archives for October, 2013

How to Parse XML in Nagios:

How to Parse XML in Nagios:

On my OpsView/Nagios journey my next task is to grab some XML from a URL and return critical if a certain node is found. Run the following as root to install the xpath module:cpan XML::XPath  Run the following:sudo su nagioscd /usr/local/nagios/libexecwget https://raw.github.com/ifunky/Nagios/master/check_http_xpath.plchmod +x check_http_xpath.pl  To test the plugin you can run something like:./check_http_xpath.pl -H server.name -u […]

How To Enable Internet Access On Cent...

How To Enable Internet Access On Centos 6.4 Virtual Box

This one took me a little while to work out being a Linux noob so hopefully this will help someone else out if not at least me again when I forget! Configure VirtualBox Internet Connection (Static IP) On Centos 6 In VirtualBox make sure you have configured the adapter in “bridged” mode:  Make sure you […]