Closed gitbro23 closed 1 year ago
Have a look at the help and set different tray messages. Means, set a check for every tray and disable warning on the Bypass tray
Thanks for the quick answer. Is it possible to give me an example? I'm very new in that topic. Sorry for the inconvenience.
check_snmp_printer --help
gives you an oversight over the parameters you need to us.
Therefore, you need to set up distinguished checks for every tray.
Hi -
You append the --nofeeder option to your command like so:
check_snmp_printer -H \<HOST> -v 2 -C \<COMMUNITY> --trays --nofeeder
Thank you for your reply!
In the case of the HP Printer I was able to resolve the issue. Because the manual feeder is tray 1.
But in the case of the Konica Minolte and the Toshiba copier the --nofeeder Option doesn't resolve the critical warning.
Here is my output:
As you can see. It removes only the tray 1
Glad it worked out for the HP printer. I am also noticing a similar issue with my Xerox copiers. Let me poke around in the code.
I found what the ultimate problem is. I need to rewrite the function a bit. Give me a bit to work on that.
Great! Thank you for your help!
Please grab this devel version and let me know if that resolves your issue:
https://github.com/Tylan/check_snmp_printer/blob/devel/check_snmp_printer
The issue is resolved now! See my screenshot
Perfect! Closing out issue then :)
Issue resolved by releasing a new version of the plugin!
Hello Tylan, I have implemented your SNMP printer check in my icinga2 environment. After some set up trouble, I got it finally work. But I have the issue, that my Konica Minolta and my Toshiba printers are showing a critical warning for the Bypass Tray.
But this Tray is the manual feeding one and its mostly empty. So, this state is not critical when its empty if you understand me.
How can I exclude or manually set this tray to always OK?
Thank you very much in advance.
Best Regards Basti![06-03-2023_16-08-55](https://user-images.githubusercontent.com/127123174/223149937-3abe067e-64c4-4643-b531-44a90b224138.jpg)