<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Interestingly enough, I did reference that particular script on gist--but many moons ago when I was cutting my python teeth--I used it for the email part. I have revisited it and taken a gander at your version. I actually used your options on the 6th argument as inspiration and I have added other tweaks to make it report 'ALERT' or 'CLEARED' when used as edge trigger script.</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">I have tweaked it a bit and added a few more things throughout the script. I plan on officially forking it on github (to give the original author credit) and committing my changes. When I do this, I will post the link here.</div>
<div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Many thanks for the input and link--certainly helped me from making a mountain out of a mole-hill. :-)</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 4:50 AM, Florian Pritz <span dir="ltr"><<a href="mailto:bluewind@xinu.at" target="_blank">bluewind@xinu.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On <a href="tel:21.02.2014%2006" value="+12102201406">21.02.2014 06</a>:42, Philip Wehunt wrote:<br>
> I could hackishly work around this in my python but I wanted to<br>
> identify if I am doing something wrong on the SP side or if it is a<br>
> bug. Mainly in the spirit of KISS. I don't like to let hackish<br>
> scripts linger.<br>
<br>
</div>You probably found the same script on gist, but here's my version[1]<br>
which doesn't fail when the 6th arg is missing. It will not add "<br>
cleared" to the subject without the arg, but it will send you the report.<br>
<br>
[1]: <a href="https://git.server-speed.net/users/flo/bin/tree/smokemtr.py" target="_blank">https://git.server-speed.net/users/flo/bin/tree/smokemtr.py</a><br>
<br>
>From the documentation in smokeping_config I'd say this is a bug, but<br>
given I get my mails I didn't bother fixing it yet.<br>
<br>
<br>_______________________________________________<br>
smokeping-users mailing list<br>
<a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
<br></blockquote></div><br></div>