first, the config:
cacti 0.8.8h
weathermap 0.98
I have issue with a TARGET who have to sum 72 .rra
(about 5119 characters)
my very long line is ok, but in log, i can see than the target is cropped after the 4158 characters of the line, and so give an error.
i looked about variables to get smaller line, like:
http://forums.cacti.net/viewtopic.php?f=16&t=55470
but no succes yet.
so, how to get it up to more than 4158 characters ?
or, how to have working hint variable to get a smaller line ?
here the errors:
Code: Select all
10/07/2016 04:22:44 PM - WEATHERMAP: Poller[0] WARNING: [Map 4] _imag-DC.conf: ProcessTargets: NODE totalrangeeA, target: 0.1*gauge:{map:cacti_path_rra}/pdu-a6-3_ph2amp_670.rrd: on config line 123 of /home/mgmt/Cacti/cacti-0.8.8h/plugins/weathermap/configs/_imag-DC.conf was not recognised as a valid TARGET [WMWARN08]
10/07/2016 04:22:43 PM - WEATHERMAP: Poller[0] WARNING: [Map 4] _imag-DC.conf: Unrecognised config on line 124: ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-3_ph3amp_675.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-4_ph1amp_690.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-4_ph2amp_695.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-4_ph3amp_700.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-1_ph1amp_715.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-1_ph2amp_720.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-1_ph3amp_725.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-2_ph1amp_740.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-2_ph2amp_745.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-2_ph3amp_750.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-3_ph1amp_765.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-3_ph2amp_770.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-3_ph3amp_775.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-4_ph1amp_790.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-4_ph2amp_795.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-4_ph3amp_800.rrd:ph3amp:-
Code: Select all
TARGET 0.1*gauge:{map:cacti_path_rra}/pdu-a1-1_ph1amp_116.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-1_ph2amp_117.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-1_ph3amp_118.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-2_ph1amp_140.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-2_ph2amp_145.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-2_ph3amp_150.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-3_ph1amp_165.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-3_ph2amp_170.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-3_ph3amp_175.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-4_ph1amp_190.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-4_ph2amp_195.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a1-4_ph3amp_200.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-2_ph2amp_245.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-2_ph3amp_250.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-3_ph1amp_265.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-3_ph2amp_270.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-3_ph3amp_275.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-4_ph1amp_290.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-4_ph2amp_295.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a2-4_ph3amp_300.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-1_ph1amp_315.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-1_ph2amp_320.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-1_ph3amp_325.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-2_ph1amp_340.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-2_ph2amp_345.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-2_ph3amp_350.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-3_ph1amp_365.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-3_ph2amp_370.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-3_ph3amp_375.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-4_ph1amp_390.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-4_ph2amp_395.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a3-4_ph3amp_400.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-1_ph1amp_415.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-1_ph2amp_420.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-1_ph3amp_425.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-2_ph1amp_440.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-2_ph2amp_445.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-2_ph3amp_450.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-3_ph1amp_465.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-3_ph2amp_470.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-3_ph3amp_475.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-4_ph1amp_490.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-4_ph2amp_495.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a4-4_ph3amp_500.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-1_ph1amp_515.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-1_ph2amp_520.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-1_ph3amp_525.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-2_ph1amp_540.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-2_ph2amp_545.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-2_ph3amp_550.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-3_ph1amp_565.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-3_ph2amp_570.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-3_ph3amp_575.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-4_ph1amp_590.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-4_ph2amp_595.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a5-4_ph3amp_600.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-1_ph1amp_615.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-1_ph2amp_620.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-1_ph3amp_625.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-2_ph1amp_640.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-2_ph2amp_645.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-2_ph3amp_650.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-3_ph1amp_665.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-3_ph2amp_670.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-3_ph3amp_675.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-4_ph1amp_690.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-4_ph2amp_695.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a6-4_ph3amp_700.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-1_ph1amp_715.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-1_ph2amp_720.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-1_ph3amp_725.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-2_ph1amp_740.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-2_ph2amp_745.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-2_ph3amp_750.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-3_ph1amp_765.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-3_ph2amp_770.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-3_ph3amp_775.rrd:ph3amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-4_ph1amp_790.rrd:ph1amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-4_ph2amp_795.rrd:ph2amp:- 0.1*gauge:{map:cacti_path_rra}/pdu-a7-4_ph3amp_800.rrd:ph3amp:-
i prefer not to have custom external script.
i tried target filename.txt
Code: Select all
<name-of-the-first-node> 0.1*gauge:{map:cacti_path_rra}/pdu-a1-1_ph1amp_116.rrd 0.1*gauge:{map:cacti_path_rra}/pdu-a1-1_ph1amp_116.rrd
<name-of-the-first-node> 0.1*gauge:{map:cacti_path_rra}/pdu-a1-1_ph2amp_117.rrd 0.1*gauge:{map:cacti_path_rra}/pdu-a1-1_ph2amp_117.rrd
yep, i have 3 .rra attached to a node
thanks for helping !