-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo messages #142
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I have to note each time I try to install your srcipts it is some kind of woodoo process, this time too -
I have Zabbix 5 server/agent and I try to start SMART monitoring using your latest script (template 3.4)
On the server using CLI, everything works:
sudo -u zabbix /usr/sbin/smartctl -i -H -A -l error -l background /dev/sda -d sat || true
returns the expected results (with -u zabbixagent, too), detection works, but getting smart parameters in the expected automated process - no. I get such "spam" for each of the detected devices:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
What specific agent setting are required for it to run? Allow to run as root? suid smartctl? what else? may be this "true" also shuold be sudo-ed?
How can I test what is wrong?
The text was updated successfully, but these errors were encountered: