Communications Failure on WMI Queries
-
We have netxms 0.2.22 installed on a Windows 2003 server. An agent is installed on on Windows 2003 server with wmi subagent.
Running the wmi query WMI.Query(root\MicrosoftIISv2,select * from IISWebService,status) works if the agent has been restarted, however, a subsequest running of the same command fails with "Cannot get parameter: Communication failure". Restart the agent and the command works.
Running any other agent command, ie System.Hostname, works everytime. Any valid WMI Query works just once. Is there anything either I have missed or doing wrong?
-
Looks like a bug in WMI subagent. I'll check it today.
-
-
-
You mean that agent version 0.2.21 was working with WMI without problems? This information can help me a lot with debugging. Could you please confirm that by installing older agent version on a host?
About eta - I'll try to fix it as fast as possible, but unfortunately I still cannot reproduce this problem in my environment.
Best regards,
Victor -
Sorry for the confusion - WMI worked with the 2.21 version of server and agent. I have a new environment with 2.22 installed and it fails on all WMI queries other than the first. I have since installed the 2.21 agent on a server and the same error occurs, ie the first WMI query qorks, the others have communications failure.
-
I have uninstalled 2.22 server and agents and installed 2.21 server and agents. All WMI Queries on ALL servers, including the server where netxms server is installed, fail communications after the 1st WMI query has completed.
Victor - if your test server and now my 2.21 install are failing then it pints to a problem in my install. I used defaults to install on a Windows 2003 SP2 server using MS SQL for the database. Please advise me on where we can investigate from here.
-
Hello!
I have found a bug in WMI subagent, which may be the source of your problem. Could you please try to replace wmi.nsm with attached one and test it?
It is built for 0.2.23, but should work for 0.2.22.Best regards,
Victor
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login