Ok, I created a script file called: check_sharp_81 here are the contents:

a=snmpwalk -v 1 -c public | grep ''
echo $a | awk -F: ‘{ print $4 }’

It prints the status of the printer, the preceding command returns “Ready.”

I created the following command:

define command {
command_name check_sharp_81
command_line $USER11/check_check_sharp_81

The command runs, but the Status Information Box simply says: (null)

The permissions are set correctly and nothing is logged.

I’m lost.




I corrected the file name, but still returning (null) status information


I put the full path at it’s working now. Sorry for the post.