Once upon a time, Evgeny N.Stepanov <[EMAIL PROTECTED]> said: > Used nagios for monitoring my network for couple of years for now. And > never bothered to receive notifications emails from "www-data" user > (which nagios is running under). And now i found out that there is no > place for setting up some fancy name like "Monitor Server" or > whatever. Is there any config option for that? There is admin_email in > main config file, but it's not what i want. Also tried to use > /bin/mail option of adding headers to mail message, it even works, but > it's not the right way i think. Gotta be some other way. Anybody > knows?
Well, that's the only way to do it (adjust the notify-by-email commands). Instead of using /bin/mail, I'm using /usr/sbin/sendmail; the printf part includes the correct headers. -- Chris Adams <[EMAIL PROTECTED]> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] 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
