On 21/02/2008, Padala <[EMAIL PROTECTED]> wrote: > I am writng an agent simulator.I need to implement trap for printer toner > level.It seems there is no snmp standard for this trap.
What about the printerV2Alert, in the IANA-PRINTER-MIB (RFC 3805) ? The prtAlertCode object can indicate fifteen different warnings/errors relating to ink and toner alone! > Please give me the logic to find toner level or > approximate calculations. I'm sorry - we can't do that. How you detect the toner level (and whether this is even possible) will depend on the O/S you are running, the printer hardware, and how closely these are linked. You haven't said *anything* about what printer(s) you are monitoring, or any other details about your enviroment. In fact, I doubt we would be able to help even with this information. This list can only provide support with the SNMP-side of things. How the agent gets information from the underlying system is really out of our scope. You'd do better talking to the manufacturer of your printer, to find out from them what APIs exist for querying the printer hardware. You could then insert this call into the Net-SNMP agent MIB module code. That side of things we could probably help you with. But finding out how to get hold of this information is up to you. It's not really an SNMP issue at all. Dave ------------------------------------------------------------------------- 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
