Closed fma-bk closed 3 years ago
Hi, thanks for this :) I do need a bit more OID information from you to finish this.
all of .1.3.6.1.2.1.43 would be preferable as there are a bit more OID's inside there I search through, one namely: .1.3.6.1.2.1.43.8.2.1.11.1
Also, for color / b&w specific pagecounts I need this oid .1.3.6.1.4.1.367
I currently don't report on 1.3.6.1.2.1.25.3.5.1.2 OID, but I will add this to the to-do list.
There you go :) oids.txt
But for 1.3.6.1.4.1.367.1.1 i dont think there is much information in it... i dont understand the oid "system" much so i dont know where to look for the page counts. Maybe the page counts are only in the RICOH specific oid/mibs?
Thanks for the list :) As for 1.3.6.1.4.1.367 - I'm looking for from the base. It appears your scanning for 1.3.6.1.4.1.367.1.1 - I need it from just 367 on - it should (hopefully) be a comprehensive list of information.
Im querying the printer with this command: snmpwalk -Os -c public -v 1 192.168.0.154 and the output contains only those few 1.3.6.1.4.1.367 oids. Any suggestions?
Hi, i got this from our Service-Partner:
.1.3.6.1.4.1.367.3.2.1.2.19.5.1.9.1 | Property Counter: Machine Total .1.3.6.1.4.1.367.3.2.1.2.19.5.1.9.21 | Property Total Prints: Color .1.3.6.1.4.1.367.3.2.1.2.19.5.1.9.22 | Property Total Prints: Black & White
Hope that helps?
Yes, perfect, thanks! Still working on the code, should have an update sometime this week.
Great! I'd love to test it next week.
Hi! I've created a patch for you to test. Could you download this patch and apply it? The code might need some tweaks so let me know if something doesn't seem right. Thanks!
patch check_snmp_printer < check_snmp_printer-ricoh-patch.txt
Hi, mostly works as we wanted it, we really apriciate your help :)
"check_snmp_printer --host=192.168.x.y --model" Plugin-Ausgabe: "RICOH MP C3004ex, Serial #" The script only outputs # as serialnumber. You can find the serialnumber in iso.3.6.1.2.1.43.5.1.1.17.1 = STRING: "C718XXXXXXX" -> you are querying ".1.3.6.1.2.1.43.5.1.1.17" in the code
Maybe dont check the Bypass Tray (couse its always empty) or disable per additonal parameter?
check_snmp_printer --host=192.168.x.y --trays Is it possible to check the paper in the trays but never get critical warnings or errors? if we set -c 0 -w 0 we get critical when the paper is empty (which is ok, because the users have to refill, but is bad for the statistics ;) )
Great! Glad it mostly works :) Thanks for the feedback, let me look into your bullets and see what I can do :)
Add this patch to the current patched check_snmp_printer and let me know how it works out. I was able to get all your bullet requests in :) Thanks for spotting the typo on the serial OID! 👍
use the --nofeeder option to stop checking the manual feeder tray and -c 0 -w 0 will now make the trays have an OK status plus still report on the remaining % left.
patch check_snmp_printer < check_snmp_printer-ricoh-patch2.txt
Almost forgot...you'll also need to patch the printers.conf file to accept the new --nofeeder option:
patch printers.conf < printers-conf-patch.txt
just following up - did that patch address everything for you?
Yes, it behaves as we expected it. Thanks for your support. By the way, do you want to code support for Brother printers too, we have one here for testing?
Great to hear! Sure, I'm all about adding support for printers :)
could you provide the snmpwalk for: 1.3.6.1.2.1.43 1.3.6.1.4.1.2435 (I believe this is the brother specific one so I can get the color and b&w page counts) 1.3.6.1.2.1.25.3.2.1.3.1
Resolved. Will be in 1.2.0 release.
Hi, it would be great if you could add support for Ricoh Printers. I allready extracted some OID infos if that helps for RICOH MP C3004ex. If you need any help just ask :)
Kind Regards Florian ricohoid.txt