[rrd-users] creating targets based on math equations

Nabil BouDiab mr_bou at yahoo.com
Thu Mar 8 15:03:15 CET 2007


Hello, 

I am trying to monitor using MRTG total memory and used memory .. however we only have OIDs for used and free memory. 
so my target is as follows 
Target[test]:1.3.6.1.4.1.9.9.48.1.1.1.5.1&1.3.6.1.4.1.9.9.48.1.1.1.6.1:public at router_ip 

I would like to have the IN parameter as the sum of 2 while keeping the second as is, ie something like 
Target[test]:(1.3.6.1.4.1.9.9.48.1.1.1.5.1 + 1.3.6.1.4.1.9.9.48.1.1.1.6.1)&1.3.6.1.4.1.9.9.48.1.1.1.6.1:public at router_ip 

from what i read it seems we can only sum in and out values ie 
Target[test]:1.3.6.1.4.1.9.9.48.1.1.1.5.1&1.3.6.1.4.1.9.9.48.1.1.1.6.1:public at router_ip + 1.3.6.1.4.1.9.9.48.1.1.1.6.1&1.3.6.1.4.1.9.9.48.1.1.1.6.1:public at router_ip 

this will eventually give us total memory as IN and 2x used memory as OUT 

any ideas ?? 

Thanks 
Nabil


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php



More information about the rrd-users mailing list