You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
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:
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: