Pingdom for Status Board

Pingdom Graph

After making my first two Status Board graphs I have been thinking of a third graph to make. Combined with my love for graphs, along with my love for making graphs, my third Status Board graph is a check response time graph for Pingdom.

24 Hour Response
Response times for yesdevnull.net and danbarrett.com.au over the last 24 hours.

I use Pingdom to monitor the response times of my servers (d’uh) and I thought I’d like to be able to see those results in a Status Board graph. You merely have to download the code from the GitHub repository, create the config.php file as per the README instructions and you’ll have a fully functional Status Board graph.

Currently my graph only supports results from the last 7 days, or the last 24 hours. I’m planning on adding more graphs soon, but currently, only these two graphs are super useful (in my opinion). In the config.php file I recommend that if you have less than 6 hosts in your account you can pass the ?autohost=true variable to the query string. Otherwise, if you have more than 6 the graph will probably look pretty messy with loads of lines everywhere.

Check out the code on GitHub!

Note: the graph bugs out a fair bit if, for example, you do a graph of last week but there’s only been less than a week worth of results you’ll see the graph looks a bit silly. It appears that Status Board doesn’t like graph keys that include a / or : (or I presume any other non-numerical characters.


SABnzbd+ for Status Board

Since making the iStat Server for Status Board script I’ve wanted to make more graphs for Status Board. Lo and behold, I use SABnzbd+ and it has an API. A graph is born:
SABnzbd Categories
The above graph collates all the downloads in the queue and counts them up then graphs them out, it’s pretty self explanatory really. Along side those bar graphs is the total of all items in the queue. Also available is a custom “Do-it-yourself” panel with core information about your SABnzbd+ server.
SABnzbd Info
This pane is also pretty self explanatory. At the top you’ve got the version number of SABnzbd+, the current speed of your downloads, the status of the server (i.e. paused, downloading etc), and the size (in GBs) of what’s left to download in the queue. At this point in time, the info pane is only suitable for a 4×4 panel. Jump over to the GitHub page to take a gander at the code and download it. Getting it set up is pretty easy, but if you’re stuck, I can provide limited support on the GitHub page, or via Twitter. Please take a look and let me know if you find it useful!

iStat Server Graphs for Status Board (Updated)

iPad with Status Board
Ever since Panic’s Status Board for iPad app came out I’ve wanted to have data from iStat Server appear in Status Board. After finding that iStat Server stores its data in /Library/Application Support/iStat Server/databases/local.db and that the SQLite database and all its data is not encrypted/obfuscated in any way, I figured it wouldn’t be too difficult to get the juicy data into some sexy Status Board graphs. Using the PDO and SQLite libraries included with Mac OS X 10.8.3 I was able to get a connection to the database and pull out rows. Simply store this file anywhere on your Mac that’s accessible by the built-in web server. Lo and behold, a graph is born:
iStat Server for Status Board - CPU Graph
The project is still in its infancy, with only a few different graphs. I plan on slowly adding more and more graphs and types. As of this post, the following graphs are possible:
  • ram_hour — RAM usage for the past 60 minutes
  • ram_day — RAM usage for the past 24 hours
  • cpu_hour — CPU usage for the past 60 minutes
  • cpu_day — CPU usage for the past 24 hours
  • load_hour — CPU load for the past 60 minutes
  • load_day — CPU load for the past 24 hours
  • temp_hour — Temp sensors for the past 60 minutes *new*
Take a look at the GitHub repo for more details and the download link to get this puppy running. Limited support can be provided on GitHub or on Twitter at @theblahman.

Update — 05/06/2013

Todays big update includes temp sensor monitoring so you can get more pretty graphs, like below.
Temperature Graph
If you’re checking 1 sensor, make your query string &temps=TC0D, or for multiple sensors, do &temps=TC0D,TC0H. If you have multiple temp sensors, they must be comma delimited. For the most up-to-date list of sensors, check the README in the GitHub repo. Head over to the GitHub repo (linked above) to check out the new changes and get it set up on your Mac!