Easier way to make nagios send mail as different user?

Drew Weaver drew.weaver at thenap.com
Wed May 28 13:50:05 CEST 2008


                The two ways I've come up with to make nagios send notifications as a different user are:

Write a wrapper which allows mail to be sent with normal headers or run nagios as a different user, are there any different options? The mail command in linux/unix appears to be a little bit limited without a parameter to specify the from address.

Any advice?

-Drew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080528/32e4bf15/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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