Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check SHOUTcast Server
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!
Usage:
check_shoutcast -H [-p ]
NOTE: -H must be defined
Options:
-h, --help
Print detailed help screen
-H, --hostname=ADDRESS
Host name argument for servers using host headers (virtual host)
Append a port to include it in the header (eg: example.com:5000)
-p. --port=INTEGER
Port number
Example:
check_shoutcast -H localhost -p 8000
SHOUTCAST OK - Server is currently up and public.
Notes:
This plugin will attempt to open an HTTP connection with the host.
And read in the status page of the shoutcast server (index.html)
Successful connects and "Server is currently up and public."
return STATE_OK, refusals and timeouts return STATE_CRITICAL other
errors return STATE_UNKNOWN. Successful connects, and
"Server is currently down." result in STATE_WARNING.
check_shoutcast -H
NOTE: -H must be defined
Options:
-h, --help
Print detailed help screen
-H, --hostname=ADDRESS
Host name argument for servers using host headers (virtual host)
Append a port to include it in the header (eg: example.com:5000)
-p. --port=INTEGER
Port number
Example:
check_shoutcast -H localhost -p 8000
SHOUTCAST OK - Server is currently up and public.
Notes:
This plugin will attempt to open an HTTP connection with the host.
And read in the status page of the shoutcast server (index.html)
Successful connects and "Server is currently up and public."
return STATE_OK, refusals and timeouts return STATE_CRITICAL other
errors return STATE_UNKNOWN. Successful connects, and
"Server is currently down." result in STATE_WARNING.
Reviews (1)
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