Ad Widget

Collapse

Notification external script is not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • magnetyk
    Junior Member
    • Dec 2010
    • 2

    #1

    Notification external script is not working

    Hi,

    Since few weeks, zabbix (1.8.3 upgraded from 1.6.4) won't call external scripts (Media Type 'Script') when a trigger is reached. Emails are correctly sent by internal script (Media Type 'Email').

    The script SendSMS.sh has worked a few time after the zabbix upgrade and stopped working with no reason. The only thing done manually (after the upgrade) is the deletion of two rows in zabbix database (table triggers) which was fake triggers on *ERROR* state :

    (27695, '({36237}=1)&({36236}#1)', '[Mysql] Log ERROR on {HOSTNAME}', '', 0, 1, 4, 1249399033, 0, '', '', 20091, 0),

    (12201, '{11201}>150000', 'icmpOutRedirects on {HOSTNAME} is too High', '', 0, 1, 3, 0, 0, 0x20, '', 0, 0),

    Whats I've done to try to resolve this problem :
    - delete/create the Media type onto Zabbix -> KO
    - rename the SendSMS.sh script -> KO
    - move to another script path (and change it on zabbix_server.conf) -> KO
    - start zabbix_server with the old binary (called zabbix_servers.1.6.4) and simulate an alert -> KO
    - rollback to the non-upgraded mysql database and start the server 1.6.4 -> KO
    - extract the deleted rows from old database and insert into the new one -> KO
    - deactivate all hosts except one (where I simulate an alert) -> KO
    - going back to default database (schema+data) 1.8.3 sql -> KO

    In all cases, nothing in the zabbix_server.log or strace refers to external scripts.
    Nothing is write on our script logs (which means it wasn't launch once).
    Nothing is write on Mobyt history.
    Nothing is sent to zabbix.talk user.

    The SendSMS.sh script is still working while launched manually.

    Does anybody had already deal with this problem ?

    Thanks in advance
  • magnetyk
    Junior Member
    • Dec 2010
    • 2

    #2
    Does anyone can help me ?

    Comment

    Working...