[mrtg] comparison graph creation

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Tue Nov 6 09:46:06 CET 2007


Jason,

Combining 2 different oid's from different sources can be done with the use of 'PseudoZero' :

Target[xxx]: oid1&PseudoZero:hostA + PseudoZero&oid2:hostB

See http://oss.oetiker.ch/mrtg/doc/mrtg-mibhelp.en.html#IPseudoZero_and_PseudoOne and 
http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html#IMulti_Target_Syntax for more details.

Note when combining different oid's they have to be of the same type (e.g. rate, gauge,..) or you will no be able to graph them correctly.

HTH,

Jan.

-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Jason King
Sent: Tuesday, November 06, 2007 12:34 AM
To: mrtg at lists.oetiker.ch
Subject: [mrtg] comparison graph creation


I have a graph I'd like to create and I'm not sure how to go about it. 
Right now, I have two graphs and I'd like to combine them into one. The 
first graph uses SNMP to tell me how many connections I have going to a 
server via my foundry switch statistics. The second graph uses SNMP to 
tell me the CPU utilization on that same server. I'd like to have one 
graph that shows the number of connections going to that server, and 
then another line that shows the CPU utilization percentage. The problem 
is, that the SNMP information is coming from two different sources.

Does anyone understand what I'm looking for? What "BIG PICTURE" do I 
need to think about? Would it be better to do something like this in 
RRDtool?

Jason King

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_________________________________________________________

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
_________________________________________________________

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
_________________________________________________________



More information about the mrtg mailing list