Wow!   Thanks for all the responses...for right now, since all we need is
the device type and model... it looks like David Boyes' suggestion is the
easiest to try first.  Thanks again everyone for your help.

susan

<  David Boyes' response >

>You need the snmptools package in your distribution (may be part of the =
>net-snmp package, depending on your distribution).
>
>Once you install that, you have a program called 'snmpget'. This will =
>retrieve the value of a MIB variable to stdout.=20
>You want to retrieve the .vendorID and .deviceType fields from the =
>standard system MIB (you can look those up either in the MIBs for your =
>printers, or in the SNMP RFCs).
>
>You then need something like the following pseudo-code (no carping about =
>backticks or csh syntax, please. I've heard it, and so has everyone =
>else):
>
>touch output.file
>foreach i in (`cat ipadresslist.file`)
 >   snmpget $i system.vendorID >> output.file
 >   snmpget $i system.deviceType >> output.file
>end
>
>The syntax of the above is off the top of my head, so check the man =
>pages, but hand something like this a file of IP addresses or host names =
>to try, and the output file should contain the responses you want. If =
>you replace the snmpget program with snmpwalk, you'll get everything =
>that printer knows about itself -- caution: this may slow or stop =
>printing on some printers with limited CPU resources.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to