Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Used to monitor the number of listeners connected to your shoutcast server
Current Version
0.1
Last Release Date
2010-11-23
Owner
Juliano Jeziorny
Website
http://24techno.net
License
GPL
Compatible With
Check current listeners on shoutcast servers.
This plugin will connect to give IP:port using curl and get current listeners and maximum listeners from 7.html
No login information required to access information on the shoutcast server.
-H specifies host/IP -p specifies port shoutcast server is running on -w specifies listeners warning threshold (default 75) -a specifies listeners alerting threshold (default 95)
ex. <verbatim>check_shoutcast -H localhost -p 8228 SHOUTCAST OK - 1 out of 100 listeners on port 8228
check_shoutcast -H 192.168.10.1 -p 8128 -w 6 SHOUTCAST WARNING - 7 out of 100 listeners on port 8128 </verbatim>
Dependencies: curl
Notes: Only tested with Nagios 3.2, let me know if it work on other version please
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
You must be logged in to submit a review.
To:
From: