Results 1 to 3 of 3

Thread: zmstat-chart java.text.ParseException: Found two charts that write..

  1. #1
    gkchicago is offline Banned
    Join Date
    Aug 2007
    Posts
    11
    Rep Power
    0

    Default zmstat-chart java.text.ParseException: Found two charts that write..

    Hello, I'm trying to generate the graphs described in this article:
    Server Monitoring - Zimbra :: Wiki

    But am receiving the errors below. Please advise, thank you!

    Code:
    [zimbra@zimbra01 2009-10-26]$ zmstat-chart -c /opt/zimbra/conf/zmstat-chart.xml -s /opt/zimbra/zmstat/2009-10-26 -d /opt/zimbra/zmstat/2009-10-26/charts
    java.text.ParseException: Found two charts that write zimbra01.linngroup.com_cciss_c0d0p1_part_thruput.png
            at com.zimbra.perf.chart.ChartUtil.validateChartSettings(ChartUtil.java:947)
            at com.zimbra.perf.chart.ChartUtil.getAllChartSettings(ChartUtil.java:413)
            at com.zimbra.perf.chart.ChartUtil.doit(ChartUtil.java:339)
            at com.zimbra.perf.chart.ChartUtil.main(ChartUtil.java:306)
    
    usage: Usage: zmstat-chart -c <arg> -s <arg> -d <arg> [options]
        --aggregate-end-at <arg>     if specified, aggregate computation ends
                                     at this timestamp (MM/dd/yyyy HH:mm:ss)
        --aggregate-start-at <arg>   if specified, aggregate computation
                                     starts at this timestamp (MM/dd/yyyy HH:mm:ss)
     -c,--conf <arg>                 chart configuration xml files
     -d,--destdir <arg>              directory where the generated chart files
                                     are saved
        --end-at <arg>               if specified, ignore all samples after
                                     this timestamp (MM/dd/yyyy HH:mm:ss)
     -h,--help                       prints this usage screen
        --no-summary                 skip summary data generation
     -s,--srcdir <arg>               one or more directories where the csv
                                     files are located
        --start-at <arg>             if specified, ignore all samples before
                                     this timestamp (MM/dd/yyyy HH:mm:ss)
        --title <arg>                chart title; defaults to last directory
                                     name of --srcdir value
    Config generated with:
    Code:
    [zimbra@zimbra01 ~]$ zmstat-chart-config > /opt/zimbra/conf/zmstat-chart.xml
    It appears that the csv files are in the zmstat directory.. I also tried gunzipping them first with no change in the error message.

    Code:
    [zimbra@zimbra01 2009-10-26]$ ls -l /opt/zimbra/zmstat/2009-10-26/
    total 1524
    drwxr-x--- 2 zimbra zimbra   4096 Oct 27 15:25 charts
    -rw-r----- 1 zimbra zimbra  85733 Oct 27 00:00 cpu.csv.gz
    -rw-r----- 1 zimbra zimbra   8030 Oct 27 00:00 fd.csv.gz
    -rw-r----- 1 zimbra zimbra  19426 Oct 27 00:00 imap.csv.gz
    -rw-r----- 1 zimbra zimbra 295782 Oct 27 00:00 io-x.csv.gz
    -rw-r----- 1 zimbra zimbra 151138 Oct 27 00:00 io.csv.gz
    -rw-r----- 1 zimbra zimbra 137887 Oct 27 00:00 mailboxd.csv.gz
    -rw-r----- 1 zimbra zimbra   3837 Oct 27 00:03 mtaqueue.csv.gz
    -rw-r----- 1 zimbra zimbra 482584 Oct 27 00:00 mysql.csv.gz
    -rw-r----- 1 zimbra zimbra  45053 Oct 27 00:00 pop3.csv.gz
    -rw-r----- 1 zimbra zimbra  63455 Oct 27 00:00 proc.csv.gz
    -rw-r----- 1 zimbra zimbra  32168 Oct 27 00:00 soap.csv.gz
    -rw-r----- 1 zimbra zimbra   7334 Oct 27 00:00 threads.csv.gz
    -rw-r----- 1 zimbra zimbra 182722 Oct 27 00:00 vm.csv.gz
    Code:
    [zimbra@zimbra01 2009-10-26]$ ls -l /opt/zimbra/zmstat/2009-10-26/charts/
    total 0

  2. #2
    gkchicago is offline Banned
    Join Date
    Aug 2007
    Posts
    11
    Rep Power
    0

    Default

    Upon looking closer at the zmstat-chart.xml I realize now that it is generating something tailored to my machine. So I spotted duplicate entries for these disk devices and simply commented out the duplicates and everything has run fine.

    If anyone at Zimbra interested in debugging this further to see why these duplicates appeared when running zmstat-chart-config post to this thread and I will share whatever information I can.

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by gkchicago View Post
    Upon looking closer at the zmstat-chart.xml I realize now that it is generating something tailored to my machine. So I spotted duplicate entries for these disk devices and simply commented out the duplicates and everything has run fine.

    If anyone at Zimbra interested in debugging this further to see why these duplicates appeared when running zmstat-chart-config post to this thread and I will share whatever information I can.
    You should file a bug report - check if one already exists for this problem before filing.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-13-2009, 08:10 AM
  2. Fresh Zimbra installation does not work
    By Datax in forum Installation
    Replies: 4
    Last Post: 08-18-2008, 01:18 PM
  3. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  4. Replies: 2
    Last Post: 10-04-2007, 03:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •