I've added the check_mailq nagios plugin to a server that needs to have the 
mail queue monitored.  It is in the folder /usr/bin/ and if I run it on the 
server it returns the current queue count... so it works there.

But I cannot get Zenoss to check the mail queue.  I have the path set as 
/usr/bin with ssh and commandUser and commandPassword set to the appropriate 
credentials.

When I check the template in zenoss I get this error:

     /bin/sh: /usr/bin/check_mailq: No such file or directory

The event viewer for this server shows 2 events:

Cmd: /usr/bin/check_mailq -Mpostfix -w 50 -c 75 - Code: 2 - Msg: Misuse of 
shell builtins

Command timed out on device XXX.XXX.XXX.XXX: /usr/bin/check_mailq -Mpostfix -w 
50 -c 75

If anyone has an idea of how to get this to work I would be very grateful!  
THis server has been having mail problems and this will keep me from having to 
log in every 30 minutes to see how its doing.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=31968#31968

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to