Build precise queries to find exactly what you need
Press ESC to close
This doesn’t actually work, although you may not realise it because it *seems* to work just fine.
Postfix queue directories are only readable by root and the postfix user. NRPE commands are executed by the nagios user, which cannot see inside postfix’s queue directories.
Normal user, shows 0 in all queues: $ /usr/lib/nagios/plugins/check_postfix_queue OK: incoming queue messages: 0 active queue messages: 0 maildrop queue messages: 0 deferred queue messages: 0 bounce queue messages: 0
Nagios user, shows 0 in all queues: $ sudo -u nagios /usr/lib/nagios/plugins/check_postfix_queue OK: incoming queue messages: 0 active queue messages: 0 maildrop queue messages: 0 deferred queue messages: 0 bounce queue messages: 0
As root, reports correct numbers: $ sudo /usr/lib/nagios/plugins/check_postfix_queue OK: incoming queue messages: 0 active queue messages: 1358 maildrop queue messages: 0 deferred queue messages: 2922 bounce queue messages: 0
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!