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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
It seems to be working now! I had to add the www user to the nagios group.
I do have one more question though
I need to monitor a few milter services (ClamAV, Spamassasin, and OpenDKIM). These all use UNIX sockets. I have tried to use check_tcp for this but keep getting a permission denied error in Nagios.
Any ideas? I tried adding the nagios user to the Postfix group but this didn't help.
It is most likely the permissions on /var/run/dkim-filter/dkim-filter.sock.
You may be able to fix this by editing the init script for dkim-filter or changing the umask settings.
Alternatively, you could use sudo in your command and create a sudoer rule to elevate the permissions of the check.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
abrist wrote:It is most likely the permissions on /var/run/dkim-filter/dkim-filter.sock.
You may be able to fix this by editing the init script for dkim-filter or changing the umask settings.
Alternatively, you could use sudo in your command and create a sudoer rule to elevate the permissions of the check.