Ad Widget

Collapse

Notifications in Zabbix 1.6.3 not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nenad
    Junior Member
    • Aug 2010
    • 3

    #1

    Notifications in Zabbix 1.6.3 not working

    Hi all.
    I have installed Zabbix 1.6.3 on Ubuntu server 9.1 almost 3 months ago. Everything was smooth and well, until I ran into the mystery of receiving notifications.
    Brief intro: we are running on windows environment with the exchange server as our primary mail server. Zabbix box has been joined to the domain, it is visible to all the local PC's. I am trying to relay alert emails through the exchange box.
    What I tried first is to make zabbix send emails with the built in email media type, and for the root user, for which I had created a mailbox on the exchange server. Didn't work. Secondly, I tried to install sendmail server on the linux box as a slave mail server and to relay emails to the exchange server (on which I setup 'accept relaying from this guy' thing - didn't work. Lastly, I found out the script on the internet zabbix_sendmail.sh which I put in my /etc/zabbix/alert.d folder which is being set up in the config file for storing scripts, and configured everything properly on the zabbix admin console, and tried the simple ping test with associated action to trigger the script - didn't work. What puzzles me the most, is the fact that if I run the script from the shell - it works! Sends emails perfectly to any domain user I put down to send to.
    Please help - I have been trying to resolve this notification issue for almost 2 months now, and I am running out of ideas and energy, as it seems that I've been hitting the same dead end each time.

    Thanks in advance.
  • walterheck
    Senior Member
    • Jul 2009
    • 153

    #2
    Try a simple script first, and read the manual: http://www.zabbix.com/documentation/...on#media_types
    If you get that working, then replace it with your own script.
    Free and Open Source Zabbix Templates Repository | Hosted Zabbix @ Tribily (http://tribily.com)

    Comment

    • nenad
      Junior Member
      • Aug 2010
      • 3

      #3
      walterheck hi, thanks for the reply.
      i found this script that Im trying to make it work on zabbix forums. The code is pretty simple. I've read the documentation, and besides explaining how to setup media types, users, triggers and actions, there is not much more there.
      I did setup all of the required on zabbix - no notifications whatsoever.
      I've created a simple trigger to ping certain server and to send me an email via script if the server is pingable - not happening.
      The script works from zabbix terminal.

      Comment

      • nenad
        Junior Member
        • Aug 2010
        • 3

        #4
        Notifications in Zabbix 1.6.3 not working

        Please, someone?
        Any suggestions

        Comment

        Working...