[AGENT++] USM::add usm user() ?

Karl Abicht karl at abicht.info
Wed Jun 29 16:07:43 CEST 2005


Hi,

from Jochen Katz:

If you know the engine_id of the remote agent you can use
USM::add_localized_user() to add the user.

As there is no problem, if the users have the same passwords, I asume
that you want to have user X with password xxx for the manager part and
user X with password zzz for the agent part of your application.

If your agent does not send traps or after it has sent traps to all
possible managers, you can safely add the manager part user to the USM.


My Remarks/Questions:

The engine_ids of the remote agents are unknown, so I can not use
USM::add_localized_user(). But, I've tried it for the local agent user
without success.

Indeed, the name of the user is the same for all remote agents and the local
agent. And, as you assume the passwords for all the agents are different.

I guess I have to bind the security_name with engine_id and the IP address
of the remote/local agents. But, how to retrieve the engine_id from a remote
agent without adding the user to the USM ?

Regards,

Karl

-- 
Dipl.-Ing. Karl Abicht
Eichenweg 11
25582 Hohenaspe

mailto: karl at abicht.net
phone: +49 4893 373115
mobile: +49 172 4566432
site: http://www.abicht.net



More information about the AGENTPP mailing list