Hi,
As the official Aruba stack check does not work with the Aruba switches we have, I tried to create a command using centreon_generic_snmp.pl. The command below works just fine on the command line:
/usr/lib/centreon/plugins//centreon_generic_snmp.pl --plugin=apps::protocols::snmp::plugin --hostname=1.2.3.1 --snmp-version='3' --snmp-username=polling --authpassphrase=uaaa --authprotocol=SHA --privpassphrase=uaaa --privprotocol=AES --verbose --mode=string-value --oid=1.3.6.1.4.1.11.2.14.11.5.1.116.1.3.1.14.1 --map-values=''CCCAAABBB2'=>OK' --map-value-other='DOWN' --format-ok='Stack member is: %{details_ok}' --format-details-critical='Stack member status is %{value}' --critical-regexp='DOWN' --verbose
OK: Stack member is: OK
When I add it to web, I get this error:
argument alone at (eval 28) line 189.
Command itself in web is:
$CENTREONPLUGINS$/centreon_generic_snmp.pl --plugin=apps::protocols::snmp::plugin --hostname=$HOSTADDRESS$ --snmp-version='$_HOSTSNMPVERSION$' --snmp-username=$_HOSTSNMPUSERNAME$ --authpassphrase=$_HOSTAUTHPASSPHRASE$ --authprotocol=$_HOSTAUTHPROTOCOL$ --privpassphrase=$_HOSTPRIVATEPASSPHRASE$ --privprotocol=$_HOSTPRIVPROTOCOL$ $_HOSTSNMPEXTRAOPTIONS$ --verbose --mode=string-value --oid=1.3.6.1.4.1.11.2.14.11.5.1.116.1.3.1.14.1 --map-values=''$_HOSTMEMBER1SERIAL$'=>OK' --map-value-other='DOWN' --format-ok='Stack member is: %{details_ok}' --format-details-critical='Stack member status is %{value}' --critical-regexp='DOWN' $_SERVICEEXTRAOPTIONS$
Am I missing something from the comnfiguration? Some special character?