SNMP?

Jamin jragle at unm.edu
Wed Oct 9 18:14:20 CEST 2002


you can also do a /usr/bin/snmpwalk of the device.  If you have the 
correct starting MIB, you can walk through the whole table. 


On Wed, 9 Oct 2002, Tom Hutchison wrote:

> Great idea.  I was wondering if you could do the same with HP LaserJet 
> Printers.  Toner level and/or out of paper.  However I have not been 
> able to get ahold of HP JetDirect or HP Printer SNMP MIBs  I looked 
> everywhere on www.hp.com.  Does anyone know how/where to get HP Printer MIBs
> 
> Thanks,
> Tom
> 
> S. Barbereau wrote:
> 
> >On Wed, Oct 09, 2002 at 04:28:45PM +0200, Jan Johansson wrote:
> >  
> >
> >>Not a direct nagios issue, but i feel the know-how is here. If I have a
> >>MIB for a device, and want to use snmpget (or more to the point
> >>check_snmp to get a value. How do I, from the MIB, deduce which OID or
> >>keyword to query? 
> >>    
> >>
> >You'll need to parse the MIB file ...
> >this can be done either by hand (good luck) or using some tools like scotty/tkinetd (on linux) or getif (on windows)
> >
> >  
> >
> >> 
> >>
> >>I have the standard printing MIB here, and would like to ask a IBM
> >>printer about its toner level (or general status).
> >>
> >>    
> >>
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
> >  
> >
> 
> 
> -- 
>   "The only secure Microsoft software is what's still shrink-wrapped
> in their warehouse..."
> --------------------------------------------------------------------
> Tom Hutchison	             voice: 541-966-3187
> Network Analyst              fax:   541-966-3231
> Umatilla-Morrow ESD          email: thutchis at helper.umesd.k12.or.us
> -------------------------------------------------------------------
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 

----------------------------------------------------------------------
		     I sense much NT in you.
                     NT leads to Bluescreen.
                     Bluescreen leads to downtime.
                     Downtime leads to suffering.
                     NT is the path to the darkside.
                     Powerful Linux is.
----------------------------------------------------------------------



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list