Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Home
Help
Search
Calendar
Login
Register
Openideas.info
|
Pandora FMS
|
Community general support
|
Help for new users in Pandora FMS
|
WMI - non initialised module
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: WMI - non initialised module (Read 240 times)
0 Members and 2 Guests are viewing this topic.
nickohyzer
Newbie
Karma: 0
Offline
Posts: 2
WMI - non initialised module
«
on:
July 13, 2011, 12:52:45 AM »
I'm trying to setup an agent to use the CPU load module to check the load on the CPU on a Windows XP SP3 workstation on a domain that I have administrative access too. I thought it would be easy.
The problem is after I setup the module and update it under the serer tab there are two icons. One says "Pandora FMS WMI Server" and the other says "non initialised module". One thing I have to mention is the query that's in the module won't work in the command-prompt. For example the module query is [SELECT LoadPercentage from Win32_Processor WHERE DeviceID = "CPU0"]. When I run the query through the command prompt I have to wrap the whole thing in quotes and put the CPU0 in single quotes('). Here is the example that works in the command prompt ["SELECT LoadPercentage from Win32_Processor WHERE DeviceID = CPU0'"].
The last thing I noticed is in the command prompt between the domain and user (when using wmic -U) i have to put two slashes (\\). For example "domain\\user%password" is what works.
I've tried all combinations in the module and still get the same results. As an FYI i'm using Ubuntu 10.04.1. If I install the agent on the machine it reports to Pandora just fine, other ICMP checks work fine as well.
I have attached a screenshot of my module and agent modules.
Thank you in advance!
Module.png
(48.53 KB, 722x510 - viewed 20 times.)
agent.png
(16.57 KB, 751x177 - viewed 16 times.)
Logged
daniels
Smart member
Karma: 19
Offline
Posts: 205
Re: WMI - non initialised module
«
Reply #1 on:
July 13, 2011, 01:13:02 PM »
Hi nickohyzer,
Is it possible for you to keep the command inside a batch file (for example) in the server and use the remote check to call this batch file? I know this is not as flexible as your original idea, but could solve your problem...
Regards.
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Pandora FMS
-----------------------------
=> Announcements and news
=> Suggestions and new feature request
=> F for Flexible... or awesome ideas using Pandora FMS
=> Community general support
===> Español / Spanish forum
===> Help for new users in Pandora FMS
===> Advanced troubleshooting and problems
===> 日本語フォーラム / Japanese forum
===> Development lists (Read only)
-----------------------------
General Category
-----------------------------
=> Epic Tunnelizer
=> Lechuga CMS
=> Sysadmin tools
=> General monitoring discussion
=> Openideas General Forums
===> Linux systems
===> Unix systems
=> Babel Enterprise
=> Integria IMS
=> phpRADmin
Loading...