TOP LEVEL CATEGORIES
EXPLORE
Description:
Universal printer check. Check for specific consumables or report on all. Query model/serial #, event messages, tray status and much more!
Originally based on Monitoring Solutions’ check_snmp_printer, this provides friendly output, quick execution and thorough pre-flight checking.
Current Version
4.0
Last Release Date
2016-06-09
Compatible With
Owner
Jason Leonard
License
GPL
Version 3.141592 Script
Version 4.0 Script
Version History
Please provide comments with your rating so I can know how to help you or what might be wrong with the plugin.
As I noted in our e-mail correspondence, your syntax for running the command is incorrect. Please consult the documentation for more help, but the commands I provided you in e-mail should work.
#1 should not be needed with the latest versions of the plugin, but yes I have received a few complaints about dos2unix before. That's what happens when I don't have a Linux workstation at my company :) #2 is needed for Ubuntu machines, yes. All other distros use BASH or an interpreter that works with the plugin. #3 should be fixed already in the latest version of the plugin. I will have to investigate #4 but have not heard other complains about this.
Your command definition should look like this: define command { command_name check_printer command_line $USER1$/check_printer $HOSTADDRESS$ $ARG1$ $ARG2$ }
Thanks for the note, is UTF format a problem for Linux? My CentOS server has never had a problem with it. Unfortunately, I do most of my work, including file upload, on a Windows box. I do not have a Linux workstation at work and do no get to work on the plugin outside of work.
Thanks for pointing out you had this problem. While my files worked fine in either Windows or CentOS, it could be that WinSCP was converting the file for me without realizing it. The file that is uploaded NOW has been converted to UTF-8 format first, so please download to get the latest fixes!
The original file was indeed created in Windows. It appears WinSCP may be converting files for me when transferring to my CentOS box. You should see the errors go away if you convert the file using dos2unix or similar programs. I use Notepad++ as an editor and it easily converts between UTF and ANSI formats as well. Please download my latest version, 1.6, which has some bugfixes and was converted to UTF-8 before uploading. I really hope you will try my script again and adjust your rating after you can get it working.
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.