Page 5 of 9
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Thu Nov 16, 2017 8:05 am
by fferraro87
Hi,
there is some news about new versions with negative number fix?
Thanks
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Thu Nov 16, 2017 3:15 pm
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 !
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Fri Nov 17, 2017 2:31 am
by tamkt
Hi jorgedlcruz,
How i can show the short version ? Tks.
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Fri Nov 17, 2017 8:40 pm
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
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Mon Nov 20, 2017 2:02 am
by tamkt
Thanks jorgedlcruz
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Tue Dec 05, 2017 11:16 pm
by BloodyIron
VERY YES PLS JORGE!
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Wed Dec 06, 2017 12:17 pm
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
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Tue Jan 02, 2018 2:53 pm
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
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Tue Jan 02, 2018 3:06 pm
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
Re: A Grafana Dashboard for Zimbra Collaboration
Posted: Tue Jan 02, 2018 3:50 pm
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...