Thanks again for your previous responses to previous emails.
Anyhoooooo, I noticed that README.solaris documentation indicated that
net-snmp subagent built on the net-snmp libraries can be used in
conjunction with the Solaris SNMPDX daemon - and that's wonderful since
we don't have to ship the net-snmp daemon in our code drops to
Solaris-using customers.
However, we were wondering if the same can be done on AIX platform -
that is, can the native snmpd daemon on AIX (whatever it is called) also
be used in conjunction with net-snmp subagents?
I read through the README.aix doc and didn't see anything regarding
that. Perhaps that hasn't been tested?
Thanks again for your response,
Randy
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
You probably need to ask the AIX people about this - it isn't a platform
that we have much experience of here. A quick poke around seems
to indicate that the standard AIX server supports SMUX-based subagents.
Unfortunately, the Net-SNMP agent can't run as a SMUX-subagent
(just as a SMUX master, and even that isn't particularly solid).
The two things to ask the AIX people about are either AgentX support
(which is essentially the replacement for SMUX), or "SNMP proxying"
(sometimes called "SNMP forwarding"). If it supports either of these,
then you should be able to link up a Net-SNMP subagent with the
AIX master.
Alternatively, you could tackle this the other way, and run the AIX
server as a "proxied subagent" of the Net-SNMP agent. You'd need
to tweak the AIX snmpd config to listen on a different port (say 6161),
and then use a (Net-SNMP) snmpd.conf line of the form:
proxy localhost:6161 .1.3.6.1.4.1.2
to pass any requests for this subtree off to the AIX server.
> I read through the README.aix doc and didn't see anything
> regarding that. Perhaps that hasn't been tested?
No - I think you're the first.
Please consider writing up your experiences, so we can
include them in future versions of README.aix.
Fame and fortune await you....
(well, a modicum of fame at least - fortune may have to wait)
Dave
Well, if you're running the net-snmp stuff as a "subagent", then
it needs to have some form of "master agent" to be a subagent of.
That's pretty much inherent in the whole idea of "subagents".
(The name is a bit of a giveaway!)
Yes - Section 7 of README.solaris is specifically discussing the
case of running Net-SNMP as a subagent of the native Solaris
snmpdx agent.
> Our problem is that the customer, who uses Solaris, may not, or probably
> won't be thrilled with us having to ship the 'snmpd' daemon with the
> subagent (and the net-snmp libs of course) to run our subagent on their
> boxes.
I'm not sure what you mean by shipping snmpd "with" the subagent.
If you are incorporating a MIB implemented using the Net-SNMP
suite into the Solaris snmpdx framework, then (the net-snmp) snmpd
binary *is* the subagent.
If your customer isn't prepared to run a subagent, then they can't
get the benefit of any information that it provides. And if they _are_
happy to run a subagent, then the steps described in Section 7 lay
out what is required to do this within the Solaris snmpdx framework.
Regardless of what software implements that subagent.
If you want to reduce the complexity of this process, then you could:
a) Compile the suite statically, so your customers don't have
to worry about libraries - just a single standalone binary.
b) Strip out most of the standard Net-SNMP MIB modules
(since this information would presumably be provided by
the Solaris agent). Try "configure --enable-mini-agent"
and add your MIB modules to that.
> I don't expect you guys to perform miracles, Perhaps if snmpdx supported
> agentX, would a net-snmp subagent be able to talk directly to that guy
> instead of having to tunnel through the net-snmp snmpd daemon?
But you don't need *two* Net-SNMP agents - just have a single one, which
sits as a subagent of the Solaris agent.
Dave, as I re-read the README.solaris doc I realized that maybe I
misread and that in fact the net-snmpd 'snmpd' daemon still has to run
along side of the Solaris native 'snmpdx' for a net-snmp subagent to
run? In other words, in part 7 of README.solaris, when it says:
7. Using Sun's SNMP daemon and net-snmp together
Net-SNMP may be used as a subagent in conjunction with Sun's snmpdx
daemon.
To do this, you will need to modify several files,
all located in /etc/snmp/conf.
First, do the following: .................................
Our problem is that the customer, who uses Solaris, may not, or probably
won't be thrilled with us having to ship the 'snmpd' daemon with the
subagent (and the net-snmp libs of course) to run our subagent on their
boxes.
I don't expect you guys to perform miracles, Perhaps if snmpdx supported
agentX, would a net-snmp subagent be able to talk directly to that guy
instead of having to tunnel through the net-snmp snmpd daemon? Or have I
reached the zenith here? 00
--
Thanks again for your response(s).
Randy
proxy localhost:6161 .1.3.6.1.4.1.2
Dave
Therefore, I'm saying that it would be nice if our subagent as described
above wasn't dependant on the net-snmp master agent (snmpd) but rather
could work directly with the Solaris native master agent (snmpdx).
Otherwise, we have to ship the net-snmp master agent (snmpd) with our
subagent. This is what I'm investigating.
Randy
-----Original Message-----
From: dave....@googlemail.com [mailto:dave....@googlemail.com] On
Behalf Of Dave Shield
Sent: Friday, February 01, 2008 10:36 AM
To: Smith, Randy
Cc: net-snm...@lists.sourceforge.net
Subject: Re: Can AIX Native SNMPD Daemon Be Used In Conjuntion With a
NET-SNMP Built Subagents?
On 01/02/2008, Smith...@emc.com <Smith...@emc.com> wrote:
> Dave, as I re-read the README.solaris doc I realized that maybe I
> misread and that in fact the net-snmpd 'snmpd' daemon still has to run
> along side of the Solaris native 'snmpdx' for a net-snmp subagent to
> run?
Well, if you're running the net-snmp stuff as a "subagent", then
it needs to have some form of "master agent" to be a subagent of.
That's pretty much inherent in the whole idea of "subagents".
(The name is a bit of a giveaway!)
Yes - Section 7 of README.solaris is specifically discussing the
case of running Net-SNMP as a subagent of the native Solaris
snmpdx agent.
> Our problem is that the customer, who uses Solaris, may not, or
probably
> won't be thrilled with us having to ship the 'snmpd' daemon with the
> subagent (and the net-snmp libs of course) to run our subagent on
their
> boxes.
I'm not sure what you mean by shipping snmpd "with" the subagent.
If you are incorporating a MIB implemented using the Net-SNMP
suite into the Solaris snmpdx framework, then (the net-snmp) snmpd
binary *is* the subagent.
If your customer isn't prepared to run a subagent, then they can't
get the benefit of any information that it provides. And if they _are_
happy to run a subagent, then the steps described in Section 7 lay
out what is required to do this within the Solaris snmpdx framework.
Regardless of what software implements that subagent.
If you want to reduce the complexity of this process, then you could:
a) Compile the suite statically, so your customers don't have
to worry about libraries - just a single standalone binary.
b) Strip out most of the standard Net-SNMP MIB modules
(since this information would presumably be provided by
the Solaris agent). Try "configure --enable-mini-agent"
and add your MIB modules to that.
> I don't expect you guys to perform miracles, Perhaps if snmpdx
supported
> agentX, would a net-snmp subagent be able to talk directly to that guy
> instead of having to tunnel through the net-snmp snmpd daemon?
But you don't need *two* Net-SNMP agents - just have a single one, which
sits as a subagent of the Solaris agent.