Win32 - Monitor running processes
Moderators: Developers, Moderators
Win32 - Monitor running processes
I created a snmp script that will allow one to graph a processes CPU and memory usage on any WindowsNT based host (NT, 2K, XP, 2K3). The Microsoft SNMP agent must be installed; Net-SNMP will not work.
Instructions are in the readme
Updated 12/2/2005:
Added <index_type> to the script, which was added in a recent Cacti version. This makes it so you no longer need to change the PID to the process name.
Instructions are in the readme
Updated 12/2/2005:
Added <index_type> to the script, which was added in a recent Cacti version. This makes it so you no longer need to change the PID to the process name.
- Attachments
-
- Example of running processes
- running_procs_graph.png (10.91 KiB) Viewed 98141 times
-
- sample graph
- dcplusplus.png (5.78 KiB) Viewed 98141 times
-
- Win32_RunningProcs.zip
- Readme, templates, and script.
- (31.09 KiB) Downloaded 139748 times
Last edited by BSOD2600 on Sat Feb 25, 2006 1:15 pm, edited 5 times in total.
| 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: 7
- Joined: Fri Mar 11, 2005 7:11 am
Pleaz help for installing under w2k3
I don't know how to install this.
could you make a step by step plan? (e.a: which button i must click)
thnx in advance
could you make a step by step plan? (e.a: which button i must click)
thnx in advance
Hardinxcore: Do you have Cacti set up to monitor hosts and graph different things already? Read through the readme.txt?
zoidberg: My only guess is your cacti version is too old. I created this with 0.8.6c.
zoidberg: My only guess is your cacti version is too old. I created this with 0.8.6c.
| 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 |
Hi all
those script are great !!!!
but i've a pb with it ..... let me explain :
i tooke the file and i put the win32_procs.xml file in the cacti directory
then i put those 3 others files in cacti with the graphique interface
then i try to graph so i add in the " Associated Data Queries" the "SNMP - Get Processor Information" and i saved the settings.
then i click create graph for ..... and there is no procces like in the pictures up in this page in my cacti so could u help me because my english is not so bad but maybe i missed some steps in the README.txt file
THX by advance for your answer
those script are great !!!!
but i've a pb with it ..... let me explain :
i tooke the file and i put the win32_procs.xml file in the cacti directory
then i put those 3 others files in cacti with the graphique interface
then i try to graph so i add in the " Associated Data Queries" the "SNMP - Get Processor Information" and i saved the settings.
then i click create graph for ..... and there is no procces like in the pictures up in this page in my cacti so could u help me because my english is not so bad but maybe i missed some steps in the README.txt file
THX by advance for your answer
1) you don't put the files anywhere... it's best if you import them. Read through the readme.txt
2) When you add the snmp - process info to a device, then click on the green circle, do you see anything being outputted ?
2) When you add the snmp - process info to a device, then click on the green circle, do you see anything being outputted ?
| 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 |
Hi
I am using this script, it is working however I am not getting any memory information on any of the runing proccesses. I would much really appreciate helpon getting this working.
When I click the green circle after adding the snmp info proccess to a device, It says success (152 items; 38 Rows)
Thanks
I am using this script, it is working however I am not getting any memory information on any of the runing proccesses. I would much really appreciate helpon getting this working.
When I click the green circle after adding the snmp info proccess to a device, It says success (152 items; 38 Rows)
Thanks
1) Is the Re-Index Method set to Index Count Changed or Verify All Fields ?
2) In Data Source section, did you change the Index Type to hrSWRunName ?
3) Click on verbose query and paste the output.
4) Turn on debugging and paste the relivant section for the process(es) you're monitoring.
2) In Data Source section, did you change the Index Type to hrSWRunName ?
3) Click on verbose query and paste the output.
4) Turn on debugging and paste the relivant section for the process(es) you're monitoring.
| 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 |
The Re-Index Method is set to Index Count Changed, but i have tried both.
Yes i did change it ro hrSWRunName and put the name in the index value.
I have attached the verbose query in a text file as it was long
The log files had the following relevent (i think) entries
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] RECACHE: Processing 5 items in the auto reindex cache for '127.0.0.1'.
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result: 31188 KBytes
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: proc_mem, oid: .1.3.6.1.2.1.25.5.1.1.2.1192, output: U
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: proc_cpu, oid: .1.3.6.1.2.1.25.5.1.1.1.1192, output: 60567
03/29/2005 03:48:03 PM - POLLER: Poller[0] CACTI2RRD: d:/Apache/rrd/rrdtool.exe update d:\www\operations\cacti\rra\localhost_proc_mem_32.rrd --template proc_mem:proc_cpu 1112107682:U:60567
Yes i did change it ro hrSWRunName and put the name in the index value.
I have attached the verbose query in a text file as it was long
The log files had the following relevent (i think) entries
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] RECACHE: Processing 5 items in the auto reindex cache for '127.0.0.1'.
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result: 31188 KBytes
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: proc_mem, oid: .1.3.6.1.2.1.25.5.1.1.2.1192, output: U
03/29/2005 03:48:03 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 127.0.0.1, dsname: proc_cpu, oid: .1.3.6.1.2.1.25.5.1.1.1.1192, output: 60567
03/29/2005 03:48:03 PM - POLLER: Poller[0] CACTI2RRD: d:/Apache/rrd/rrdtool.exe update d:\www\operations\cacti\rra\localhost_proc_mem_32.rrd --template proc_mem:proc_cpu 1112107682:U:60567
- Attachments
-
- Verbose.txt
- (10.51 KiB) Downloaded 3704 times
Who is online
Users browsing this forum: No registered users and 3 guests