Comments (7)
Hello Jason,
I recently started using your docker image, works great but I'm unable to send mail. Is this what happens if you don't set the Mail_RELAY_HOST? Also is it possible to configure a username and password for say if you are using Gmail as your relay?
from docker-nagios.
After much tests and checks I've found something interesting.
My configuration in the nagios didn't have the "From" this this would not work.
Secondly the mail won't get out due to the postfix configuration (at least that is what I found)
I did change the /etc/postfix/main.cf configuration with my own relay and allowed relay IP's
If you think this is relevant - Please tell me and I will provide a new docker file with params that will help with this configuration when you create the docker instance (I also will add another user for nagios to solve the issue that this only work with nagios user).
from docker-nagios.
I also ran into the same issue. If possible please share the Dockerfile.
from docker-nagios.
I believe this is now solved from commit 3977816 (latest build on docker hub) Please re-open if that's not the case.
from docker-nagios.
Hi, unfortunately its still not working with a clean new installation. As BelGoat already mentioned its because of a missing "relayhost =" in the main.cf of postfix. If I add manually the IP of my Docker host where a Mailserver is running its working as expected.
Is it possible to put this config to an ENV variable? So everybody could configure the relay host by setting the IP to ENV_RELAYHOST for example.
from docker-nagios.
With the latest build (once it's build) you should be able to set -e MAIL_RELAY_HOST to fix this, I'm not seeing this myself, the MX delivery is working as expected. Please let me know if this doesn't solve your issue.
from docker-nagios.
Great, its working! Thanks a lot! 👍
from docker-nagios.
Related Issues (20)
- Include rsync HOT 4
- Update to Nagios Core 4.4.7 HOT 3
- ssh connection? gns3 HOT 2
- Error: Failed to create IO broker set: Cannot allocate memory HOT 6
- Nagios script request : check_apc.pl HOT 1
- Apache2 and NSCA not removing PID on reboot HOT 4
- Unable to get process status HOT 5
- Segmentation fault (core dumped) running nagios HOT 8
- NRPE plugin not installed in the container? HOT 2
- ENVs are not populated using notify_by_xmpp
- Nagios service does not start HOT 1
- HTTPS Options? HOT 2
- wrong data from remote server
- No map shown when using Umlaut in alias HOT 2
- postfix username and password for AWS SES HOT 1
- Not using nsca fills up the docker log file
- Web UI doesnt showup any config data
- Ruby missing from the Dockerfile
- permiussion denied
- Not work the config SMTP to send email
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-nagios.