Windows Perfom counters in Cacti
Moderators: Developers, Moderators
Windows Perfom counters in Cacti
Hi,
Is it possible to display Windows Perfmon counters in Cacti and if it is, how to do it or where to look for info?
Thanks
Is it possible to display Windows Perfmon counters in Cacti and if it is, how to do it or where to look for info?
Thanks
Two options:
1) use free/pay version of Snmp informant
2) use WMI scripts to query all of the performance counters. If coming from linux, will need to set up nsclient to achieve this.
1) use free/pay version of Snmp informant
2) use WMI scripts to query all of the performance counters. If coming from linux, will need to set up nsclient to achieve this.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
1) search the forums for others who have made snmp-informant scripts for cacti
2) learn to create your own: http://docs.cacti.net/node/225
2) learn to create your own: http://docs.cacti.net/node/225
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 45
- Joined: Wed Dec 06, 2006 12:02 am
- Location: Perth , Australia
You can also use a Perl Script to query the perfmon data directly. Not the best way of doing it, but it can be quite simple to setup. This is useful if the data you require is not exposed through WMI.
See my script mgcp.pl.txt in the following post for an idea.
http://forums.cacti.net/viewtopic.php?t=10857
Good luck
See my script mgcp.pl.txt in the following post for an idea.
http://forums.cacti.net/viewtopic.php?t=10857
Good luck
Ah, interesting. didn't know there was a native Perl lib for it. Good to know.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 45
- Joined: Wed Dec 06, 2006 12:02 am
- Location: Perth , Australia
At the moment i'm working on my complementary work. I'm monitoring a way from the Client to Servers and tings like that. I wrote a script, that read the informations from PerfMon over a MSSQL-DB. I implemented this Script as a Data Input Method in Cacti. If you would use this Script and you have some Questions, just ask.
- Attachments
-
- output_perfmon.zip
- (1.34 KiB) Downloaded 216 times
-
- Posts: 45
- Joined: Wed Dec 06, 2006 12:02 am
- Location: Perth , Australia
Thats right.It looks like your storing perfmon data in a SQL db and then querying it out at the remote end??
In Performance Monitor i configure the counter log to store the Data in a SQL db. After this i run this script with one parameter. This parameter is the name from the Counter Log in Perfmon. The Result from this VB-Script looks like: "Value1:0.566318253379072 Value2:3.86306665824032 Value3:0 Value4:0 Value5:0 Value6:0 Value7:0 Value8:0". I wrote this script to read at max 8 values. The values from perfmon come back in the same order how there are added in perfmon. The input string in the data input method from cacti is: "cscript.exe /nologo <path_cacti>/scripts/output_perfmon.vbs <CounterLog>".
I hope you can understand my terrible english
Thats right, but for my case ist perfect, why im using the SQL-DB also for other monitoring scripts.If so, that is a pretty complicated way too skin that cat.
-
- Posts: 45
- Joined: Wed Dec 06, 2006 12:02 am
- Location: Perth , Australia
Who is online
Users browsing this forum: No registered users and 0 guests