f-zappa / check_mk_adsl_line

Check-MK plugin for monitoring adsl lines
GNU General Public License v3.0
3 stars 4 forks source link

invalid output from agent or error in check implementation?? #1

Closed donald2612 closed 3 years ago

donald2612 commented 4 years ago

Hey there,

been trying out the MKP-extension on my Vigor165 and do get the above error in service discovery of CMK 1.6P6. SNMP detects an ADSL-line on interface 4, but errors out then:

invalid check parameter: The type must be a dictionary, but it is a NoneType Variable: checkgroup_parameters:adsl_line Parameters:None

edit added crash output:

2020-01-02_163942

Been using the device as a bridged-modem, do you have any hint, what could be wrong here?

TY Don

donald2612 commented 4 years ago

So, I think I have found the culprit: If you leave the default params for the check, after just installing it, it crashes. After settings new values for each check, it worked right away. Could it be, that, i.e., integer(title=_('Warning at'),unit='Mbit/s',default_value='50'), shouldn't be written in like '50'? I do not really know, but as I said, setting each values in a rule, fixed the crash for me.

TY for the nice add-on! Don