Email alerts are being sent as root user

Claudio claudio at papalina.net
Fri Jul 30 14:55:48 CEST 2004


On Fri, 2004-07-30 at 13:42, Tom Pride wrote:
> Hi, 
>  
> I have just set nagios 1.2 up on a
> server running Redhat 8.0 It is up
> and running beautifully, but the
> alert emails it sends out come from
> root at servername.com rather than
> nagios at servername.com
>  
> Nagios is running as the user
> nagios and it definitely calls the
> notify_by_email command as the
> nagios user, so why would they be
> comming
> through from the root user? Has
> anyone had this problem before? Can
> anyone please give me a fix?
>  
> Thanks
>  
>  
>            Mailround corporate logo


maybe you are runnging the nagios service as root. 
Check the command.cfg file. in there you will find the line with the
command for sneding e-mails. 
the command mail is run by the "nagios service starting user" ( sorry
for this stange phrase :P )


-- 
claudio at papalina.net

www.papalina.net




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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