No data in server statistics

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
10132zap
Posts: 9
Joined: Fri Sep 12, 2014 10:03 pm

No data in server statistics

Postby 10132zap » Sat Jan 14, 2006 2:06 pm

I have just installed Zimbra M3 on fedora core4. Everything is working fine except no data is showing up under server statistics - it just shows "Data not yet available" (server has been up and running for several days now)
I have installed logger and SNMP and both services is running.
Any suggestions?
Thanks :)


14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

No data in server statistics

Postby 14319KevinH » Tue Jan 17, 2006 1:57 am

It does take a day or so for all the cron jobs to fire. Is it still not working for you?
FunkyPenguin
Advanced member
Advanced member
Posts: 140
Joined: Fri Sep 12, 2014 10:02 pm

No data in server statistics

Postby FunkyPenguin » Tue Jan 17, 2006 2:09 am

What's the difference between the "Server Statistics" item, and it's child item of the "Hostname"? The reason I ask is that I get statistics from "Server Statistics", but when I expand it and select the hostname I get "Data Not Yet Available" - the server has been up for about 3 months.
10132zap
Posts: 9
Joined: Fri Sep 12, 2014 10:03 pm

No data in server statistics

Postby 10132zap » Tue Jan 17, 2006 1:50 pm

KevinH: Sorry I forgot to mention that i do get some data/grafs in the main "Server Statistics" (not grafs but rough bars) but just like FunkyPenguin I also don't get data in any of the child items "myhostname.com".
The server has been up for 8 days now.
14319KevinH
Ambassador
Ambassador
Posts: 4558
Joined: Fri Sep 12, 2014 9:52 pm

No data in server statistics

Postby 14319KevinH » Tue Jan 17, 2006 6:25 pm

Well looks like a bug. It should show per server stats and then total stats. We'll take a look.
Try this:

su - zimbra

logmysql

use zimbra_logger;

select distinct(host) from mta_aggregate;
Is your hostname (as listed in the admin console) listed in the db?
FunkyPenguin
Advanced member
Advanced member
Posts: 140
Joined: Fri Sep 12, 2014 10:02 pm

No data in server statistics

Postby FunkyPenguin » Wed Jan 18, 2006 6:14 am

KevinH,
My host is listed in the db when I run through the commands:
mysql> select distinct(host) from mta_aggregate;

+------+

| host |

+------+

| hawk |

+------+

1 row in set (0.01 sec)

I still get no information on the individual host. Would it make any difference which product I'm using? I'm running the OSS version, I thought it could be due to not running the Network version.
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

No data in server statistics

Postby marcmac » Wed Jan 18, 2006 8:49 am

That's actually the problem - the hostname in the db is "hawk", which I suspect that the zimbra host name (as specified in ldap) is hawk.domain.com -
bug 5508
FunkyPenguin
Advanced member
Advanced member
Posts: 140
Joined: Fri Sep 12, 2014 10:02 pm

No data in server statistics

Postby FunkyPenguin » Wed Jan 18, 2006 10:04 am

Would that mean that to get per server stats the db would need to show the fqdn of the server?
marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

No data in server statistics

Postby marcmac » Wed Jan 18, 2006 10:19 am

This is a bug we're going to have to fix on our end, though there's a possible workaround.
Create a server (zmprov cs hawk) and restart tomcat.
That will give you the server in your list for stats (of course, then you'll have this lame pseudo-server sitting around, can't get status, etc).
But you'll be able to see the graphs.
FWIW - the fix we have to come up with is some way to map the hostname as known to syslogd to the hostname as known to zimbra.
FunkyPenguin
Advanced member
Advanced member
Posts: 140
Joined: Fri Sep 12, 2014 10:02 pm

No data in server statistics

Postby FunkyPenguin » Wed Jan 18, 2006 10:29 am

Would I be correct in thinking that on a single server setup like mine the workaround isn't a big deal, as the combined stats is for the sum total of one box, however on a multi server setup there are benefits?

Return to “Administrators”

Who is online

Users browsing this forum: Google [Bot] and 13 guests