Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Can't connect to local MySQL server through socket '/opt/zimbra/data/tmp/mysql/mysql.sock' (13)
I see the Xinetd is running as nagios user so maybe that's why on that particular command I am getting the error.
If I change it to root would it be dangerous?
thomsany wrote:If I change it to root would it be dangerous?
You know your environment better than us, but the daemon doesn't run as root to reduce security vectors. Most system administrators would likely avoid running any daemon as root unless necessary.
thomsany wrote:This is the error I get:
Please show the full command and output. eg /usr/local/nagios/libexec/check_mysql -s /opt/zimbra/data/tmp/mysql/mysql.sock <entirity of the command> + output
This may be worth asking Zimbra as well, since it sounds like a change has been made based on how they work with the socket. (which could be security related)