-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mailcow dockerized postfix #448
Comments
I've the Same Problem. It seems to be an issue where the SNMP Daemon gets trash served. Debugged the snmp/mailcow-dockerized-postfix file and did run the command directly thats run by the Script: I'll let you know, when I find a solution. |
First of, I made sure, that my pflogsumm is up to date (Downloaded the Beta: https://jimsun.linxnet.com/postfix_contrib.html) and then I modified the snmp extend script a bit, so that it doesn't spit out errors: So that suppresses the Perl/Bash errors. Then I made sure, that the snmp-user had the right to execute Docker Commands, since that was the error seen when I snmpwalked my Mailserver. librenms@ubuntu:~$ snmpwalk -v 2c -c private mailserver.local iso.3.6.1.4.1.8072.1.3
iso.3.6.1.4.1.8072.1.3.2.4.1.2.15.109.97.105.108.99.111.119.45.112.111.115.116.102.105.120.1 = STRING: "permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json?filters=%7B%22name%22%3A%7B%22postfix-mailcow%22%3Atrue%7D%7D\": dial unix /var/run/docker.sock: connect: permission denied" Now it seems to be working... at least the Graphs are painted, and a Mail Send from my self to another account displayed as email send and received. |
I guess the Problem will be solved with this. and for you @adendrag please to remember, to restart the snmp daemon after you added it to the docker group. |
Did a PR on this. Please Merge: #494 |
Hi,
I am having an issue with the mailcow-dockerized postfix extension. Application status gets changed to OK on polling, however graphs are not created and never appear. Pflogsumm is installed. When running poller.php, the following is seen:
#### Load poller module applications ####
Application: mailcow-postfix, app_id=6
mailcow-postfix:-3:Invalid JSON
Also, when looking into the graphs
file missing: /opt/librenms/rrd/my.example.net/app-mailcow-postfix-6.rrd
Any ideas?
The text was updated successfully, but these errors were encountered: