I have two HP printers installed and configured via cups+hplip, local printing works.
Network sharing of these printers fails. After reading the following guide: http://hplipopensource.com/node/216, I have tried
snmpwalk -Os -c public -v 1 127.0.0.1 1.3.6.1.4.1.11.2.3.9.1.1.7.0
It tells I should have seen something like
enterprises.11.2.3.9.1.1.7.0 = STRING:
"MFG:Hewlett-Packard;CMD:PJL,MLC,BIDI-ECP,PCL,POSTSCRIPT,PCLXL;MDL:hp
LaserJet 3380;CLS:PRINTER;DES:Hewlett-Packard LaserJet
3380;MEM:23MB;COMMENT:RES=1200x1;"
but in my case the output is empty.
Meanwhile, SNMP is running and works somehow: the same command without OID
snmpwalk -Os -c public -v 1 127.0.0.1
gives tons of stuff like
hrSWRunPerfCPU.1746 = INTEGER: 0
hrSWRunPerfCPU.1761 = INTEGER: 1
hrSWRunPerfCPU.2623 = INTEGER: 3
hrSWRunPerfCPU.2628 = INTEGER: 18
hrSWRunPerfCPU.2697 = INTEGER: 203
hrSWRunPerfCPU.2698 = INTEGER: 2
I have tried much searching on the net about SNMP, found a lot of developer information about protocol architecture and such, but almost nothing about configuring and troubleshooting. Probably my admin skills are not enough to get past this problem myself.
So, the question is: how could I make HP printers appear in snmpwalk output? Maybe someone more experienced in this subject could give some advice?
The file /etc/snmp/snmpd.conf has the following config parameters:
mibs ALL
rocommunity public 127.0.0.1
rocommunity public <our.local.subnet>
dontLogTCPWrappersConnects yes
The file /etc/cups/snmp.conf:
Address @LOCAL
Community public
The installed packages:
<name>:/ # rpm -qa | grep snmp
libsnmp30-5.7.3-3.1.x86_64
snmp-mibs-5.7.3-3.1.x86_64
net-snmp-5.7.3-3.1.x86_64
<name>:/ # rpm -qa | grep cups
python-cupshelpers-1.4.5-2.5.1.noarch
cups-filters-foomatic-rip-1.0.58-2.11.1.x86_64
cups-1.5.4-21.9.1.x86_64
cups-pk-helper-0.2.5-4.1.4.x86_64
cups-filters-ghostscript-1.0.58-2.11.1.x86_64
cups-devel-1.5.4-21.9.1.x86_64
cups-libs-1.5.4-21.9.1.x86_64
cups-client-1.5.4-21.9.1.x86_64
python-cups-1.9.66-2.1.3.x86_64
cups-libs-32bit-1.5.4-21.9.1.x86_64
<name>:/ # rpm -qa | grep hplip
hplip-sane-3.14.6-2.2.4.x86_64
hplip-3.14.6-2.2.4.x86_64
hplip-hpijs-3.14.6-2.2.4.x86_64