LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-05-2016, 02:35 PM   #1
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Rep: Reputation: Disabled
Starting a MRTG machine


I couldn't start a mrtg machine to analyze the routers.
The package was installaed, snmp running , see:
# snmpwalk -v 2c -c netcomrw 172.27.252.3 1.3.6.1.2.1.1
SNMPv2-MIB::sysDescr.0 = STRING: Extreme Networks, Inc. S8 Chassis Rev 08.22.01.0
023 04/07/2014--16:18 ofc
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.5624.2.1.133
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2137016558) 247 days, 8:09:25.5
8
SNMPv2-MIB::sysContact.0 = STRING: Info.Telecomunicacoes
SNMPv2-MIB::sysName.0 = STRING: NC3DB2
SNMPv2-MIB::sysLocation.0 = STRING: BRA_SP_SaoPaulo_Matriz_DinoBueno_2Andar_CPD_N
C03DB02_Nucleo
SNMPv2-MIB::sysServices.0 = INTEGER: 79
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00

[root@li1964 libgd-2.2.0]# snmpwalk -v 2c -c netcomro 172.27.252.3 1.3.6.1.2.1.1
SNMPv2-MIB::sysDescr.0 = STRING: Extreme Networks, Inc. S8 Chassis Rev 08.22.01.0
023 04/07/2014--16:18 ofc
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.5624.2.1.133
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2137017551) 247 days, 8:09:35.5
1
SNMPv2-MIB::sysContact.0 = STRING: Info.Telecomunicacoes
SNMPv2-MIB::sysName.0 = STRING: NC3DB2
SNMPv2-MIB::sysLocation.0 = STRING: BRA_SP_SaoPaulo_Matriz_DinoBueno_2Andar_CPD_N
C03DB02_Nucleo
SNMPv2-MIB::sysServices.0 = INTEGER: 79
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00

But when I try to make a .cfg file, comes this error:
But when I try, comes this:
# cfgmaker netcomro@172.27.252.3 netcomrw@172.27.252.3
SNMP Error:
no response received
SNMPv1_Session (remote host: "172.27.252.3" [172.27.252.3].161)
community: "netcomro"
request ID: -375667813
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on netcomro@172.27.252.3::::::v4only
at /usr/bin/cfgmaker line 950
WARNING: Skipping netcomro@172.27.252.3: as no info could be retrieved

SNMP Error:
no response received
SNMPv1_Session (remote host: "172.27.252.3" [172.27.252.3].161)
community: "netcomrw"
request ID: 536901122
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/bin/../lib64/mrtg2/SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on netcomrw@172.27.252.3::::::v4only
at /usr/bin/cfgmaker line 950
WARNING: Skipping netcomrw@172.27.252.3: as no info could be retrieved

See what you think.
Tks,
 
Old 07-05-2016, 03:06 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,479

Rep: Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939
Quote:
Originally Posted by thomazp View Post
I couldn't start a mrtg machine to analyze the routers.
The package was installaed, snmp running , see:

# snmpwalk -v 2c -c netcomrw 172.27.252.3 1.3.6.1.2.1.1

But when I try to make a .cfg file, comes this error:

# cfgmaker netcomro@172.27.252.3 netcomrw@172.27.252.3
SNMP Error:
no response received
SNMPv1_Session (remote host: "172.27.252.3" [172.27.252.3].161)

See what you think.Tks,
Please don't use text-speak..it's "Thanks", not 'tks'...see the LQ Rules.

And did you look at what you posted? You perform the snmpwalk with version 2c of SNMP...and cfgmaker is running with version 1. See the man page for cfgmaker:
http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html
 
Old 07-05-2016, 03:16 PM   #3
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Now snmpwalk is working, but don't .
The mrtg is installed, but without .cfg file, I can't test the script.
See that.
Thanks
 
Old 07-05-2016, 03:27 PM   #4
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Now I read better,how Can I change thecfgmaker to accept v2 ?
 
Old 07-05-2016, 03:29 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,479

Rep: Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939Reputation: 7939
Quote:
Originally Posted by thomazp View Post
Now snmpwalk is working, but don't. The mrtg is installed, but without .cfg file, I can't test the script.
See that.
Yes, I saw it, thanks.
Quote:
Originally Posted by thomazp
Now I read better,how Can I change thecfgmaker to accept v2 ?
You can READ THE DOCUMENTATION I HANDED YOU. It tells you how to do this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting a MRTG server thomazp Linux - Networking 13 07-05-2016 07:02 AM
RHEL 6.5 apache out of the box with mrtg - client denied by server configuration: /var/www/mrtg komradebob Linux - Server 1 06-30-2016 03:06 AM
What is starting lirc in my machine Jykke Linux - Software 5 05-10-2012 04:18 PM
MRTG newbie! Just needing a starting point.... sheykh Linux - Server 1 08-24-2010 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration