Antwort: RE: mail address for notifications
srunschke at abit.de
srunschke at abit.de
Mon Aug 29 09:52:01 CEST 2005
nagios-users-admin at lists.sourceforge.net schrieb am 29.08.2005 02:11:18:
> Im trying to switch mail to sendEmail but the command line parameter for
the
> recipients is not the same and sendEmail is not working right now.
>
> How can I find out the expanded command line that nagios is running when
> sending the notifications?
It's all in the misccommands.cfg
Actually it is not Nagios' responsebility to control the sender
email address, but that of your system. If you are sending as
root at locahost it shows that your sendmail is not fully configured.
What you might want to do is either fix your sendmail installation
(no, I'm not going into details how to do that), or change
misccommands.cfg. /sbin/mail becomes /sbin/sendmail and you
might want to add -fnagios at my.mailserver.is.broken.com to force
the envelope-sender. Note that this only works if Nagios is run
under a user that has rights to change the envelope in sendmail.
-> man sendmail
regards
sash
--------------------------------------------------
Sascha Runschke
Netzwerk Administration
IT-Services
ABIT AG
Robert-Bosch-Str. 1
40668 Meerbusch
Tel.:+49 (0) 2150.9153.226
Mobil:+49 (0) 173.5419665
mailto:SRunschke at abit.de
http://www.abit.net
http://www.abit-epos.net
---------------------------------
Sicherheitshinweis zur E-Mail Kommunikation /
Security note regarding email communication:
http://www.abit.net/sicherheitshinweis.html
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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