mrtg.cfg problem with snmpv3 support

  • Follow


Hi,
I am unable configure mrtg.cfg file with snmpv3 support. I am using
CentOs 5.2. config file is as followsHtmlDir:

/var/www/mrtg
ImageDir: /var/www/mrtg
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg

EnableSnmpv3:yes
EnableIPv6: no
Options[]:growright,bits


Title[chitra]: Chitra Traffic Analysis
Target[chitra]: 2:public@192.168.2.141
SnmpOptions[chitra]:username=>'manadmin',authprotocol=>'md5',authpassword=>'manadminpassword',privprtocol=>'des',privpassword=>'mangoadmin'
setENV[chitra]:MRTG_INT_IP="192.168.2.141" MRTG_INT__DESCR="eth0"
MaxBytes[chitra]: 12500000



after giving the command

 LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/chitra.cfg --lock-file /var/
lock/mrtg/mrtg_l-chitra --confcache-file /var/lib/mrtg/mrtg-chitra.ok

output:
Undefined subroutine &main::snmpget called at /usr/bin/mrtg line 2202.


can anyone give solution?
0
Reply f.saleheen (2) 8/7/2008 7:10:28 AM


0 Replies
414 Views

(page loaded in 0.03 seconds)

3/22/2013 11:35:57 AM


Reply: