Pandora FMS community forums

Full Version: How to include Agent description in Alert mail
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hello SThamalainen

I suggest you to look at this part of the PandoraFMS wiki: https://pandorafms.com/docs/index.php?ti...andora_FMS

I think that the macro you are looking for is _agentdescription_

Best regards
Diego
(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?ti...andora_FMS

I think that the macro you are looking for is _agentdescription_

Best regards
Diego

Thanks a mill. This worked