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
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to