Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In order to analyze the routers, I installed MRTG in a RedHat machine.
Everything is working, but some issues missing:
The router monitored doesn't accept server requisitions sent.
When I try ssh -p n 161 <address> and ssh -p 162
When trying cfgmaker the error I receive:
The SNMP is running, but when try cfgmaker command, it returns this error:
See:
# cfgmaker --global 'WorkDir: <location>' -output <dir>mrtg.cfg netcomro at localhost
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost"
community: "netcomro"
request ID: -502026887
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on netcomro at localhost::::::v4only
at /<file> line 950
WARNING: Skipping netcomro at localhost: as no info could be retrieved
Can someone explain here , to show to the others(because I know), the options using MRTG to monitore the router.
Someone said isn't necessary to the router accept the SNMP requisitions.
Is it possible the mrtg machine receive the router traps without sending request , as they said here ?
Thanks in advance,
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,596
Rep:
thomazp, the language/behavior exhibited is post #4 isn't acceptable here at LQ. Please refrain from it in the future if you'd like to continue participating here.
I installed the pkg (using yum ) .
The SNMP is running.
But when I try
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
Is showed this:
ERROR: Line 6 (Alias /mrtg /var/www/mrtg) in CFG file (/etc/httpd/conf.d/mrtg.co
nf) does not make sense
I commented the line and tried again, the response:
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
ERROR: Line 9 ( Order deny,allow) in CFG file (/etc/httpd/conf.d/mrtg.conf)
does not make sense
I installed the pkg (using yum ) .
The SNMP is running.
But when I try
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
Is showed this:
ERROR: Line 6 (Alias /mrtg /var/www/mrtg) in CFG file (/etc/httpd/conf.d/mrtg.co
nf) does not make sense
I commented the line and tried again, the response:
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
ERROR: Line 9 ( Order deny,allow) in CFG file (/etc/httpd/conf.d/mrtg.conf)
does not make sense
I received a Pvt message saying the default location is: /usr/local/mrtg-2/bin/mrtg .
But my is not there, I Have the MRTG located in /etc , /usr/bin, /var/lib , /var/lock and other locations,
What to do now ?
I installed using yum cmd.
Tks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.