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

Gerard Alcorlo Bofill galcorlo at cesca.cat
Mon Feb 27 10:56:51 CET 2012


Thank you guys for your answer.

I would rather don't use grep command because different people can
change the config file and I couldn't be completly sure that they add
the "remark" at the correct line. However, for the moment is the easiest
option.

The information that I need to pass isn't the hostname, so the default
parameters are not enough.

($alert_s_name,$target,$loss_pattern,$rtt_pattern,$hostname)

-- 
Gerard



More information about the smokeping-users mailing list