This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
snmp agent
- From: Deroo Stijn <S dot Deroo at TELEVIC dot com>
- To: "ecos-discuss at ecos dot sourceware dot org" <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 31 Mar 2009 14:29:14 +0200
- Subject: [ECOS] snmp agent
Hi,
I try to configure the snmp agent for eCOS and have following issue:
As long as I don't put a snmpd.conf file on the flash I can do snmp get requests with community public without problems. (see (3) below)
But if I put a snmpd.conf file on the flash, I receive a timeout when doing a snmp get request. Even with a very simple snmpd.conf file it fails. However, the snmpd.conf file is parsed well. I tried with both version1 (see (1) below) as version3 (see (2) below) authentication, but both give the same behaviour. Does someone know how to configure authentication with snmpd.conf?
KR,
Stijn.
(1)snmpd.conf file for version1:
-------------------------------
rwcommunity stijn
$>snmpget -v 1 -c stijn 10.0.0.82 1.3.6.1.2.1.1.1.0
Timeout: No Response from 10.0.0.82.
(2)snmpd.conf file for version3:
-------------------------------
createUser stijn MD5 "password"
rwuser Stijn
$>snmpget -v 3 -l authNoPriv -u stijn -A "password" 10.0.0.82 1.3.6.1.2.1.1.1.0
Timeout: No Response from 10.0.0.82.
(3)without snmpd.conf file:
---------------------------
$>snmpget -v 1 -c public 10.0.0.82 1.3.6.1.2.1.1.1.0
SNMPv2-MIB::sysDescr.0 = STRING: ucd-snmp-4.1.2/Red Hat eCos
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss