-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Tobi,
On 03/09/2010 03:59 PM, Tobias Oetiker wrote: > Hi Ryan, > > Today Ryan Harden wrote: > > ## Resent from the address I'm actually subscribed by, so my apologies > if this is a duplicate. ## > > In setting up my mailtemplate for smokeping alerts I assumed that > <##ALERT##> would display the name of the "Target" that triggered the > alert. This is based on the documentation definition of "<##ALERT##> > - target name" > > Instead it prints the name of the Alert. > > Is there a variable that will display the information I'm looking for? > Right now I have to parse the URL to get the 'host' that triggered it. > > Smokeping 2.4.2 > >> I guess we have a little documentation deficit ... > >> this is the built-in template ... > >> Subject: [SmokeAlert] <##ALERT##> <##WHAT##> on <##LINE##> > >> <##STAMP##> > >> Alert "<##ALERT##>" <##WHAT##> for <##URL##> > >> Pattern >> ------- >> <##PAT##> > >> Data (old --> now) >> ------------------ >> <##LOSS##> >> <##RTT##> > >> Comment >> ------- >> <##COMMENT##> > > > >> does this help ? I guess you are looking for WHAT > Actually I'm not looking for WHAT as it just displays "is raised" or "is cleared" I was looking for something that would display a host as configured in the TARGETS section. I'm getting this info now using the <##LINE##>. /Ryan >> cheers >> tobi > > > > Thanks > > /Ryan > >> _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >> >> - -- Ryan M. Harden, BS, KC9IHX Office: 217-265-5192 CITES - Network Engineering Cell: 217-689-1363 2130 Digital Computer Lab Fax: 217-244-7089 1304 W. Springfield email: [email protected] Urbana, IL 61801 University of Illinois at Urbana/Champaign - AS38 University of Illinois - ICCN - AS40387 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkuWzskACgkQtuPckBBbXbpREACgljjEUHK+0jHxoYygkgl5c21Z 12kAoJprcJvSBANZilulpGwd0OFNA6nB =W6Y1 -----END PGP SIGNATURE----- _______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
