This repository contains several command line scripts designed to make it easier to integrate Where's It Up with your existing monitoring infrastructure.
A simple PHP script designed to be called from Nagios. It will hit the specified URL from the requested server, and check for a 200 response code. Upon failure it will additionally request DNS, Traceroute, and PINGs to the given server, and link to those results.
It requires that PHP have curl installed.
- Edit the file to contain your client id and token
- Call the script from the command line to test
e.g.
php ./wheresitup.php http://github.com newyork yes
- Integrate with nagios