Check_snmp_Bluecoat_SG_usage (Return code of 255 is out of b

Hi there all!

I’m having a problem with a plugin used to read some data from my BlueCoat_SG

When I run the command in the terminal, the output is just fine…

[quote]./check_snmp_BlueCoatSG_usage public cpu 80 90

However when in my webinterface I get the error: (Return code 255 is out of bounds)

My command in command.cfg looks like this:

*# ‘check_snmp_BlueCoatSG_usage’ command definition
define command{
command_name check_snmp_BlueCoatSG_usage
command_line $USER1$/check_snmp_BlueCoatSG_usage -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
And my service definition looks like this:

*# Monitor CPUUsage via SNMP

define service{
use generic-service ; Inherit values from a template
host_name BlueCoat_SG
service_description CPUUsage
check_command check_snmp_BlueCoatSG_usage! public cpu 75 90

Can anyone shine a light on this please?

Thanks in advance!