Check_SNMP_Printer woes

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
la_admin
Posts: 2
Joined: Thu Aug 21, 2014 9:47 am

Check_SNMP_Printer woes

Post by la_admin »

Hello everyone,

I have configured our Nagios instance to monitor a Xerox printer with the Check_SNMP_Printer plugin (https://exchange.nagios.org/directory/P ... ck/details), and am receiving information fine. The issue is that it is the wrong information. It is returning the Transfer Belt info on all checks except the paper trays (screenshot1).

If I manually run the command, I get the same response (screenshot2). I have checked the script and the Universal SNMP OIDs are correct. for my printer. If I snmpwalk the OIDs listed, they return expected output.

I am a bit at a loss as to what the issue is. I can only assume something is wrong with the logic?

Any insight i can get on this is greatly appreciated!
Attachments
screenshot2.png
screenshot2.png (5.22 KiB) Viewed 2086 times
Screenshot1.png
Screenshot1.png (9.8 KiB) Viewed 2086 times
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Check_SNMP_Printer woes

Post by dwhitfield »

What version are you using? Once I know the version, I can test this. We didn't write this plugin, so we are unfamiliar with it. jleonard2099@gmail.com is the developer.
la_admin
Posts: 2
Joined: Thu Aug 21, 2014 9:47 am

Re: Check_SNMP_Printer woes

Post by la_admin »

I am using the most recent version, 4.0
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Check_SNMP_Printer woes

Post by avandemore »

While we don't support 3rd party plugins, here is some information on creating your own since you already know how to make it work:
https://nagios-plugins.org/doc/guidelines.html
https://mathias-kettner.de/checkmk_localchecks.html
http://www.yourownlinux.com/2014/06/how ... cript.html
Previous Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Check_SNMP_Printer woes

Post by tmcdonald »

Just checking in since we have not heard from you in a while. Did @avandemore's post clear things up or has the issue otherwise been resolved?
Former Nagios employee
Locked