Looking in to Services, and was kindof missing out when I was trying to make a email alert with templates.
when only the possibility was to use “Service_id” and “service_desc” columns from service table.
What can I do if I want to have access to “service_type” & “service_changed” & “service_message” as well ?
is it simply to add “|| stristr($k, ‘type’) || stristr($k, ‘changed’) || stristr($k, ‘message’)” or would this make trouble ?
Why:
%value.service_type so I can do script like following:
{if %value.service_type == “http”}%HTML%{/if}
%value.service_changed so I can set URI to:
…/graph.php?from=%value.service_changed-6h&to=%value.service_changed…
%value.service_message because it nice to have the message ouput in the mail.
Thanks for your great work
Apologize in advance, not sure how to do pull request