Ad Widget

Collapse

scripts not working [1.8.3]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • olecam
    Junior Member
    • Jan 2011
    • 4

    #1

    scripts not working [1.8.3]

    Hi -

    I cannot get notification scripts to work with (at least) Zabbix 1.8.3 (installed from the unstable debian package).

    I have added a "script" Media Type :
    description : zabbix-irc-notifier
    type : script
    script name : zabbix-irc-notifier.sh

    I have "zabbix-irc-notifier.sh" (with exec rights) in /etc/zabbix/alert.d/ (at this step this is a 2-line script which is only sysloging $1 and $2 as well as writting them in a /tmp file).

    "AlertScriptsPath" directive is configured accordingly in "zabbix_server.conf" (default value, /etc/zabbix/alert.d/).

    The media "zabbix-irc-notifier" is activated for the "Admin" profile (also tested with my own account).

    In case of trigger notifications, email are sent but the script is never called. If I only have the Script media activated in the User profile, Auditing actions even reports that "No media defined for user 'Zabbix Administrator (Admin)'", which is not true.

    I have searched the release notes of 1.8.4 but i didn't show anything related to such a problem.

    Any idea will be greatly appreciated!

    Thanks.

    Olivier
Working...