Ad Widget

Collapse

Monitor Shoutcast

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MADxHAWK
    Member
    • Apr 2011
    • 41

    #1

    Monitor Shoutcast

    Hi,

    i would like to monitor my radiostation shoutcastserver (listener, unique listener, listentime, peaklistener and so on)
    All those Data are provided in a xml file. Well it wont be a problem to get the Data with a php-script, but at the moment i dont have any idea how to get the data into zabbix. Any hints would be aprecciated.

    Maybe theres any way to let snmp read the data from php-script and add it to custom OIDs

    -MAD
  • Bennie
    Member
    Zabbix Certified Specialist
    • Feb 2010
    • 73

    #2
    Hey mad,

    its pretty easily done.

    Create Zabbix trappers with the proper keys like shoutcast.listeners, shoutcast.peak, etc
    Send data to the zabbix server with zabbix sender and you got your info in zabbix

    Some more info can be found here (long topic read between the lines a bit) http://www.zabbix.com/forum/showthread.php?t=21762

    Same deal, different data. If you can parse the data with a php script you can also sent it directly to the zabbix server from there.

    Zabbix sender info: http://www.zabbix.com/documentation/.../zabbix_sender

    example cmdline:
    Code:
    zabbix_sender -z <zabbixserver> -s "<yourhostnameinzabbix>" -k shoutcast.listeners -o <yourvalue>

    Comment

    • MADxHAWK
      Member
      • Apr 2011
      • 41

      #3
      Hi Bennie,

      many thanks. Sounds quite easy. )

      -MAD

      EDIT: Send a PM to you where you can see the resultst, simply use the Guest login )
      Last edited by MADxHAWK; 28-04-2011, 19:19.

      Comment

      Working...