Works but…

Funny. I wanted to do this myself but then I found this script. Nice! Saved some work.

I had to heavily modify it to fit my needs though.
Code error: Line 187 change to:
-a “$ARG” != “outputv” -a “$ARG” != “linefreq” -a “$ARG” != “all” -a “$ARG” != “battdate”]
-> battdate was missing

And Line frequency; in- and out voltage are doing a “Max Value exceeded” check. This makes no sense; since I want to check for minimum values. So I changed the “-ge” evals to “-le” and remove sanity checks altogether; I could do so since this plugin can just replace the old check command.

In my opinion its much to verbose; maybe add a -v option do get rid of the $MSG? I set this var as empty string.