Check some values Konica Minolta

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
9acca9
Posts: 10
Joined: Wed Nov 16, 2016 11:12 am

Check some values Konica Minolta

Post by 9acca9 »

Hi.
I have a Konica Minolta bizhub 283. I want to check COUNTERS, INK LEVELS, ERRORS.
Can somebody give me a hand?
Thanks to all.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check some values Konica Minolta

Post by mcapra »

You'll likely need to enable SNMP on the device, then use something like the Nagios plugin check_snmp to query the specific OIDs you want to monitor.
http://manuals.konicaminolta.eu/bizhub- ... -0496.html
Former Nagios employee
https://www.mcapra.com/
9acca9
Posts: 10
Joined: Wed Nov 16, 2016 11:12 am

Re: Check some values Konica Minolta

Post by 9acca9 »

ok, thanks.
Sorry for my ignorance, but can you guide me to "check_snmp to query the specific OIDs".
Thanks
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Check some values Konica Minolta

Post by mcapra »

I'm posting the following under the assumption that I don't need to explain the specifics of how SNMP or Nagios Core themselves work.

In the main nagios-plugins package, there exists a plugin called check_snmp:

Code: Select all

[root@nagios ~]# /usr/local/nagios/libexec/check_snmp
check_snmp: Could not parse arguments
Usage:
check_snmp -H <ip_address> -o <OID> [-w warn_range] [-c crit_range]
[-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries]
[-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter]
[-m miblist] [-P snmp version] [-N context] [-L seclevel] [-U secname]
[-a authproto] [-A authpasswd] [-x privproto] [-X privpasswd]
If you know the OID you need to query that represents one of your required metrics (COUNTERS, INK LEVELS, ERRORS), you can check it using the check_snmp plugin like so:

Code: Select all

/usr/local/nagios/libexec/check_snmp -H some_remote_host -P 2c -C some_community_string -o 1.2.3.4.5.6.7.88.99.00
Where the -o argument represents the OID you are querying. I would have no idea what OIDs specific to your printer/scanner you need to check, though.
Former Nagios employee
https://www.mcapra.com/
9acca9
Posts: 10
Joined: Wed Nov 16, 2016 11:12 am

Re: Check some values Konica Minolta

Post by 9acca9 »

oK, what do you think about this

I use this plugin
https://exchange.nagios.org/directory/P ... ck/details


# ./check_snmp_printer -H xxx.xxx.xxx.xxx -C public -t "CONSUM ALL" -w 25 -c 10
Toner (Black) is at 80% - OK!,Drum Cartridge (Black) is at 98% - OK!,Developer Cartridge (Black) is at 99% - OK!,Developer (Black) is at 98% - OK!,Fusing Unit is at 99% - OK!,Transfer Roller Unit is at 99% - OK!,Ozone Filter is at 99% - OK!,Paper Dust Remover is at 98% - OK!,| 'Toner (Black)'=80;25;10 'Drum Cartridge (Black)'=98;25;10 'Developer Cartridge (Black)'=99;25;10 'Developer (Black)'=98;25;10 'Fusing Unit'=99;25;10 'Transfer Roller Unit'=99;25;10 'Ozone Filter'=99;25;10 'Paper Dust Remover'=98;25;10
root@Nagios:/home# ./check_snmp_printer -H xxx.xxx.xxx.xxx -C public -t "MESSAGES" -w 25 -c 10
Low Paper Tray1!Low Paper Tray2!
root@Nagios:/home# ./check_snmp_printer -H xxx.xxx.xxx.xxx -C public -t "PAGECOUNT" -w 25 -c 10
Pagecount is 347,888.|'Pages'=347888
root@Nagios:/home# ./check_snmp_printer -H xxx.xxx.xxx.xxx -C public -t "STATUS" -w 25 -c 10
OK: Printer status = 3.

Whit this plugin i dont need to know the OID, and its working, as you can see.
But, there is a way to make the printer warn nagios when there is an error instead of the nagios checking every x minutes?
I suppose i need to use SNMP TRAPS
http://manuals.konicaminolta.eu/bizhub- ... -0496.html.

...mmm... how it's that with nagios??

(sorry i dont speak english)

Thanks for your time.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Check some values Konica Minolta

Post by tgriep »

If your printer can be setup to send SNMP Traps to the Nagios server, you can use the instructions in the link below to setup the Nagios server to receive the traps.
http://askaralikhan.blogspot.ca/2010/12 ... agios.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
9acca9
Posts: 10
Joined: Wed Nov 16, 2016 11:12 am

Re: Check some values Konica Minolta

Post by 9acca9 »

Ok, thanks.
But, i dont find de OIDs for my printer. How i can find them? There's some software?

Maybe some of this works?
http://www.the-lan-man.net/wordpress/20 ... -counters/

If yes, how i could do the snmptt.conf.<equipment1> ???

i mean this config file (this is a example of the link that you give me):

EVENT someEvent .1.3.6.1.4.1.6876.0.1 "Status Events" Normal
FORMAT Some full-text description $*
EXEC /usr/local/nagios/libexec/eventhandlers/submit_check_result $R TRAP 1 "$*"
SDESC
Some full-text description
possibly on many lines
EDESC


I just replace the " .1.3.6.1.4.1.6876.0.1 "Status Events" with some OIDS of the link that i put??

Thanks
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Check some values Konica Minolta

Post by tgriep »

Does the printer support sending SNMP Traps?
You usually will have to contact the Manufacturer to get the MIB files for your device.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked