Newbie questions
James Nakamura
naka____Metricom.com
Tue Mar 7 18:41:04 CET 2000
Hi, I've been thrust into "fixing" the SNMP agent for our gateway
application. It
is currently using the CMU code (an ugly mess to be charitable). Anyway,
AGENT++
looks like a much better solution which I'd like to use. From what I've seen
so
far, here are a few questions I have (probably dump questions, but questions
nontheless):
1. Sending traps from the agent: the gateway will notify the agent when it
needs to
send a trap. I see a set of trap objects, but how does one implement the
sending of
traps, and setting the trap receivers?
2. Setting/getting Mib data: The agent and the gateway are two separate
processes that
currently communicate through a TCP socket. AGENT++ appears to assume
that the data
is residently available in the agent. My presumption is that one would
use the multi
threaded version (how do you set that up?) when you send a
process_request. That
way the agent can open a socket and wait for the data. Is that correct?
The only
other option I can think of is make the agent part of the gateway itself.
Are there
any other ways? What is the recommended way?
3. System variables/traps: is there an implementation of system traps (for
load average,
disk space, checking processes are still alive)?
Anyway, I think AGENT++ looks really promising if I could get these things
resolved.
Any help is greatly appreciated.
naka
naka at metricom.com
"I have a dream that one day every valley shall be exalted, every hill shall
be made low, the rough places will be made plain, and the crooked places
will be made straight, and the glory of the Lord shall be revealed, and all
flesh shall see it together."
Martin Luther King
More information about the AGENTPP
mailing list