- Change the user info
- chfn nagios
- in particular you want the Full Name.
- Setting the @domain.local took me as a non-linux guy awhile to find. I did find a LOT of conflicting / wrong info on this though.
- The appliance at least has "postfix" out of the box
- cd /etc/postfix/
- nano main.cf
- scroll down to the bottom
- modify "myhostname" with what you want the @domain.local to say
- if you didn't earlier change the relayhost to your smtp server
- Ctrl X to end, Y to save, just hit Enter to keep the same file name.
- postfix reload (restarts the service)
- Mine comes back as "Alerts" from nagios@mydomain.com (I couldn't find where to change it from nagios, and didn't care to spend the time on it)
Note: I also just found this which "helped", but wasn't completely correct as I found that myorigin and mydomain did not do what I would have expected. http://www.opsview.com/technology/guides-help/opsview-configuration/emailsmtp
No comments:
Post a Comment