LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-16-2016, 12:47 PM   #16
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled

Test the two ways (not ports) .
I've used the snmpwalk command this way in the past to test the snmp connection.

Last edited by thomazp; 06-16-2016 at 01:34 PM.
 
Old 06-16-2016, 01:17 PM   #17
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by thomazp View Post
Test the two ports .
I've used the snmpwalk command this way in the past to test the snmp connection.
That's fine. But you still aren't answering my questions.
I will not help you any further. Good Luck.
 
Old 06-16-2016, 01:20 PM   #18
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Which questions?
I thought I had answered all you asked, didn't I ?

Last edited by thomazp; 06-16-2016 at 01:22 PM.
 
Old 06-16-2016, 02:01 PM   #19
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
The first three in http://www.linuxquestions.org/questi...0/#post5561920 ?
Skip the snmpwalk Question.

Answer or not.
Maybe it doesn't matter.
Maybe I'm just cranky, or irritable today.
I don't know.

Nothing personal, I just like actionable facts instead of the "Nerd Jeopardy" with back and forth 100 questions.
Our time here is valuable.
Our experience is invaluable.
So if asking for help, be prepared to be questioned. There is usually no "one-size-fits-all" answer.
This is true all over the web. Queries for help are usually replied to with "gimme the facts" if they were'n't supplied.
Never say never.

Here's some things to consider at http://catb.org/~esr/faqs/smart-questions.html

Have a great day!

Someone else will be along to help.
 
Old 06-16-2016, 02:07 PM   #20
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Look this:
#snmpwalk -OS -c netcomro -v 1 172.27.252.3
Timeout: No Response from 172.27.252.3
Can I say the Snmp connection is blocked in the way ?
 
Old 06-16-2016, 02:16 PM   #21
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Sorry,
The info you asked:
OS is Red Hat Enterprise 16, 64 bits(Intel based)
The MRTG was installed using yum command.
Is that you asked ?

Last edited by thomazp; 06-16-2016 at 02:18 PM.
 
Old 06-17-2016, 12:52 PM   #22
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
The command used:
#snmpwalk -OS -c netcomro -v 172.27.252.3
The response:
Timeout: No response from <address above>
What do you think ?
 
Old 06-20-2016, 11:27 AM   #23
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I asked about The router SNMP Connection.
The device isn't accepting The connection, they told me to wait they are going to verify this. I put when Have News. Tks
 
Old 06-20-2016, 03:10 PM   #24
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Is another way to Ensure The router isn't accepting snmp connections ? I am sure of this, but I need to show it to network profissional here.
Tks
 
Old 06-20-2016, 04:44 PM   #25
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Code:
telnet <host> 161
 
Old 06-20-2016, 05:20 PM   #26
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I will do it tomorrow.
Post the results here.
Thanks
 
Old 06-20-2016, 06:09 PM   #27
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
The only result necessary is a successful connection.
 
Old 06-21-2016, 04:17 AM   #28
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I remembered this night:
There, we can't use telnet , only SSH.
Is it possible SSH <host> port ?
I saw after you sent, SNMP uses ports 161 and 162. Is that correct?
Tks

Last edited by thomazp; 06-21-2016 at 04:57 AM.
 
Old 06-21-2016, 07:54 AM   #29
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by thomazp View Post
I remembered this night:
There, we can't use telnet , only SSH.
Is it possible SSH <host> port ?
I saw after you sent, SNMP uses ports 161 and 162. Is that correct?
Tks
You can try
Code:
ssh <host> -p 161
 
Old 06-21-2016, 08:11 AM   #30
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
root@li1964 ~]# ssh -p 161 172.27.252.3
ssh: connect to host 172.27.252.3 port 161: Connection refused
[root@li1964 ~]# ssh -p 162 172.27.252.3
ssh: connect to host 172.27.252.3 port 162: Connection refused

The device really isn't accepting SNMP connections.
I asked to correct this to allow this monitoring.
Thanks

Last edited by thomazp; 06-21-2016 at 01:52 PM.
 
  


Reply

Tags
mrtg, snmp



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
SNMP Configuration problem - able to snmp outbound, unable to snmp inbound. sumncguy Linux - Desktop 2 04-28-2015 09:26 AM
MRTG cfgmaker Error SNMPwalk problem manish_2479 Linux - Networking 3 07-10-2007 03:48 PM
Cfgmaker for Mrtg pkrishna10 Linux - Newbie 0 12-05-2004 02:57 AM
cfgmaker for mrtg. pkrishna10 Linux - Wireless Networking 0 12-05-2004 02:02 AM
cfgmaker for squid assooy Red Hat 3 07-28-2004 11:37 AM

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

All times are GMT -5. The time now is 10:29 AM.

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