SHOUTCAST streaming server Monitoring

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

hackelin
Posts: 1
Joined: Thu Aug 05, 2010 11:31 am

news?

Post by hackelin »

Something new about this perhaps importing xml output from shoutcast server?
leegesmundo
Posts: 1
Joined: Tue Oct 08, 2013 7:04 pm

Re: SHOUTCAST streaming server Monitoring

Post by leegesmundo »

Hi Guys

I'm using PHP version 5.3.3 with Shoutcast V2, when I try and run the php script it gives the following output;


[root@oxl1 scripts]# php -q shoutcast.php
PHP Notice: Undefined variable: xml in /var/lib/cacti/scripts/shoutcast.php on line 20
PHP Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SONGTITLE - assumed 'SONGTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SONGTITLE - assumed 'SONGTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERGENRE - assumed 'SERVERGENRE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SONGTITLE - assumed 'SONGTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Use of undefined constant SERVERTITLE - assumed 'SERVERTITLE' in /var/lib/cacti/scripts/shoutcast.php on line 31
PHP Notice: Undefined offset: 4 in /var/lib/cacti/scripts/shoutcast.php on line 27

Can anyone assist?
CHeers
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests