Snmp / Cfgmaker problem
# cfgmaker netcomro@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: 2076299575 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 I saw a snmp service(snmptrapd) down. I put it up and the result was the same. ;-( |
Code:
telnet 172.27.252.3 161 http://catb.org/~esr/faqs/smart-questions.html |
Here we Can't use telnet, I tried ssh onstead and seemed working.
|
I ask to see if The router is accepting both 161 and 162 , also along the route.
They will do it afternoon today and I post the results here. Tks |
nc ?
|
Didn't understand what it means.
|
netcat # since there's no telnet client.
https://www.digitalocean.com/communi...tions-on-a-vps Code:
nc -z 172.27.252.3 161 |
How was this cfgmaker installed exactly?
What OS and build is this on? What version of snmpd? Can you snmpwalk manually to 172.27.252.3 for the 1.3.6.1.2.1.1 OID? version 2 I suspect. |
The log isn't enabled.
Comes an error: No security name specified. |
Show us the command used please.
|
Two tries:
snmpwalk 172.27.252.3 1.3.6.1.2.1.1 No log handling enabled - turning on stderr logging snmpwalk: No securityName specified And snmpwalk 172.27.252.3 Same result I had used the second to test SNMP connection in the past. |
Is the snmpd.conf on 172.27.252.3 configured for access ?\
Maybe it's time I ask you what you are trying to achieve. What is the goal? You're using snmpwalk incorrectly: Example: Code:
snmpwalk -v 2c -c mysecretsnmp 172.27.252.3 1.3.6.1.2.1.1 So, on 172.27.252.3 you'll need to configure the "community" (you used "netcomro" earlier?) and what they'll have access to. Lots of examples on the web: https://duckduckgo.com/?q=snmp+walk+...e+linux&ia=web |
I asked them to verify for me, they will answer this afternoon.
Is there any way to test and tell them the problem is there ? |
Quote:
I have only your improper use of the snmpwalk command. Edited: See above^ Also: You didn't answer: http://www.linuxquestions.org/questi...0/#post5561920 So, I'm waiting on that before I invest too much more time. Make certain ports 161 and 162 are open on the snmp host being queried and the client machine doing the query. |
I don't have NC command.
The Community is correct. |
All times are GMT -5. The time now is 12:59 AM. |