After I try to run MRTG I get this error any idea?
mrtgwill most likely not work propperly when the envireoment variable LANG is set to UTF-8. please run mrtg in an envireoment where this is not the case:
first check that mrtg is installed if u did a full install
then mrtg will be installed by default
if mrtg is not installed u can install its RPM from the cd
also u need some packages which u will find from MRTG's home page but again if some package is missing install it as RPM from the original cd
After all that u can run this command or put it in your crontab to run it after every 5 minutes or what u like
# /usr/bin/mrtg path to cfg file
--ifref=ip jetha@10.13.1.91
--base: Get Device Info on jetha@10.13.1.91:
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.13.1.91" [10.13.1.91].161)
community: "jetha"
request ID: 1441859059
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2.9.29/bin/../lib/mrtg2/SNMP_util.pm line 570
SNMPWALK Problem for 1.3.6.1.2.1.1 on jetha@10.13.1.91:
at ./cfgmaker line 709
And here is the snmp output from my cisco as5300:
mica#sh snmp
Chassis: 17409612
0 SNMP packets input
0 Bad SNMP version errors
0 Unknown community name
0 Illegal operation for community name supplied
0 Encoding errors
0 Number of requested variables
0 Number of altered variables
0 Get-request PDUs
0 Get-next PDUs
0 Set-request PDUs
8 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
0 Response PDUs
8 Trap PDUs
I am using another router to test this darn program...
I started debug on it and here is the error:
lsystem.5.0 = 10.13.1.91
00:38:33: SNMP: authentication failure
00:38:33: SNMP: Packet sent via UDP to 10.13.1.91
00:38:35: SNMP: Packet received via UDP from 10.13.1.91 on Ethernet0
00:38:35: SNMP: Queuing packet to 10.13.1.91
00:38:35: SNMP: V1 Trap, ent products.113, addr 10.13.1.90, gentrap 4, spectrap
0
lsystem.5.0 = 10.13.1.91
00:38:35: SNMP: authentication failure
00:38:35: SNMP: Packet sent via UDP to 10.13.1.91
00:38:37: SNMP: Packet received via UDP from 10.13.1.91 on Ethernet0
00:38:37: SNMP: Queuing packet to 10.13.1.91
00:38:37: SNMP: V1 Trap, ent products.113, addr 10.13.1.90, gentrap 4, spectrap
0
-----------------------------------------------------------------------
ERROR: Mrtg will most likely not work propperly when the environment
variable LANG is set to UTF-8. Please run mrtg in an environment
where this is not the case:
for the appropriate places. If you've already set it up, you can edit the mrtg.cfg files and your cron file. But I am still rather new to Linux, I just found it easier to work with the default web directory...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.