Dear all,

   I've the following questions:

1.) I monitor the Linux Free Harddisk space by the following: 
Target[dsk]: 1.3.6.1.4.1.2021.9.1.7.2&1.3.6.1.4.1.2021.9.1.7.2:[EMAIL PROTECTED]

It's fine, and get what I want. However, as the return value is KBytes, I want 
to multiply the return value by 1000 by the following amendment: 
Target[igg1_dkvar]: 1.3.6.1.4.1.2021.9.1.7.2&1.3.6.1.4.1.2021.9.1.7.2:[EMAIL 
PROTECTED] * 1000

However, it turns out that all I got is zero. I try to use Factors[dsk]: 1000, 
however, the resulting value is not reflected on the graph. So I should I do so 
that the value I got is multiplied by 1000 and reflected on the graph? Thanks!

2.) I want to monitor the ethernet up/down status with the following:
Target[ethupdown]: 1.3.6.1.2.1.2.2.1.8.3&1.3.6.1.2.1.2.2.1.8.3:[EMAIL PROTECTED]

As 1=up, 2=down, 3=testing, I want to do some simple calcuation on the return 
value I got:
if the value I got is 1, change it to 2
if the value I got is 2 or 3, change it to 1
I know that a simple perl script can do it. However,
i) How the perl script interface with the target tag?
ii) Can you show me a simple example in doing so? (from getting the MIB value 
to the calculation)

3.) I want to plot the graph with the following scale:
- The Max value on the graph is 1.2
-  the horizontal pointed line is at 0.4 interval (So there should be 2, one at 
0.4, one at 0.8)
How should I set the YScale, YTics, and YTicsFactor to achieve it? Thank you 
very much!
( The return MIB value is either 0 and 1)
--
Unsubscribe mailto:[EMAIL PROTECTED]
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

Reply via email to