[mrtg] Re: 4 CPU monitor

john.hoffman at za.pwc.com john.hoffman at za.pwc.com
Wed Aug 18 09:01:00 MEST 2004


Britt,
You may be referring to how do you get all four cpu readings onto one 
graph?
MRTG only graphs two readings, I therefore add two of them together - not 
sure if this is what you are looking for - 
See sample cfg below;

Regards
John
Target[Server.cpu]: 
1.3.6.1.2.1.25.3.3.1.2.1&1.3.6.1.2.1.25.3.3.1.2.3:community at IPADDRESS
                        + 
1.3.6.1.2.1.25.3.3.1.2.2&1.3.6.1.2.1.25.3.3.1.2.4:community at IPADDRESS:
RouterUptime[server.cpu]: community at IPADDRESS
MaxBytes[server.cpu]: 100 
AbsMax[server.cpu]: 200
WithPeak[server.cpu]: ymw
Options[server.cpu]: gauge, nopercent, growright, unknaszero 
 <BR><font color="#1000ff">Windows 2000 Processor Utilisation</font>
 <BR>(<font color="#00CC00">Processor #1 & #3 </font>/ <font 
color="#1000ff">Processor #2 & #4</font>)</H2> 
 <TABLE>
   <TR><TD>System:</TD><TD>xxxxxxxxxxxxxxxxxxx</TD></TR>
   <TR><TD>Maintainer:</TD><TD>xxxxxxxxxxxxxxxxxx</TD></TR>
   <TR><TD>IP:</TD><TD>xxxxxxxxxxxxxxxxxxx</TD></TR>
  </TABLE>
ShortLegend[server.cpu]: % 
YLegend[server.cpu]: CPU Util 
Legend1[server.cpu]: CPU Util - Processor #1+3 Utilisation
Legend2[server.cpu]: CPU Util - Processor #2+4 Utilisation
Legend3[server.cpu]: CPU Utilisation % 
Legend4[server.cpu]: CPU Utilisation %
LegendI[server.cpu]: &nbsp; CPU #1+3: 
LegendO[server.cpu]: &nbsp; CPU #2+4: 





"Britt Tabor" <Britt_Tabor at Jabil.com> 
Sent by: mrtg-bounce at list.ee.ethz.ch
17-08-04 11:13 PM


To
mrtg at list.ee.ethz.ch
cc

Subject
[mrtg] Re: 4 CPU monitor




 Size: 6 Kb 



Willaim, I see where you are coming from and I tried using the syntax that
you supplied but that didn't work. I got an error went starting mrtg. 
These
are the OIDs that I want to look at and how I need to manipulate them, can
anyone give me the syntax for the target line? I have searched the web for
the proper syntax but no luck...

1.3.6.1.2.1.25.3.3.1.2.1 + 1.3.6.1.2.1.25.3.3.1.2.2 / 2 &
1.3.6.1.2.1.25.3.3.1.2.3 + 1.3.6.1.2.1.25.3.3.1.2.4 / 2

I want the first line to be my OID 1 and the second to be OID 2. I need to
return 2 integers to MRTG on the target line...


Britt Tabor
I.T. Infrastructure Engineer



-----Original Message-----
From: Eric Brander [mailto:Eric_Mailing_List at rednarb.com] 
Sent: Tuesday, August 17, 2004 4:58 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: 4 CPU monitor

Britt Tabor wrote:

> I need to monitor a server with 4 CPUs. How can query 4 OID's for the 
same
> target? What would the syntax for the look like?
> 
An OID will have different instances, one (or more) for each processor. 
   It will look like the normal processor OID followed by a . and 
another number, usually.

> 
> Britt Tabor
> 
> I.T. Infrastructure Engineer
> 
> 

Eric Brander
Giving vague answers to vague questions one post at a time

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi




_________________________________________________________________
The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged 
material.  Any review, retransmission, dissemination or other use of, or 
taking of any action in reliance upon, this information by persons or 
entities other than the intended recipient is prohibited.   If you 
received this in error, please contact the sender and delete the material 
from any computer.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list