[solved] Help/docs for Windows - Multi CPU instructions?

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
eriksquires
Posts: 3
Joined: Fri Jun 29, 2012 9:48 am

[solved] Help/docs for Windows - Multi CPU instructions?

Post by eriksquires »

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.
MissingFields.jpg
MissingFields.jpg (26.78 KiB) Viewed 1445 times
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
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Help/docs for Windows - Multi CPU instructions?

Post by BSOD2600 »

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.
eriksquires
Posts: 3
Joined: Fri Jun 29, 2012 9:48 am

Re: Help/docs for Windows - Multi CPU instructions?

Post by eriksquires »

Thanks for the reply, I appreciate it.
What does the verbose query output for the 'SNMP - Get Processor Information' look like?
+ Running data query [9].
+ 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'
In the SNMP service for the server. In the Agent tab, are all 'services' enabled?
Physical was disabled.
SNMP informant isnt required for multi-cpu graphs.
Good to know, I thought it was needed for disk or something?
What you should be doing is creating a graph per cpu.
Right, which is the approach I'm trying to take, but I don't know how to do, or isn't working.

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
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests