help! reportit can't get the minimum data!
Moderators: Developers, Moderators
-
- Posts: 28
- Joined: Mon Feb 02, 2009 10:21 am
- Location: CHINA
help! reportit can't get the minimum data!
I set up Cacti on win 2003. The plugin reportit works cool. I want to get the weekly report of CMTS Signal Noise Ratio(SNR). After run the CMTS SNR weekly report, the reportit displayed the warnings:
REPORTIT WARNING: RRDfetch: Can not open rrdfile or CF 'MIN' does not match. Report[3] Data Item[3860].
The measurands, average and max got data, but the minimum and last do not, MIN and LAST are N/A.
The CMTS SNR shoud have the min data, because it displayed on the SNR picture. The cmts snr template should be fine.
What's CF? Consolidation Function?
REPORTIT WARNING: RRDfetch: Can not open rrdfile or CF 'MIN' does not match. Report[3] Data Item[3860].
The measurands, average and max got data, but the minimum and last do not, MIN and LAST are N/A.
The CMTS SNR shoud have the min data, because it displayed on the SNR picture. The cmts snr template should be fine.
What's CF? Consolidation Function?
- Attachments
-
- mindata.jpg (26.14 KiB) Viewed 3022 times
-
- snr.jpg (88.71 KiB) Viewed 3022 times
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
Yep, CF stands for "Consolidation function". In this case the RRDfile does not contain a MIN archive (and probably a LAST archive as you said). Please keep in mind that you can have a min, max, average or last value for every archive. Regarding your graph I assume everything is based on the average archive. So you are looking for the lowest average value instead of the lowest minimum value.
Best regards
-Andreas-
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
-
- Posts: 28
- Joined: Mon Feb 02, 2009 10:21 am
- Location: CHINA
Hi, thanks for your reply.
Do you mean that the MIN and MAX are based on the averge archive? If so, why the MAX is avaiable on the report, but the min one is not? I am looking for the lowest Minimum SNR, highest Maximum SNR and Average SNR during the schedule week, instead of the minimum average, maximum average and average snr only based on the average data.
Do you mean that the MIN and MAX are based on the averge archive? If so, why the MAX is avaiable on the report, but the min one is not? I am looking for the lowest Minimum SNR, highest Maximum SNR and Average SNR during the schedule week, instead of the minimum average, maximum average and average snr only based on the average data.
- Attachments
-
- minsetting.jpg (79.97 KiB) Viewed 2980 times
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
I assume that MIN and Max within your graph are based on the Average archive. Click on the wrench button right beside the graph, then you will see in detail which archives are in use.
If that is the case then use f_min and f_max within your calculation formula to get the maximum / minimum value of the average archive during the reporting period.
Best regards
-Andreas-
If that is the case then use f_min and f_max within your calculation formula to get the maximum / minimum value of the average archive during the reporting period.
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
-
- Posts: 28
- Joined: Mon Feb 02, 2009 10:21 am
- Location: CHINA
Hi, the belowing is the detail of the snr rrd. I am not sure whether it is based on the average archive.
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1271475279 \
--end=1271561679 \
--title="CB-CMTS22 64.138- 0/0 U0 SNR" \
--base=1000 \
--height=120 \
--width=550 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2010/04/17 03\:34\:39 To 2010/04/18 03\:34\:39\c" \
COMMENT:" \n" \
--vertical-label="dB" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/cb-cmts22_64_138_snr000_3510.rrd":SNR000:AVERAGE \
LINE1:a#8D00BAFF:"SNR " \
GPRINTLAST:"Current%8.0lf" \
GPRINTMIN:"Minimum%8.0lf" \
GPRINTAVERAGE:"Average%8.0lf" \
GPRINTMAX:"Maximum%8.0lf\n"
If both of the min and max are based on the average archive, why the report can get MAX? But the min is NA?
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1271475279 \
--end=1271561679 \
--title="CB-CMTS22 64.138- 0/0 U0 SNR" \
--base=1000 \
--height=120 \
--width=550 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2010/04/17 03\:34\:39 To 2010/04/18 03\:34\:39\c" \
COMMENT:" \n" \
--vertical-label="dB" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/cb-cmts22_64_138_snr000_3510.rrd":SNR000:AVERAGE \
LINE1:a#8D00BAFF:"SNR " \
GPRINTLAST:"Current%8.0lf" \
GPRINTMIN:"Minimum%8.0lf" \
GPRINTAVERAGE:"Average%8.0lf" \
GPRINTMAX:"Maximum%8.0lf\n"
If both of the min and max are based on the average archive, why the report can get MAX? But the min is NA?
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
As expected all these values are based on the AVERAGE archive
(DEF:a=" ... snr000_3510.rrd":SNR000:AVERAGE \ ). Now modify your report template to use the average CF only within your measurands. To calculate the highest, lowest, averaged and current value use f_min(), f_max(), f_last() and f_avg() in your calculation formulas.
Best regards
-Andreas-
(DEF:a=" ... snr000_3510.rrd":SNR000:AVERAGE \ ). Now modify your report template to use the average CF only within your measurands. To calculate the highest, lowest, averaged and current value use f_min(), f_max(), f_last() and f_avg() in your calculation formulas.
Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
-
- Posts: 28
- Joined: Mon Feb 02, 2009 10:21 am
- Location: CHINA
Hi, man
Thanks for your reply!
Do you mean that I can only get average data, because the report is based on the average archive? The MIN will not be available, even if the CF has been choosen correctly, f_min?
I have choosen the f_min as min CF. The picture is the current Measurand configuration of the report which min data is NA.
Sorry about my poor English.
Thanks for your reply!
Do you mean that I can only get average data, because the report is based on the average archive? The MIN will not be available, even if the CF has been choosen correctly, f_min?
I have choosen the f_min as min CF. The picture is the current Measurand configuration of the report which min data is NA.
Sorry about my poor English.
- Attachments
-
- min-MC.png (23.71 KiB) Viewed 2733 times
- browniebraun
- Developer
- Posts: 791
- Joined: Tue Jun 13, 2006 1:17 am
- Location: Cologne, Germany
As you correctly said in your first posting your rrdfiles are only containing the maximum and average archive. These are the only CFs you can use for your calculations.
However, use the following settings to get the same results like shown in your graph.
Best regards
-Andreas-
However, use the following settings to get the same results like shown in your graph.
Best regards
-Andreas-
- Attachments
-
- average.png (40.38 KiB) Viewed 2713 times
-
- maximum.png (237.39 KiB) Viewed 2713 times
-
- minimum.png (55.86 KiB) Viewed 2713 times
Hat das Blümchen einen Knick, war der Schmetterling zu dick!
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
Who is online
Users browsing this forum: No registered users and 3 guests