On Tue, 2008-02-19 at 18:05 -0200, Ricardo Siri wrote:
> Hello 
> I am new in MRTG and I have a question 
>  
> I tested the following target because I want to graph the summ of this
> two variables
> The problem is that MRTG is performing the graph of the two variables
> independently
> Can anyone help me understanding what is the problem?

mrtg must always have two variable, not one.  

You could do:
Target[suma]:
1.3.6.1.2.1.2.2.1.10.16777219&1.3.6.1.2.1.2.2.1.10.16777219:[EMAIL PROTECTED] + 
 1.3.6.1.2.1.2.2.1.16.16777219&:[EMAIL PROTECTED]


Note that this works reasonably well for gauge types, but poorly for
counter types.

Another option is to use a front-end like routers.cgi and create a stack
graph.  This is the preferred solution for counter-type targets, as the
problem of two roll-overs is eliminated.

> Another question?
> If I have 4 variables to monitor, sucha as <OID_A>:community@<IP>
> 
> <OID_B>:community@<IP>
> 
> <OID_C>:community@<IP>
>                                                                        
> <OID_D>:community@<IP>
>  
> Is it possible to obtain a graph with: - green line: <OID_A> + <OID_B>
>                                                              - blue
> line: <OID_C> + <OID_D>

Target[sumb] = OID_A&OID_C:[EMAIL PROTECTED] + OID_B&OID_D:[EMAIL PROTECTED]
>  
> In this case which would be the syntaxis of the traget?
>  
> -----------------------------------------------------------------------------------------------------
>  
> Title[suma]: Trafico interfaz a de la 128.251.214.93
> MaxBytes[suma]: 1000000000
> AbsMax[suma]: 1000000000
> Options[suma]: gauge, nopercent
> #Options[suma]: nopercent
> #.1.3.6.1.2.1.6.9.0&.1.3.6.1.2.1.6.9.0:[EMAIL PROTECTED] 
> #Target[suma]: 1.3.6.1.2.1.2.2.1.10.16777219:[EMAIL PROTECTED] +
> 1.3.6.1.2.1.2.2.1.16.16777219:[EMAIL PROTECTED]

> 
-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to