After posting many times, I did get some response and I thank you all for that..
but now I have this strange behavior, I have created scripts for sms and email, I got my sms script working (through zabbix builtin I am receiving 3 smses for each event so I have to do a script for that). and my mail server needs smtp auth so I am using the scripts posted here.
I used sendEmail (ubuntu server 9.10) when I use the script from cli it works, but through zabbix it shows as sent (successful) but I dont receive any email.
just to check, I also wrote some lines to put the received arguments to a file, no success.
the scripts are in alertscripts path and are chowned to zabbix user.
I dont understand while my sms script works from the same folder with same privileges why doesn't my email script.
did I do something wrong ? I am not aware.
please guide me. is there any patch to enable smtp auth inside zabbix ?
regards
Niranjan
but now I have this strange behavior, I have created scripts for sms and email, I got my sms script working (through zabbix builtin I am receiving 3 smses for each event so I have to do a script for that). and my mail server needs smtp auth so I am using the scripts posted here.
I used sendEmail (ubuntu server 9.10) when I use the script from cli it works, but through zabbix it shows as sent (successful) but I dont receive any email.
just to check, I also wrote some lines to put the received arguments to a file, no success.
the scripts are in alertscripts path and are chowned to zabbix user.
I dont understand while my sms script works from the same folder with same privileges why doesn't my email script.
did I do something wrong ? I am not aware.
please guide me. is there any patch to enable smtp auth inside zabbix ?
regards
Niranjan
Comment