admin
Forum Replies Created
- AuthorPosts
admin
KeymasterTry
check_wmi_plus.pl -H i -u u -p p -m checkproc -s cpuabove -a % -w 90 -exc _AvgCPU=@0:2
This is from the sample commands on this page
admin
KeymasterAdded to release ini file
2022-11-26 at 12:44 PM in reply to: [checkproc memcpuabove] part is missing in check_wmi_plus.ini #914admin
KeymasterOk, added to release ini file
2022-11-19 at 9:09 AM in reply to: [checkproc memcpuabove] part is missing in check_wmi_plus.ini #910admin
KeymasterCan you please provide the ini configuration?
admin
KeymasterTry 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
admin
KeymasterCan you run the wmic server successfully from the command line?
If yes, then you have a systemd problem. Perhaps try a systemd forum?admin
Keymaster-u user1 so that it uses the credentials of the user in question. I never put this option because not explain in the guide and on the site
This requirement is documented in the –help output of check_wmi_plus.pl
REQUIRED OPTIONS FOR WMIC Server These only apply if using the new WMIC Server You must specify username/password/domain (referred to as auth info) in the WMIC Server configuration. Check WMI PLus does not hold auth info. It only points to the auth info in the WMIC Server. You must point to the auth info us‐ ing an identifier that matches one in the WMIC Server configuration. -u ID specify the identifier for the auth info that matches the one defined in the WMIC Server -p TOKEN specific the token required to authenticate to the WMIC Server. This is not Windows authentication information. The tokens are defined in the WMIC Server configuration
admin
Keymaster/usr/lib64/nagios/plugins/check_wmi_plus.pl -d -d | head -n 25
Sorry, I was not clear.
Please provide all the output from a complete run of the plugin which does a WMI check and sends a command to the wmic server, using -d -d.eg check_wmi_plus.pl -H HOST -u USER -p TOKEN -m checkdrivesize -a . -d -d
admin
Keymaster./check_wmi_plus.pl -d -d | head -n 25
Command Line (v1.68): ./check_wmi_plus.pl -d -dCan you please provide all the output from the above?
./wmic_client.sh -i user1 -h 172.31.1.45 -q ‘SELECT * FROM Win32_UTCTime’
Can you please run the above from the nagios server?
admin
KeymasterProblem with connection to target host. [Errno 113] Connect call failed (‘10.83.23.3’, 135)%
Please make sure that you have performed the testing on the wmic server as per https://github.com/cesbit/aiowmi/tree/main/contrib/wmic_server#testing-the-server
Also, please run that same testing from the nagios server to the wmic_server
-
This reply was modified 11 months ago by
admin.
admin
KeymasterUNKNOWN – The WMI query had problems. The wmic error text is: ERROR:500 Can’t connect to 127.0.0.1:2313 (Connection refused).
Please make sure that you have tested the wmic server as per https://github.com/cesbit/aiowmi/tree/main/contrib/wmic_server#testing-the-server
admin
KeymasterUNKNOWN – The WMI query had problems. Something is probably wrong with the wmic_server (http://127.0.0.1:2313/wmic)
ERROR:500 INTERNAL SERVER ERROR%Please make sure that you have performed the testing on the wmic server as per https://github.com/cesbit/aiowmi/tree/main/contrib/wmic_server#testing-the-server
admin
KeymasterDid you get this sorted? I assume that there are probably other dependencies
admin
KeymasterIt looks like you might need python >= 3.7
https://stackoverflow.com/questions/52889746/cant-import-annotations-from-future
admin
KeymasterThis new version of Check WMI Plus will fix all your issues
-
This reply was modified 11 months ago by
- AuthorPosts