manios / docker-nagios

Docker image for Nagios Core in Alpine Linux with basic plugins, available for x86, x64 , ARM v6, ARM v7 and ARM64.
https://www.nagios.org/
Other
57 stars 29 forks source link

Need some help configuring SSMTP #71

Open martijnv opened 1 month ago

martijnv commented 1 month ago

What happened?

In the Readme it states:

"In order to receive mail notifications, you have to configure SSMTP. You can find example configuration in docker-nagios"

Forgive my ignorance, but what is the referenced "docker-nagios"? Where can I find the example configuration?

Image information

Image information is not relevant

Image architecture

amd64

Relevant log output

No response

manios commented 1 month ago

Hi @martijnv !

You can find example SSMTP configuration inside the container in the file /etc/ssmtp/ssmtp.conf or in the repository in overlay/etc/ssmtp/ssmtp.conf. A quick way to print the active configuration is by executing:

docker exec -it nagios /bin/sh -c 'cat /etc/ssmtp/ssmtp.conf'

Thanks for spotting it! It was not clear in the README file. I have updated the README.md file accordingly in 2bdffc955a3c0dcd51c87e38d4fa72ad1b914564.

Best regards, Chris

martijnv commented 1 month ago

Hi Chris, thanks for the swift reply and change to the README.