Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Shoutcast Listeners
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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.
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
Dependencies:
curl
Notes:
Only tested with Nagios 3.2, let me know if it work on other version please
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.
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
Dependencies:
curl
Notes:
Only tested with Nagios 3.2, let me know if it work on other version please
Reviews (1)
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