Pandora FMS community forums
How to include Agent description in Alert mail - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: Help for new users in Pandora FMS (http://pandorafms.org/forum/forum-10.html)
+--- Thread: How to include Agent description in Alert mail (/thread-14414.html)



How to include Agent description in Alert mail - SThamalainen - 11-08-2019

HI All

I hope you can help me. 
I am looking to include the Agents description in my alert emails in a similar manner to how the Agent and module are included. 
Below is an example of what i am looking to replicate

<tr>
<td><strong>Agent</strong></td>
<td>_agent_ <em>_address_</em></td>
</tr>

But in my case it would look similar to the following
<tr>
<td><strong>Description</strong></td>
<td>_agent_ <em>_Description_</em></td>
</tr>

We have assigned a site name to agent groups using the description(comentarios) field and i would like this included in the mail to admin


RE: How to include Agent description in Alert mail - Diego.M - 11-11-2019

Hello SThamalainen

I suggest you to look at this part of the PandoraFMS wiki: https://pandorafms.com/docs/index.php?title=Pandora:Documentation_es:Alertas#Configuraci.C3.B3n_de_alertas_en_Pandora_FMS

I think that the macro you are looking for is _agentdescription_

Best regards
Diego


RE: How to include Agent description in Alert mail - SThamalainen - 11-13-2019

(11-11-2019, 02:58 PM)Diego.M Wrote: Hello SThamalainen

I suggest you to look at this part of the PandoraFMS wiki: https://pandorafms.com/docs/index.php?title=Pandora:Documentation_es:Alertas#Configuraci.C3.B3n_de_alertas_en_Pandora_FMS

I think that the macro you are looking for is _agentdescription_

Best regards
Diego

Thanks a mill. This worked