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.
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.
Comment