Build precise queries to find exactly what you need
Press ESC to close
@harmscon
Member Since: May 18, 2011
Favorites0
Views
Projects0
Works well for 3 different brand network printers. I had to make the following changes to get the plugin to run: 1. dos2unix 2. set bash as shell 3.put quotes around MARKER_COLOR to eliminate grep error messages 4.new line after here doc terminator $ diff -b ../../Downloads/firefox/check_snmp_printer_args.sh /usr/lib/nagios/plugins/check_snmp_printer_args.sh 1c1 #!/bin/bash 495a496 > CURRENT_STATUS=0 561c562 if $(echo "$MARKER_NAME" | grep -vqi "$MARKER_COLOR"); then 1022c1023,1024 all_required_binaries > )
Reviewed 14 years ago