Re: printer mib

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, 2006-01-31 at 21:24 +0000, xuemei wrote:
> I wonder does net-snmp agent support printer mib
> like rfc1759printer.mib

No.
Such MIBs are usually implemented within the printer
itself, rather than on a general-purpose computer
with a printer attached.

There's nothing in principle to prevent someone
implementing this MIB using the Net-SNMP agent.
The hardest part would be retrieving the necessary
data from the printer itself, but if you could do
that, then implementing the MIB should be relatively
straighforward.

But I'm not aware of anyone having done this - and
certainly not submitting the code for distribution.



> we need to connect to a subagent who already has that feature,
> or even to extend the agent by writing up the c code....

That would be the most likely ways forward, yes.



> If to go with the subagent scenario is the choice,  where
> to get information on how to configure and run the master
> and subagent and related aspects of this topic?

The first thing to consider would how to get hold of the
information that you wish to report.   That's typically
the hardest bit of implementing a new MIB - not least because
it's very specific to both the MIB involved, *and* the
hardware/OS that you're using.

Once you've managed to retrieve this information, then
come back to us, and we'll try to guide you as to linking
this in with the master agent.

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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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.