Different values with option checknetwork
Tagged: checknetwork, wmic_server
- This topic has 2 replies, 2 voices, and was last updated 10 months, 1 week ago by admin.
- AuthorPosts
- 2022-10-18 at 6:27 PM #866p7s1p4Participant
When using the checknetwork option of check_wmi_plus, we get different values with new wmic_server way in comparison to old legacywmicclient-way.
old format:
vmxnet3 Ethernet Adapter, LANxxx, (172.16.xxx.xxx), 00:50:56:xx:xx:xxnew format:
vmxnet3 Ethernet Adapter, LANxxx, ARRAY(0x55be01xxxxxx), 00:50:56:xx:xx:xxIs that format change intended? … since we grepped for the IP-address bound to the interface the functionality has changed and cannot be used like with the old wmic-binary … probably a conversion error?
reagrds
2022-10-18 at 6:29 PM #868p7s1p4ParticipantWhen using the checknetwork option of check_wmi_plus, we get different values with new wmic_server way in comparison to old legacywmicclient-way.
old format:
vmxnet3 Ethernet Adapter, LANxxx, (172.16.xxx.xxx), 00:50:56:xx:xx:xx
new format:
vmxnet3 Ethernet Adapter, LANxxx, ARRAY(0x55be01xxxxxx), 00:50:56:xx:xx:xx
Is that format change intended? … since we grepped for the IP-address bound to the interface the functionality has changed and cannot be used like with the old wmic-binary … probably a conversion error?
reagrdsForgot to mention the commands used are:
/usr/lib/nagios/plugins/check_wmi/check_wmi_plus.pl -H <hostname> -A /etc/check_wmi_plus/idfile -m checknetwork
vs.
/usr/lib/nagios/plugins/check_wmi/check_wmi_plus.pl -H <hostname> -A /etc/check_wmi_plus/authfile -m checknetwork –legacywmicclient2022-10-22 at 10:27 AM #886adminKeymasterTry this development version of the plugin
https://www.edcint.co.nz/tmp/expire_14/check_wmi_plus.v1.681.tar.gzThis link will expire in 14 days
- AuthorPosts
- You must be logged in to reply to this topic.