Ad Widget

Collapse

Access denied for user 'zabbix'@'localhost' when testing bash script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • snetadmin
    Junior Member
    • Aug 2022
    • 12

    #1

    Access denied for user 'zabbix'@'localhost' when testing bash script

    Hi guys,

    I'm running into an issue where I'm unable to run the bash script in the Zabbix dashboard.
    I can run the bash script fine on the server itself but when I test the item, I'm seeing this message on the screenshot shown below.
    Click image for larger version

Name:	image.png
Views:	214
Size:	47.4 KB
ID:	451671
    The test item path on the zabbix agent configuration file is setup correctly. I did notice that the user that's running the zabbix agent is running as zabbix even though I specified it to be run under snetzabbix in the agent configuration file.

    Any ideas on what I can do to make it's running under the user snetzabbix instead of zabbix?
Working...