Is it possible to to use command substitution and redacted variables with a proxy client? I’m trying to the following but it doesn’t seem to work. The problem is we do not want the SNMP community exposed in Uchiwa
{
"checks": {
"check_snmp_hq_mail_relay": {
"source": "hq_mail_relay",
"command": "/opt/sensu/embedded/bin/check-snmp.rb -h 10.6.100.10 -C :::snmp_community:::",
"interval": 30,
"standalone": true,
"handlers": [ "microsoft-teams" ],
"enable_deprecated_filtering": false,
"snmp_community": "my_snmp_comm",
"redact": [
"snmp_community"
]
}
}
}