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

Gerard Alcorlo Bofill galcorlo at cesca.cat
Mon Feb 20 16:58:49 CET 2012


Hello,

we are using a custom script to alert when a problem exists. Nowadays
I'm interested in getting a "variable" that appears in the config
smokeping file.

When an alert is triggered, I need to give extra information and I
thought to add this information as a "remark" or as a "note" in the
config file for every "Target". The only problem is, how can I get this
information from my custom_script?

to = |/home/gerard/custom_script.pl

Thank you for your help

-- 
Gerard



More information about the smokeping-users mailing list