Hi,
I'm using Cacti 8.8a on Redhat 6, with all possible patches applied. All is working well with monitoring Linux and Windows servers EXCEPT the CPU on a multi-CPU Windows servers. It's running Windows 2008 R2 Data Center Edition.
I am sure I have forgotten critical parts of the steps needed.
SNMP-Informant is installed on the remote server. In Cacti I create a new device based on the default Windows template using SNMP v2. SNMP information shows the OS, System Hardware, server name, etc. and SNMP Get Processor info returns 32 records. So SNMP overall seems well. I can crate graphs for network, disk, etc.
The one place where things go weird is in creating the CPU graphs.
From the device screen, I click "Create Graphs for this Device".
Of course, I select the default Host-MIB CPU Utilization data template. Now, what's weird is that in the next screen there are three blank fields which should not be blank.
I'm also remember that this step somewhere I should be creating 1 graph per CPU, but I don't remember which steps I'm missing.
After doing this, no RRD file is created, but the log file shows repeated attempts to write to a non-existant file named like host_cpu_.....rrd.
At this point, I know I should be getting 1 graph per CPU, but I got nothing.
After this, I remember I should be creating a consolidated graph, and delete the individual graphs, but keep the data sources, but of course, I can't get here. Unfortunately all the help I can find from Google and the forums say something like "create the individual graphs first" which, of course, I can't.
Can I get a little help please?
Thanks!
Erik
[solved] Help/docs for Windows - Multi CPU instructions?
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Fri Jun 29, 2012 9:48 am
Re: Help/docs for Windows - Multi CPU instructions?
What does the verbose query output for the 'SNMP - Get Processor Information' look like?
In the SNMP service for the server. In the Agent tab, are all 'services' enabled?
SNMP informant isnt required for multi-cpu graphs. What you should be doing is creating a graph per cpu. Then use the Aggregate plugin to create a mutli-cpu graph or do the process yourself manually.
In the SNMP service for the server. In the Agent tab, are all 'services' enabled?
SNMP informant isnt required for multi-cpu graphs. What you should be doing is creating a graph per cpu. Then use the Aggregate plugin to create a mutli-cpu graph or do the process yourself manually.
| 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: 3
- Joined: Fri Jun 29, 2012 9:48 am
Re: Help/docs for Windows - Multi CPU instructions?
Thanks for the reply, I appreciate it.
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php db2.domainname.com 11 2:161:500:1:10:public:::::: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php db2.domainname.com 11 2:161:500:1:10:public:::::: query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found item [hrProcessorFrwID='1'] index: 1
(2 - 29 removed for brevity)
+ Found item [hrProcessorFrwID='30'] index: 30
+ Found item [hrProcessorFrwID='31'] index: 31
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
Update: OK I just realised my missing step. Going to Create Graphs, I was ignoring everything inside Data Query [SNMP - Get Processor Information] Sorry, in Linux I always use a graph template and expected to see it up there.
Erik
+ Running data query [9].What does the verbose query output for the 'SNMP - Get Processor Information' look like?
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php db2.domainname.com 11 2:161:500:1:10:public:::::: index'
+ Executing script query '/usr/bin/php -q /var/www/html/cacti/scripts/ss_host_cpu.php db2.domainname.com 11 2:161:500:1:10:public:::::: query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found item [hrProcessorFrwID='1'] index: 1
(2 - 29 removed for brevity)
+ Found item [hrProcessorFrwID='30'] index: 30
+ Found item [hrProcessorFrwID='31'] index: 31
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
Physical was disabled.In the SNMP service for the server. In the Agent tab, are all 'services' enabled?
Good to know, I thought it was needed for disk or something?SNMP informant isnt required for multi-cpu graphs.
Right, which is the approach I'm trying to take, but I don't know how to do, or isn't working.What you should be doing is creating a graph per cpu.
Update: OK I just realised my missing step. Going to Create Graphs, I was ignoring everything inside Data Query [SNMP - Get Processor Information] Sorry, in Linux I always use a graph template and expected to see it up there.
Erik
Who is online
Users browsing this forum: No registered users and 2 guests