Home Directory Plugins Web Servers Others Check Shoutcast Listeners

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

Check Shoutcast Listeners

Current Version
0.1
Last Release Date
2010-11-23
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
155373
Files:
FileDescription
check_shoutcastCheck Shoutcast Version 0.1
Nagios CSP

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!
Used to monitor the number of listeners connected to your shoutcast server
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
Reviews (1)
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