Linux parser: org.jfree.data.general.SeriesException:

Latest response

Hi All,

I tried to run kSar graphic from multiple sar input and got below error messages,
Linux parser: org.jfree.data.general.SeriesException: You are attempting to add an observation for the time period Sat Feb 18 11:20:01 WIT 2017 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.
Linux parser: org.jfree.data.general.SeriesException: You are attempting to add an observation for the time period Sat Feb 18 11:30:01 WIT 2017 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.
Linux parser: org.jfree.data.general.SeriesException: You are attempting to add an observation for the time period Sat Feb 18 11:40:01 WIT 2017 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.

Does anyone know about above error messages ?

I collect sar using below script
DT="05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31"

/tmp/sar-$(hostname)-multiple.txt
for i in $DT; do
LC_ALL=C sar -A -f /var/log/sa/sa$i >> /tmp/sar-$(hostname)-multiple.txt
done
ls -l /tmp/sar-$(hostname)-multiple.txt

Thanks.

Responses