Forum Discussion
How Can you Test WMI Monitor
Hey guys,
I am trying to setup WMI monitor. I am assuming it keeps failing when I type "list ltm node dynamic-ratio" and the nodes ratio is still "1". What are some ways that I can troubleshoot the issue? For example, when you do an HTTP monitor you can use CURL to test and validate.
I completed the following for IIS7.0 - Installing WMI agent on the server: http://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-concepts-11-4-0/21.html
I am familiar with WMI Monitor Reference for the F5: http://support.f5.com/kb/en-us/solutions/public/6000/900/sol6914.html
Currently we editing the monitor and using a username and password and the windows server shows that the login in failing. We will continue to troubleshoot that.
3 Replies
- jbancroft_16904
Nimbostratus
Have you tried enabling the WMI monitor logging: https://support.f5.com/kb/en-us/solutions/public/13000/800/sol13853.html
Note the /var/tmp/WMIHttpAgent.log file is not managed or rotated so after troubleshooting make sure to disable the logging.
If the monitor is failing due to login, then obviously the monitor is not going to work. I've set up WMI monitors on F5 before to monitor a particular service, and start it up on a second box if the service is not running on the primary.
To troubleshoot WMI, try executing wmic from the command line (assuming that you're using wmic to run a query), it will tell you why it can't log in to the Windows system. Usually it's something simple such as using a domain account and not escaping the backslash. But if wmic can't log in, then everything else is useless until that gets fixed.
Try something like
wmic -U Administrator% // "select * from win32_process"If your credentials are correct, that will definitely return sometimg
- blwavg_10621
Nimbostratus
Hey guys,
I forgot I ended up doing for this issue. I am not longer working on that any more, but thank you for the help.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com