I have qmail running on a separate server from nagios. I have mailq set up to check the status of qmail. This is the entry in checkcommands.cfg:
command_line $USER1$/check_mailq -w 2000 -c 2500 -M qmail
Nagios gives me this error on the interface:
ERROR: is not executable by (uid 502:gid(502 502))
Do i need to create a user on the mail server with that uid and give it permissions to execute qmailctl? Or is it something else? Thanks for the help.