Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

christoph.mueller

Reviews(2)
bychristoph.mueller, March 30, 2018
I think the postfix installer on debian set spermissions after each upgrade. (postfix set-permissions). So changing permission does not have a permanent effect.

If you want to use this plugin after all without changing the owner of /var/spool/postfix subdirectories - then here is what I've done:

# add user nagios to postfix group
usermod -a -G postfix nagios

# add user nagios to postdrop group
usermod -a -G postdrop nagios

# add user nagios to root group (very insecure)
usermod -a -G root nagios

# allow directory listing for all postfix directories
find /var/spool/postfix -type d -exec chmod g+x {} +
bychristoph.mueller, May 25, 2017
Works fine. I've just changed line 356 to add performance data to output:

print "DISK $retour $output|$perf_data\n";