riskersen / Monitoring

Monitoring plugins wich are Nagios/icinga compatible
65 stars 113 forks source link

Ricoh Monochrome not reporting #34

Open nota141 opened 7 years ago

nota141 commented 7 years ago

Hi

Loving your printer monitoring for all printers but our couple of monochrome Ricoh printers are not working.

Setup

define command {
    command_name check_ricoh_bw
    command_line /usr/lib/nagios/plugins/check_printer '$HOSTADDRESS$' public v2c toner_ricoh_monochrome 1 .2 .1
}
define service{
        use                     generic-service        
        hostgroup_name          ricohbw         
        service_description     Toner Black Status            
        check_command           check_ricoh_bw       
        normal_check_interval   10      
        retry_check_interval    1       
        notification_interval   1440    
        }

Status Retuned : UNKNOWN -

Have i got something wrong or is there a bug..

riskersen commented 7 years ago

Hi Nota141,

could you please do a snmpwalk on .1.3.6.1.4.1.367.3.2.1.2.24.1.1.3 and .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5 and provide the output?

Best regards Oliver

nota141 commented 7 years ago

HI

the two printers

printer 1 = Aficio SP 3510DN snmpwalk printer1 -c public -v 2c .1.3.6.1.4.1.367.3.2.1.2.24.1.1.3 iso.3.6.1.4.1.367.3.2.1.2.24.1.1.3.1 = STRING: "Black Toner" snmpwalk printer1 -c public -v 2c .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5 iso.3.6.1.4.1.367.3.2.1.2.24.1.1.5.1 = INTEGER: 25

printer 2 = RICOH Aficio SP 4310N snmpwalk printer2 -c public -v 2c .1.3.6.1.4.1.367.3.2.1.2.24.1.1.3 iso.3.6.1.4.1.367.3.2.1.2.24.1.1.3.1 = STRING: "Toner" snmpwalk printer2 -c public -v 2c .1.3.6.1.4.1.367.3.2.1.2.24.1.1.5 iso.3.6.1.4.1.367.3.2.1.2.24.1.1.5.1 = INTEGER: 30