Skip to content

preinheimer/wiu-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Where's it Up - Scripts

This repository contains several command line scripts designed to make it easier to integrate Where's It Up with your existing monitoring infrastructure.

wheresitup.php

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.

Usage

  1. Edit the file to contain your client id and token
  2. Call the script from the command line to test e.g. php ./wheresitup.php http://github.com newyork yes
  3. Integrate with nagios

About

Where's it Up - Scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published