This is a discussion on RE: Net-snmp-users Digest, Vol 11, Issue 25 - SNMP ; Forgot to do reply all.. -----Original Message----- From: M, Somashekhar (Somashekhar) Sent: Wednesday, April 18, 2007 3:15 PM To: 'Dave Shield' Subject: RE: Net-snmp-users Digest, Vol 11, Issue 25 I am getting the engine Id as follows from the machine. ...
Forgot to do reply all..
From: M, Somashekhar (Somashekhar)
Sent: Wednesday, April 18, 2007 3:15 PM
To: 'Dave Shield'
Subject: RE: Net-snmp-users Digest, Vol 11, Issue 25
I am getting the engine Id as follows from the machine.
if [ ! -f $SNMPD_CONF ]
echo "ERROR:: $SNMPD_CONF file does not exists"
engineID=$($ECHO `$GREP -i usmUser $SNMPD_CONF` | $CUT -f 4 -d ' ') >>
The engine id got from this passed to snmptrap command.
Snmptrapd is stopped using "killall snmptrapd" or "kill -HUP snmptrapd"
to re-read the configuration file.
Is there any issue here.
From: firstname.lastname@example.org [mailto:email@example.com] On
Behalf Of Dave Shield
Sent: Wednesday, April 18, 2007 2:57 PM
To: M, Somashekhar (Somashekhar)
Subject: Re: Net-snmp-users Digest, Vol 11, Issue 25
On 18/04/07, M, Somashekhar (Somashekhar)
> /root/net-snmp/bin/snmptrap -e
-u MyUser -A MyPassword -a
> MD5 -x DES -X NewPassword -l authpriv
> running>:162 ''
> This is the command being used.
No - what is the *exact* command?
In particular, what are you using for 'engineId' ?
> Snmptrapd.conf is as follows:
> # net-snmp (or ucd-snmp) persistent data file.
This is the file /var/net-snmp/snmptrapd.conf - yes?
> # Only "createUser" tokens should be placed here by snmptrapd
> engineBoots 3
> oldEngineID 0x80001f880187fefd5b
If this is the only config that you've got, then no - SNMPv3 traps won't
You need to tell it about the SNMPv3 user(s).
> I also tried to add the user using createUser as mentioned as a
> comment in the file.
See the tutorial at
> When we add a v 3 user using createUser and restart the snmptrapd the
> line automatically gets deleted.
The line should be deleted, and replaced by an equivalent 'usmUser'
How exactly are you restarting the trap daemon?
In particular, what is the command used to stop it?
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: