Hello All,
I've seen some other threads about this, but no resolution. I have a UserParameter that I am trying to implement that works when running locally as the zabbix user, but does not work when testing remotely using the zabbix_get command.
Agent Configuration Line:
UserParameter=app.numusers,/opt/app/logs/scripts/app_numusers.sh
Running Locally:
# su - zabbix
# /opt/app/logs/scripts/app_numusers.sh
398
Testing Using zabbix_get:
# ./zabbix_get -s HOSTNAME.OF.SERVER -p 10050 -k app.numuser
ZBX_NOTSUPPORTED
What can I start checking?
Thanks.
I've seen some other threads about this, but no resolution. I have a UserParameter that I am trying to implement that works when running locally as the zabbix user, but does not work when testing remotely using the zabbix_get command.
Agent Configuration Line:
UserParameter=app.numusers,/opt/app/logs/scripts/app_numusers.sh
Running Locally:
# su - zabbix
# /opt/app/logs/scripts/app_numusers.sh
398
Testing Using zabbix_get:
# ./zabbix_get -s HOSTNAME.OF.SERVER -p 10050 -k app.numuser
ZBX_NOTSUPPORTED
What can I start checking?
Thanks.
Comment