A Grafana Dashboard for Zimbra Collaboration
- fferraro87
- Advanced member
- Posts: 99
- Joined: Thu Apr 28, 2016 8:58 am
Re: A Grafana Dashboard for Zimbra Collaboration
Hi,
there is some news about new versions with negative number fix?
Thanks
there is some news about new versions with negative number fix?
Thanks
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: A Grafana Dashboard for Zimbra Collaboration
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 !
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
Hi jorgedlcruz,
How i can show the short version ? Tks.
How i can show the short version ? Tks.
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: A Grafana Dashboard for Zimbra Collaboration
Hello,
Change the next line on the script called checkzimbraversion.sh:
for this
Best regards
Change the next line on the script called checkzimbraversion.sh:
Code: Select all
rpm -q --queryformat "%{version}_%{release}" zimbra-core
Code: Select all
rpm -q --queryformat "%{version}" zimbra-core | awk -F. '{print $1"."$2"."$3 }' | awk -F_ '{print $1" "$2 }'
Re: A Grafana Dashboard for Zimbra Collaboration
Thanks jorgedlcruz
-
- Advanced member
- Posts: 67
- Joined: Sat Sep 13, 2014 2:58 am
- Contact:
Re: A Grafana Dashboard for Zimbra Collaboration
VERY YES PLS JORGE!
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: A Grafana Dashboard for Zimbra Collaboration
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
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
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
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
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
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
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...
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...