Re: get object value in alarm.c

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, 2005-12-30 at 08:37 -0200, Jeferson Schenkel wrote:
> The  function below in Rmon/alarm.c intends to get a value of an
> object to monitoring it

The Rmon module has never been supported, and has recently been
removed.


> How can I get object of externals mibs

With the latest (5.3) release, there are a set of utility routines
"netsnmp_query_get()" and similar.  If you include a config directive

	iquerySecName   someUser

(and create/configure access for that user), you can use

	netsnmp_query_get( varbind, NULL );

to make an internal (callback) query for the specified varbind.

See the (new) DisMan Event-MIB and Schedule-MIB implementations
for more complete examples of this in use.

Dave


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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.