Ad Widget

Collapse

media type 'script'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • loki
    Junior Member
    • Jul 2008
    • 7

    #1

    media type 'script'

    Hey All,

    Running zabbix 1.4.6 and running into issues with the media type script...

    zabbix_server.conf relevant bit..

    AlertScriptsPath=/home/zabbix/bin/

    script is called sms.sh - just pumps $1 $2 $3 to a file in /tmp

    <PRE>
    #!/bin/bash

    echo $1 $2 $3 > /tmp/.lastsms
    exit 0
    </pre>

    when it tries to run it - this goes into the zabbix_server.log file

    21830:20080912:190044 Unsupported media type [3] for alert ID [6411]

    any ideas ?
Working...