Hi:
It's possible that, on an alert, justs before zabbix sends the email, it checks in another application (Request Tracker (RT) is ours, but could be different one) if there is an opened ticket for the alert mentioned??
Would you think it would be hard to develop??
I'm looking into this, modifying source code in zabbix_server.. and what I found is that the main file of the alarm process is
alerter.c
I thinks this is the right place to start, isn't it??
Thanks for any help.
It's possible that, on an alert, justs before zabbix sends the email, it checks in another application (Request Tracker (RT) is ours, but could be different one) if there is an opened ticket for the alert mentioned??
Would you think it would be hard to develop??
I'm looking into this, modifying source code in zabbix_server.. and what I found is that the main file of the alarm process is
alerter.c
Code:
if (MEDIA_TYPE_EMAIL == mediatype->type)
{
alarm(40);
res = send_email(mediatype->smtp_server, mediatype->smtp_helo, mediatype->smtp_email,
alert->sendto, alert->subject, alert->message, error, max_error_len);
alarm(0);
}
Thanks for any help.



Comment