Windows CPU Usage
Moderators: Developers, Moderators
Windows CPU Usage
Hi all,
Another N00b question. I'm trying to gather CPU usage form a Windows 2003 server bix with no luck.
I have other data working OK. (Logged in Users, Traffic) But I just get no values for CPU.
I have the following Data Sources configured:
ucd/net - nice
ucd/net - System
ucd/net - User
Graph is configured as ucd/net Cpu usage template. the graph shows OK but all values are 0.00
Any ideas?
Another N00b question. I'm trying to gather CPU usage form a Windows 2003 server bix with no luck.
I have other data working OK. (Logged in Users, Traffic) But I just get no values for CPU.
I have the following Data Sources configured:
ucd/net - nice
ucd/net - System
ucd/net - User
Graph is configured as ucd/net Cpu usage template. the graph shows OK but all values are 0.00
Any ideas?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
ucd/net are usually only used on Unix servers.
For your Windows 2003 server, use the "SNMP - Get Processor Information" and "SNMP - Get Mounted Partitions" data queries instead.
ucd/net are usually only used on Unix servers.
For your Windows 2003 server, use the "SNMP - Get Processor Information" and "SNMP - Get Mounted Partitions" data queries instead.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
These are data queries; you have to go to devices, choose the device you want to graph, and then choose "create graphs for this host".
You may have to reload the data queries (hit the green circles).
You may have to reload the data queries (hit the green circles).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
The plot thickens..
Unger the Get Cpu Information query I get 0 rows returned..
Query debug information is:
Unger the Get Cpu Information query I get 0 rows returned..
Query debug information is:
I get the same for Disk partition as well+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/ss_host_cpu.php 192.168.1.2 5 1:161:500:public:::MD5::[None] index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_cpu.php 192.168.1.2 5 1:161:500:public:::MD5::[None] query index'
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_cpu.xml'
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
What Cacti version are you using ?
Also, which Windows version is running on the target host ?
Also, which Windows version is running on the target host ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
BSOD2600's Windows Install FAQ wrote: Q: Why doesn't Windows return Disk or CPU usage via SNMP?
A: Open up the SNMP Service and click on the Agent tab. Make sure all the service checkboxes are marked. Restart the SNMP service.
| 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 |
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Can you remove and reinstall the SNMP service ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Now I'm confused..
I've tried a 2nd Cacti install on a different machine (a VMware server). This one appears to pick up the CPU and Processor information OK.
Both are running on Fedora Core, Both are fully patched, both have the same configuration.. One works, the other doesn't
The only differenc eis that the working one is FC6, the non working is FC5.
FC6 reports Cacti 0.8.6i
FC5 reports Cacti 0.8.6h
I'm going to try to update the FC5 to i (even though Yum can't see the i version)
I've tried a 2nd Cacti install on a different machine (a VMware server). This one appears to pick up the CPU and Processor information OK.
Both are running on Fedora Core, Both are fully patched, both have the same configuration.. One works, the other doesn't
The only differenc eis that the working one is FC6, the non working is FC5.
FC6 reports Cacti 0.8.6i
FC5 reports Cacti 0.8.6h
I'm going to try to update the FC5 to i (even though Yum can't see the i version)
Who is online
Users browsing this forum: No registered users and 9 guests