Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
keijo
bykeijo, December 6, 2017
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 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
bykeijo, December 6, 2017
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
Mine reports (in addition):
-- Source up/down
-- Peak listeners
You can find that version in my gist:
https://gist.github.com/keijodputt/fe95ef3486ef79cab952792f5de81f73