Rando,
I followed this KB https://docs.observium.org/device_windows/ and it just worked. The reason I asked the questions is that it is not immediately obvious that it is working or not. The poller.php -m wmi -v proves it is working but also, I realized that if wmi is working, then your Microsoft devices will show a “windows services” tab.
Also, I have Observium installed on RHEL 8. There seems to be no wmi package for version 8 (CentOS or RHEL). I installed the wmi RPM for version 7 and it seems to be working…fyi
Good luck
Tony
From: Rando Sui
Sent: Friday, December 17, 2021 6:29 AM
To: Observium
Cc: Tony Guadagno
Subject: RE: [Observium] question about wmi
Hello,
How did you get WMI working and passing info?
Greetings,
Rando.
From: observium <observium-bounces@observium.org> On Behalf Of Tony Guadagno via observium
Sent: kolmapäev, 15. detsember 2021 20:33
To: Observium <observium@observium.org>
Cc: Tony Guadagno <tonyg@guadagno.org>
Subject: Re: [Observium] question about wmi
All, thanks for the help….i think wmi is working because I am now seeing the “windows services” tab on my windows servers. That was not present before.
Thanks again
Tony
From: Adam Armstrong via observium
Sent: Tuesday, December 14, 2021 7:08 PM
To: 'Observium'
Cc: Adam Armstrong
Subject: Re: [Observium] question about wmi
There’s not likely to be any WMIC messages in that log, not much goes into there.
WMIC isn’t used for very much. It slightly improves some windows data, mostly storage.
You’ll probably see whatever it does by doing a debugged poller run for the device you’re using WMIC with.
Adam.
From: observium <observium-bounces@observium.org> On Behalf Of Tony Guadagno via observium
Sent: 14 December 2021 18:36
To: Pisano, Anthony D. via observium <observium@observium.org>
Cc: Tony Guadagno <tonyg@guadagno.org>
Subject: [Observium] question about wmi
Hi, I have enabled wmi on my install. I have tested my config with wmic and it seems to work. I have put the global parms in and I am not seeing any log messages about wmi. How do I know if wmi is being attempted?
[2021/12/14 18:30:01 +0000] discovery.php(560036): /opt/observium/discovery.php: new - 0 devices discovered in 0.001 secs
[2021/12/14 18:30:04 +0000] poller.php(560053): poller.php: abc-wolcott2.company.local - 1 devices polled in 2.943 secs
[2021/12/14 18:30:07 +0000] poller.php(560051): poller.php: abc-lyo-sw-3.company.local - 1 devices polled in 5.134 secs
[2021/12/14 18:30:07 +0000] poller.php(560049): poller.php: abc-observium.company.local - 1 devices polled in 5.509 secs
[2021/12/14 18:30:12 +0000] poller.php(560047): UNIX-AGENT: Connection on tcp://abc-esx15.company.local:36602 failed. ERROR: 110 Connection timed out
[2021/12/14 18:30:14 +0000] poller.php(560047): poller.php: abc-esx15.company.local - 1 devices polled in 12.67 secs
[2021/12/14 13:30:14 -0500] poller-wrapper.py(560037): /opt/observium/poller-wrapper.py: processed 4 devices in 13.78 seconds with 4 threads, load average (5min) 0.13
Tony