Monitor Windows via WMI from Cacti on Linux
Moderators: Developers, Moderators
Re: Monitor Windows via WMI from Cacti on Linux
Hi guys,
I am having trouble with this Plugin, the installation process has been success but when cacti graph nothing appear.
When issue the command from terminal work perfect but the script that appear from cacti GUI not work (state of all graphs is -nan)
Thanks for you help
I am having trouble with this Plugin, the installation process has been success but when cacti graph nothing appear.
When issue the command from terminal work perfect but the script that appear from cacti GUI not work (state of all graphs is -nan)
Thanks for you help
- Attachments
-
- 3.jpg (105.27 KiB) Viewed 6720 times
-
- 2.jpg (40.32 KiB) Viewed 6720 times
-
- Untitled.jpg (270.97 KiB) Viewed 6720 times
Re: Monitor Windows via WMI from Cacti on Linux
This is bug #2390, which is solved by : http://forums.cacti.net/viewtopic.php?p=245021#p245021
Re: Monitor Windows via WMI from Cacti on Linux
Hi artiflo,
Thanks for you help, thanks to your suggestion is working now.
So many thanks
Thanks for you help, thanks to your suggestion is working now.
So many thanks
- Attachments
-
- wmiworking.jpg (281.56 KiB) Viewed 6681 times
Re: Monitor Windows via WMI from Cacti on Linux
Cloned this into github where I could hack on it some. Updated readme with some more up to date links and cleaned up some notices and made some error messages clearer to make getting this working a bit easier for me.
https://github.com/neclimdul/CactiWMI
https://github.com/neclimdul/CactiWMI
Re: Monitor Windows via WMI from Cacti on Linux
I have a question about Disk Usage...
My server has 4 Disk (C:\, E:\; F:\; I:\)...there is a way to monitor all these disks? My cacti monitor only C:\
Thanks
My server has 4 Disk (C:\, E:\; F:\; I:\)...there is a way to monitor all these disks? My cacti monitor only C:\
Thanks
-
- Posts: 6
- Joined: Mon Jun 02, 2014 10:00 pm
Re: Monitor Windows via WMI from Cacti on Linux
Hi Claymen,
there is a way to install and install this plugin into a windows based cacti ?
[quote="claymen"]Whats your cacti output look like at the time its being polled?
there is a way to install and install this plugin into a windows based cacti ?
[quote="claymen"]Whats your cacti output look like at the time its being polled?
Re: Monitor Windows via WMI from Cacti on Linux
I've issued a pull request which fixes some issues around Server 2008 domain controllers and Server 2012. As a bonus I've added a new script that can pull windows network info via WMI instead of SNMP. The windows network WMI counters are still 32-bit, but there is a total traffic counter, which is 64-bit and not exposed via SNMP (to the best of my knowledge).
Re: Monitor Windows via WMI from Cacti on Linux
psabadim,
You can monitor more than one drive, but you'll have to readd the graph multiple times and change the filtered drive.
You can monitor more than one drive, but you'll have to readd the graph multiple times and change the filtered drive.
Re: Monitor Windows via WMI from Cacti on Linux
Not currently because it relies on the linux wmic tool. That being said, it's open source and not terribly hard to work through. It could be tweaked to use windows tools with some work.mauricio330 wrote:Hi Claymen,
there is a way to install and install this plugin into a windows based cacti ?
Re: Monitor Windows via WMI from Cacti on Linux
Hello everyone,
My graphs are not being generated. I just see a blank space instead of the graph itself.
I am having the following record in the log:
When running the command from shell I get the following:
I have tried both cmd.php and spine pollers with no luck.
How can I further troubleshoot this?
Thank you!
Cheers,
Bruno Martins
My graphs are not being generated. I just see a blank space instead of the graph itself.
I am having the following record in the log:
Code: Select all
10/20/2015 06:06:12 PM - SPINE: Poller[0] Host[23] TH[1] DS[632] SCRIPT: /usr/bin/php -q /usr/share/cacti/scripts/wmi.php -h 'someserver' -u '/etc/cacti/cactiwmi.pw' -w 'Win32_ComputerSystem' -n '' -k '' -v '' -c 'TotalPhysicalMemory', output: U
Code: Select all
[root@monitoringserver wmi]# /usr/bin/php -q /usr/share/cacti/scripts/wmi.php -h 'someserver' -u '/etc/cacti/cactiwmi.pw' -w 'Win32_PerfRawData_PerfOS_Memory' -n '' -k '' -v '' -c 'CommittedBytes,AvailableBytes,CommitLimit'
/bin/wmic --namespace='root\CIMV2' --authentication-file=/etc/cacti/cactiwmi.pw //someserver "SELECT CommittedBytes,AvailableBytes,CommitLimit FROM Win32_PerfRawData_PerfOS_Memory"
Exec Status: 0
AvailableBytes:36340912128
CommitLimit:141697503232
CommittedBytes:84073422848
How can I further troubleshoot this?
Thank you!
Cheers,
Bruno Martins
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Monitor Windows via WMI from Cacti on Linux
Do you have some debugging enabled within the wmi script?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
-
- Posts: 1
- Joined: Thu Aug 31, 2017 2:19 am
Re: Monitor Windows via WMI from Cacti on Linux
Hi everybody,
It's my first post! I have a problem with Cacti and WMI Monitor.
It works perfectly, but I have not been able to create separate graphs for different instances of the same service.
Please see the attached file.
any ideas?
Thks!!!
It's my first post! I have a problem with Cacti and WMI Monitor.
It works perfectly, but I have not been able to create separate graphs for different instances of the same service.
Please see the attached file.
any ideas?
Thks!!!
- Attachments
-
- Instancias SQL WS 2008 R2
- instances-ws-cacti.JPG (19.57 KiB) Viewed 2400 times
Who is online
Users browsing this forum: No registered users and 3 guests