[smokeping-users] Alerts mailtemplate <##ALERT##> output

Tobias Oetiker tobi at oetiker.ch
Tue Mar 9 22:59:47 CET 2010


Hi Ryan,

Today Ryan Harden wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> ## 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

cheers
tobi



> Thanks
>
> /Ryan
>
> - --
> 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:  hardenrm at illinois.edu
> 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/
>
> iEYEARECAAYFAkuWo6EACgkQtuPckBBbXbrX/gCaA359X+PAWqOQug6LkVu3rZb5
> DtQAn1ohlgGlc5qU96DHODAM77KIEty2
> =js/V
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the smokeping-users mailing list