timdlp / check_shoutcast-nagios

Simple PHP script to monitor a shoutcast DNAS v1 stream with Nagios Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

check_shoutcast-nagios

Simple PHP script to monitor a shoutcast DNAS v1 stream with Nagios Core

Introduction

I needed a way to check the status of some old Shoutcast DNAS v1 streams with Nagios Core and found no working solution. I've searched the internet for a while and decided to write it myself, I came up with this homemade solution.

It's tested and intended to work with Nagios Core 4.3.4 but as it's PHP, you could run it anywhere.

Requires the following PHP extensions

Usage

In order to run the file on CLI you need to make the file executable like this :

chmod +x check_shoutcast.php

Then just run it

./check_shoutcast.php -H HOSTNAME -p PORT -u USER -P PASSWORD

About

Simple PHP script to monitor a shoutcast DNAS v1 stream with Nagios Core

License:The Unlicense


Languages

Language:PHP 100.0%