A Grafana Dashboard for Zimbra Collaboration

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

Re: A Grafana Dashboard for Zimbra Collaboration

Post by fferraro87 »

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

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

Re: A Grafana Dashboard for Zimbra Collaboration

Post by jorgedlcruz »

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
Systems Engineer at Veeam Software https://www.veeam.com/
tamkt
Posts: 8
Joined: Sat Sep 13, 2014 2:14 am

Re: A Grafana Dashboard for Zimbra Collaboration

Post by tamkt »

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

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

Re: A Grafana Dashboard for Zimbra Collaboration

Post by jorgedlcruz »

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
Systems Engineer at Veeam Software https://www.veeam.com/
tamkt
Posts: 8
Joined: Sat Sep 13, 2014 2:14 am

Re: A Grafana Dashboard for Zimbra Collaboration

Post by tamkt »

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

Post by BloodyIron »

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

Re: A Grafana Dashboard for Zimbra Collaboration

Post by jorgedlcruz »

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
Systems Engineer at Veeam Software https://www.veeam.com/
guigsilva
Posts: 18
Joined: Fri Sep 12, 2014 11:31 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Post by guigsilva »

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: 18
Joined: Fri Sep 12, 2014 11:31 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Post by guigsilva »

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: 18
Joined: Fri Sep 12, 2014 11:31 pm

Re: A Grafana Dashboard for Zimbra Collaboration

Post by guigsilva »

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...
Post Reply