Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

Directory Tree



bypevsyl, January 24, 2017
After the instalation in a debian nagios server.
Some problem appeared.
1) line 60: Syntax Error: "(" unexpected...
You need to change the First line to #!/bin/bash
2) Some of problem with the consumable. Ie when you say
./check_snmp_printer public CONSUM noir
you have : Error OID not found,maybe your Printer does not support checking this device, call me with Option CONSUM TEST or see help.
The part for consumable code begin at the line 180.
the ID is not correct you need to change -f8 with -f13
3) I have one consumable with 10% and that cause an error.
you need to change the condition in the if. -lt with -le for example : if [ "$STATUS" -le "30" ] and if [ "$STATUS" -le "10" ]

You may not have these errors but me I had. Sorry for my bad english. I will say, I have never develop with bash before.