Re: Net-snmp-users Digest, Vol 11, Issue 25

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 18/04/07, M, Somashekhar (Somashekhar) <[email protected]> wrote:
> I am getting the engine Id as follows from the machine.
>
> function getEngineID()
> {
>   SNMPD_CONF=/root/net-snmp/snmpd.conf
         [snip]


> The engine id got from this passed to snmptrap command.

So you are using the engineID of the *agent*, not the engineID of the
trap receiver.

> Is there any issue here.

Yes.
Please read the tutorial page that I mentioned, where this is discussed
in some detail.



> Snmptrapd is stopped using "killall snmptrapd" or "kill -HUP snmptrapd"
> to re-read the configuration file.

Hmmm....   That should be working.

Please try shutting down the trap daemon altogether,
then edit /var/net-snmp/snmptrapd.conf to add the createUser line.
*Then* restart snmptrapd again.

What do you see in snmptrapd.conf now?

Dave

-------------------------------------------------------------------------
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.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.