check_mailq

Frank Sfalanga fsfalanga at vrcoffl.com
Sat Oct 7 13:51:20 CEST 2006


I've installed and am configuring Nagios v1.3 on Ubuntu server.  I used
"apt-get install nagios" and the majority of setup was done for me.  I
have a qmail server and I'm trying to get the check_mailq plugin to
work.  So far all I'm getting is:

ERROR: is not executable by (uid 109:gid(109 109))

#./check_mailq -h reveals this:

 This plugin uses the system mailq command (sendmail) or qmail-stat
(qmail) to look at the queues. Mailq can usually only be accessed by
root or a TrustedUser. You will have to set appropriate permissions for
the plugin to work.

I've tried setting /usr/sbin/sendmail SUID
I've tried setting /usr/lib/nagios/pluggins/check_mailq SUID

The nagios process is running as user "nagios"

Should I set "nagios" as a TrustedUser?  Does this mean the qmail server
needs a TrustedUser added (nagios I assume)?  Please help.

Anything you got would be greatly appreciated.

Thanks,

Frank


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list