p7s1p4
Forum Replies Created
- AuthorPosts
p7s1p4
Participantyou should get the mentioned python modules via pip:
flask, aiowmi, pycryptodome, pyyaml
eg
python -m pip install pyyaml
when they are found by your python interpreter you can start the server easily … python must be version 3.7 or higher …
p7s1p4
ParticipantWhen 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 –legacywmicclient- AuthorPosts