A Grafana Dashboard for Zimbra Collaboration

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
fferraro87
Advanced member
Advanced member
Posts: 64
Joined: Thu Apr 28, 2016 8:58 am

Re: A Grafana Dashboard for Zimbra Collaboration

Postby fferraro87 » Thu Nov 16, 2017 8:05 am

Hi,
there is some news about new versions with negative number fix?

Thanks


User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2769
Joined: Thu May 22, 2014 4:47 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jorgedlcruz » Thu Nov 16, 2017 3:15 pm

Hello,
I haven't had the time yet to fix it, I hope it will be fixed soon.

The project is on GitHub, so if you have any idea, please let me know !

:)
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
tamkt
Posts: 7
Joined: Sat Sep 13, 2014 2:14 am

Re: A Grafana Dashboard for Zimbra Collaboration

Postby tamkt » Fri Nov 17, 2017 2:31 am

Hi jorgedlcruz,
How i can show the short version ? Tks.

Image
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2769
Joined: Thu May 22, 2014 4:47 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jorgedlcruz » Fri Nov 17, 2017 8:40 pm

Hello,
Change the next line on the script called checkzimbraversion.sh:

Code: Select all

rpm -q --queryformat "%{version}_%{release}" zimbra-core

for this

Code: Select all

rpm -q --queryformat "%{version}" zimbra-core | awk -F. '{print $1"."$2"."$3 }' | awk -F_ '{print $1" "$2 }'


Best regards
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
tamkt
Posts: 7
Joined: Sat Sep 13, 2014 2:14 am

Re: A Grafana Dashboard for Zimbra Collaboration

Postby tamkt » Mon Nov 20, 2017 2:02 am

Thanks jorgedlcruz :)
BloodyIron
Advanced member
Advanced member
Posts: 67
Joined: Sat Sep 13, 2014 2:58 am
Contact:

Re: A Grafana Dashboard for Zimbra Collaboration

Postby BloodyIron » Tue Dec 05, 2017 11:16 pm

VERY YES PLS JORGE!
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2769
Joined: Thu May 22, 2014 4:47 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby jorgedlcruz » Wed Dec 06, 2017 12:17 pm

Hi BloodyIron
Not sure what you've tried to said there, but if it's thanks, then you're welcome (with the Rock voice )

Cheers
Jorge de la Cruz https://jorgedelacruz.es
Technical Marketing Manager at Zimbra/Synacor https://www.zimbra.com/
guigsilva
Posts: 15
Joined: Fri Sep 12, 2014 11:31 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby guigsilva » Tue Jan 02, 2018 2:53 pm

Hello!

I am trying to get grafana + zimbra working, the dashboard is already working I can see cpu, disk, processes etc ok.
But the zimbra data shows me N/A only zimbra version os ok.
I look around and in the /var/log/telegraf/telegraf.log I can see this "Error in plugin [inputs.exec]: invalid number invalid number"

I am using telegraf Telegraf v1.5.0 (git: release-1.5 a1668bbf) and influxdb "InfluxDB shell version: 1.4.2"

the command sudo -u telegraf /opt/zimbra/common/bin/zimbra_pflogsumm.pl /var/log/zimbra.log gives me :
zimbra-stats received=626
zimbra-stats delivered=2256
zimbra-stats forwarded=0
zimbra-stats deferred=2
zimbra-stats bounced=1
zimbra-stats rejected=331
zimbra-stats reject_warnings=0
zimbra-stats held=0
zimbra-stats discarded=0
zimbra-stats bytes_received=154635k
zimbra-stats bytes_delivered=607m
zimbra-stats senders=259
zimbra-stats sending_hosts_domains=165
zimbra-stats recipients=159
zimbra-stats recipient_hosts_domains=36


I guess some thing is wrong when telegraf writes zimbra data to Influxdb...

Thanks in advance
guigsilva
Posts: 15
Joined: Fri Sep 12, 2014 11:31 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby guigsilva » Tue Jan 02, 2018 3:06 pm

Hello Again!

Can the error be caused by the letters in bytes_received and bytes_received ?

zimbra-stats bytes_received=154635k
zimbra-stats bytes_delivered=607m
guigsilva
Posts: 15
Joined: Fri Sep 12, 2014 11:31 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Postby guigsilva » Tue Jan 02, 2018 3:50 pm

Hello again! and

I think that the problem is with the letters on bytes_received and bytes_received.

I edit zimbra_pflogsumm.pl lines 955 and 956 remove the %s and works...

Return to “Administrators”

Who is online

Users browsing this forum: machine12 and 21 guests