Ive tried <host_name> in the comments to test it and it doesn't works...

-----------------------------------------------------------------
Event:  2011-02-03 09:34:43  AYTO-DTBOX-16 CAM-DTBOX
Event:  Host is reachable with 2% Packet Loss 

Event:  2011-02-03 08:21:44  AYTO-DTBOX-16 CAM-DTBOX
Event:  Host is unreachable with 100% Packet Loss 

Comment: <host_name>
-----------------------------------------------------------------

How can I send the host name (AYTO-DTBOX-16) in the subject to quickly 
recognize the alarm?

What I want to get in subject is just: AYTO-DTBOX-16 reachable
I know the second variable is <alarm-state_description> but I don't know how to 
get the host name.

Thanks,
Felipe


-----Mensaje original-----
De: Craig Small [mailto:csm...@enc.com.au] 
Enviado el: sábado, 29 de enero de 2011 13:00
Para: Felipe Aceitón Muñoz
CC: jffnms-users@lists.sourceforge.net
Asunto: Re: [jffnms-users] Triggers notifications

On Fri, Jan 28, 2011 at 05:01:22PM +0000, Felipe Aceitón Muñoz wrote:
>    And Im wondering if someone knows more variables, Im looking for the host
>    name.
http://www.jffnms.org/docs/expanding.html#sec:commonparms
has a long list.

 - Craig

-- 
Craig Small VK2XLZ    http://www.enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux      http://www.debian.org/       csmall at : debian.org
GPG fingerprint:       1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to