A Grafana Dashboard for Zimbra Collaboration

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2773
Joined: Thu May 22, 2014 4:47 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jorgedlcruz » Mon Sep 23, 2019 9:06 am

Good morning guys,
I am back to the Community! So, I have been working lately on a revamp of this project, and instead of using the pflogsumm, which wasn't that efficient, now I am using the official Telegraf output for postfix and OpenLDAP, this is the new result:
Image

And here you can find the Github project, really simple to set up all:

Please try it and let me know if I should tweak something, my MTA is not that busy. I have tried this with the latest ZCS 8.8.15 and no problems at all.

Thank you!


Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
User avatar
zimico
Advanced member
Advanced member
Posts: 137
Joined: Mon Nov 14, 2016 8:03 am
Location: Vietnam
ZCS/ZD Version: 8.8.12
Contact:

Re: A Grafana Dashboard for Zimbra Collaboration

Postby zimico » Mon Sep 23, 2019 9:15 am

Dear Jorge,
It's great to see you back! I love this dashboard and will test it soon. Just have one question: could we configure to received an alert email when some parameters reach the threshold. For example, when the number of deferred messages are 100.
Best regards,
Minh.
User avatar
jasggomes
Advanced member
Advanced member
Posts: 78
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jasggomes » Mon Sep 23, 2019 9:19 am

jorgedlcruz wrote:Good morning guys,
I am back to the Community! So, I have been working lately on a revamp of this project, and instead of using the pflogsumm, which wasn't that efficient, now I am using the official Telegraf output for postfix and OpenLDAP, this is the new result:

And here you can find the Github project, really simple to set up all:

Please try it and let me know if I should tweak something, my MTA is not that busy. I have tried this with the latest ZCS 8.8.15 and no problems at all.

Thank you!


Hi Jorge, it's great to see you back !!!
You read my mind ?? Last Friday I started to see if I could modify this since the upgrade to 8.8.xx isn't working so very well ..

I'm going to apply this and get back to you.

Thank you again.
JG
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2773
Joined: Thu May 22, 2014 4:47 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jorgedlcruz » Mon Sep 23, 2019 9:22 am

zimico wrote:Dear Jorge,
It's great to see you back! I love this dashboard and will test it soon. Just have one question: could we configure to received an alert email when some parameters reach the threshold. For example, when the number of deferred messages are 100.
Best regards,
Minh.

Hello,
Yes of course, take a look at this blog, open it with Chrome for auto translate:

Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2773
Joined: Thu May 22, 2014 4:47 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jorgedlcruz » Mon Sep 23, 2019 9:24 am

Hello JG,
Ah, we know we think alike, so use the next blog post, open it on Chrome for auto-translate, with step by step for your convenience:

Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
User avatar
jasggomes
Advanced member
Advanced member
Posts: 78
Joined: Sat Sep 13, 2014 12:59 am
Location: Lisbon, PT
ZCS/ZD Version: Release 8.7.11.GA.1854.UBUNTU14.64
Contact:

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jasggomes » Mon Sep 23, 2019 10:32 am

jorgedlcruz wrote:Hello JG,
Ah, we know we think alike, so use the next blog post, open it on Chrome for auto-translate, with step by step for your convenience:

Best regards


Hi Jorge, please check this on your 'zimbra.conf' or telegraf.conf, as its reporting a string not the version number :

[[inputs.exec]]
commands = ["sed 's/........................//' /opt/zimbra/jetty/webapps/zimbra/downloads/.git/HEAD"]
name_override = "zimbra_stats"
data_format = "value"
data_type = "string"

should be :

[[inputs.exec]]
commands = ["/opt/zimbra/common/bin/checkzimbraversion.sh"]
name_override = "zimbra_stats"
data_format = "value"
data_type = "string"

Regards.
JG
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2773
Joined: Thu May 22, 2014 4:47 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jorgedlcruz » Mon Sep 23, 2019 11:24 am

Yes,
fixed :)

thank you
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 9 guests