Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

keijo

Reviews(2)
I had to revamp this for SC v2, since the webpage '7.html' was replaced by stats, which spits an xml.

The xml can be parsed with xml2, and the outcome grepped to current, max, peak, and stream status.

A modified version can be found at:
https://gist.github.com/keijodputt/fe95ef3486ef79cab952792f5de81f73
The code is fairly straightforward, but since I needed a SC V2 monitor, I took this and tinkered with it a little.
Mine reports (in addition):
-- Source up/down
-- Peak listeners

You can find that version in my gist:
https://gist.github.com/keijodputt/fe95ef3486ef79cab952792f5de81f73