I've been able to configure and compile the open snmp package
Can someone provide inputs on how the snmp daemon can be started here
and how to query the agent.=20
What are the binaries to be run for this purpose ?
From: Michael Baer <baerm@us...> - 2004-10-06 17:04:30
>>>>> "madhavi" == madhavi ravanan <madhavi.ravanan@...> writes:
madhavi> Hi , I've been able to configure and compile the open
madhavi> snmp package successfully,
madhavi> Can someone provide inputs on how the snmp daemon can
madhavi> be started here and how to query the agent. What are
madhavi> the binaries to be run for this purpose ? Regards,
Sorry for the slow reply,
The documentation is pretty poor, but the main binaries are in
app/cr/cr and app/cg/cg. The cr is the Command Receiver otherwise
known as the agent or daemon binary. The cg is the Command
Generator, a tool for doing snmpget's, snmpgetnext's, etc.... Run
cg --help or cr --help for a list of commands.
The cg has been developed more recently than the cr so it is a bit
more mature. Particularly the libcg has been used to allow other
applications to send/receive SNMP traffic.
Configuring the cr can be a bit convoluted. The script
app/cr/snmp-db-init is the configuration that we usually use for
testing purposes. You can see that it's using direct OID values as
input to some tools in tools//snmp-db-add/.
Another place worth looking through is the test/ directory. These
are shell scripts that call app/cr/cg and app/cr/cr to test that
simple commands work. (some of the scripts also are used to test
against a different SNMP stack, netsnmp, http://www.netsnmp.org).
Get latest updates about Open Source Projects, Conferences and News.