Closed nightwatcher74 closed 4 months ago
Sorry the crash report is broken. It would be good to see the agent output for such a outlet. For myself it is important to know what is written there. It makes no sense to check if there is current or not directly. It is relevant if this outlet is aktive or not, then i can say it is active but no device connected and it will not do the voltage check. I think it is understandable what i mean 😉
Hi Andreas,
This Type of PDU has no values per socket, only per fuse and obverall input values (and the residual value overall) On the output side I can only configure the name and see the fuse to wich a socket belongs to. And the outputs are not remote switchable so always aktive.
Here you have the same mockup as in the other ticket (it's the sam PDU Type and the crashdump again and I hope it is readable)
Thanks Frank
Checkmk_Crash_dev_fb_6acd5114-2cc2-11ef-a7b8-005056b3ea1f_2024-06-17_17-59-01.tar.gz
Ok with the mockup i can fix the outlet problem. This should be no bigger task.
Outlets are fixed now - no crash anymore. Only the Input needs a little bit more work as your input is multiphase and my dump from first development was single phase. But this will be done the next days i hope. fixed with 555d8db
Hi Yogibaer75,
thanks for your addon and the high quality code ;)
After the Conference #10 the first thing he have done is to check the plugin on our 2.3 test site (we are not on 2.3 on production) and found a problem that also exists on the SNMP raritan check. There are several PDU types with no Data on the output side and we habe abour 200-300 from this PDUs. On the SNMP Check the Outlets would unconditionaly discoverd and then is unknown... your check will crash because on a subsewuent fault:
and the local Vars:
I on the discovery side there should be checked that the (all?) values are not None. I don't know if it will be enough that one of the values exists or if all values must be existing...
We are using
and you can find the crashdump attached. There is also an very important value missing, I wrote an SNMP Check a few weeks ago: redisuial current (in German Ableitstom). it would be grat if this can be included in the redfish check?! I will open a second ticket for the.
Thanks for your work :)
Frank
Checkmk_Crash_dev_fb_46748d4a-2a4d-11ef-a7b8-005056b3ea1f_2024-06-17_08-47-08.tar.gz