-   Linux - Networking (
-   -   Snmp / Cfgmaker problem (

thomazp 06-15-2016 02:54 PM

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

I saw a snmp service(snmptrapd) down. I put it up and the result was the same. ;-(

Habitual 06-16-2016 08:06 AM


telnet 161
Traps it seems use port 162

thomazp 06-16-2016 08:37 AM

Here we Can't use telnet, I tried ssh onstead and seemed working.

thomazp 06-16-2016 09:17 AM

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.

Habitual 06-16-2016 10:20 AM

nc ?

thomazp 06-16-2016 10:25 AM

Didn't understand what it means.

Habitual 06-16-2016 10:49 AM

netcat # since there's no telnet client.


nc -z 161

Habitual 06-16-2016 10:54 AM

How was this cfgmaker installed exactly?
What OS and build is this on?
What version of snmpd?

Can you snmpwalk manually to for the OID?
version 2 I suspect.

thomazp 06-16-2016 11:23 AM

The log isn't enabled.
Comes an error: No security name specified.

Habitual 06-16-2016 11:31 AM

Show us the command used please.

thomazp 06-16-2016 11:37 AM

Two tries:
No log handling enabled - turning on stderr logging
snmpwalk: No securityName specified
Same result

I had used the second to test SNMP connection in the past.

Habitual 06-16-2016 12:17 PM

Is the snmpd.conf on 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:

snmpwalk -v 2c -c mysecretsnmp
So I refer you to

So, on you'll need to configure the "community" (you used "netcomro" earlier?)
and what they'll have access to.

Lots of examples on the web:

thomazp 06-16-2016 12:20 PM

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 ?

Habitual 06-16-2016 12:26 PM


Originally Posted by thomazp (Post 5561977)
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 ?

Test what?
I have only your improper use of the snmpwalk command.
Edited: See above^

You didn't answer:

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.

thomazp 06-16-2016 12:30 PM

I don't have NC command.
The Community is correct.

All times are GMT -5. The time now is 09:38 AM.