Re: hrDevice table and subagent for hr_print?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22/08/07, Mike Harless <[email protected]> wrote:
> Hi, I'm a bit confused if it is possible to use a subagent to support a
> single row of the hrDevice table or not.

Not with the current code, no.   This implementation assumes
everything is handled within the main agent.

You'd have to tweak the hr_print.c code in order to handle this.
Probably by replacing the Init_HR_Print/Get_Next_HR_Print
routines to walk the subagent, and cache the information
locally.   You can then use that local cache in the var_hrprint,
describe_printer, printer_status and printer_errors routines.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.