[smokeping-users] How to get info from the config file when an alert is triggered
Peter Kristolaitis
alter3d at alter3d.ca
Tue Feb 21 00:03:47 CET 2012
If all you're looking for is the hostname, it's passed as one of the
parameters to the alert script (along with other information about the
alert). See the Smokeping documentation for details.
- Pete
On 2/20/2012 1:08 PM, Gregory Sloop wrote:
> +1 for this. I'd like to be able to push out more stuff, specifically
> the host name.
>
> -Greg
>
> GAB> Hello,
>
> GAB> we are using a custom script to alert when a problem exists. Nowadays
> GAB> I'm interested in getting a "variable" that appears in the config
> GAB> smokeping file.
>
> GAB> When an alert is triggered, I need to give extra information and I
> GAB> thought to add this information as a "remark" or as a "note" in the
> GAB> config file for every "Target". The only problem is, how can I get this
> GAB> information from my custom_script?
>
> GAB> to = |/home/gerard/custom_script.pl
>
> GAB> Thank you for your help
>
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4418 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120220/e2f6f602/attachment.bin
More information about the smokeping-users
mailing list