User talk:Manish 2479
Wehn i run the MRTG cfgmaker command as below
[code]cfgmaker --output=/usr/local/etc/mrtg/web-02-mrtg.cfg --ifdesc=ip --ifref=descr --global LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt, /usr/local/share/snmp/mibs/TCP-MIB.txt "WorkDir: /usr/local/www/endai-mrtg/web-02" --global "Options[_]: bits,growright" snmpee2mrtg@web-02[/code]The error Is as below
Error:
can't resolve "/usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt," to IP address at /usr/local/lib/perl5/site_perl/5.8.8/SNMP_util.pm line 426
SNMPWALK Problem for public@/usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt,::::::v4only
at /usr/local/bin/cfgmaker line 918
WARNING: Skipping public@/usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt,: as no info could be retrieved
Error:
can't resolve "/usr/local/share/snmp/mibs/TCP-MIB.txt" to IP address at /usr/local/lib/perl5/site_perl/5.8.8/SNMP_util.pm line 426
SNMPWALK Problem for public@/usr/local/share/snmp/mibs/TCP-MIB.txt::::::v4only
at /usr/local/bin/cfgmaker line 918
WARNING: Skipping public@/usr/local/share/snmp/mibs/TCP-MIB.txt: as no info could be retrieved
Error:
can't resolve "WorkDir" to IP address at /usr/local/lib/perl5/site_perl/5.8.8/SNMP_util.pm line 426
SNMPWALK Problem for public@WorkDir: /usr/local/www/endai-mrtg/web-02:::::v4only
at /usr/local/bin/cfgmaker line 918
WARNING: Skipping public@WorkDir: /usr/local/www/endai-mrtg/web-02 as no info could be retrieved
Why snmpwalk goes to public secret word not the one which i have set as snmpee2mrtg.Now how to reslove this problem cause I wana use system CPU usage and MEM usage for different server remotely and for that I don't wana edit mrtg.cfg files for each of them.I wan a configure a global setup for all of this servers.