[smokeping-users] How to get info from the config file when an alert is triggered

Gregory Sloop gregs at sloop.net
Mon Feb 20 19:08:35 CET 2012


+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




More information about the smokeping-users mailing list