zabbix-postfix-template
zabbix-postfix-template copied to clipboard
All stats are 0
I have configured the template and the scripts, but the stats still remains to 0.
Any help?
Don't know if you already solved the problem, but will try to help a bit anyways. Sadly you didn't provide a lot information, so I will have to guess a bit.
When installing, I had some problems with pygtail (fixed them in my fork and created pull request). To identify if this is the problem, you should look if all values in zabbix are 0 oder if it shows 'no data' on some postfix values. In my case it was 'no data' on most values and I found an error with pygtail in the data, like I show in the next step.
You can look in the latest data of you postfix-host and search for 'Postfix data update request'. It will show an error, as long as the connection between agent and server works so far, which I am assuming so far.
This is what it should look like, if everything is working (only top row, other values can vary depending on your postfix-servers activity):
Hope I could help a bit, feel free to ask if there are any more questions