[mrtg-developers] Indexmaker modification

Jose Luis Rojano Piernagorda jluis.rojano at senado.es
Tue Oct 8 12:47:12 MEST 2002


Hi all!

I am trying to modify the indexmaker script so that the index.htm page created by the indexmaker execution, will contain infomation about the date and time in which indexmaker was invocated, that is to say, when the summary page is created. I also want to translate the date and time information into my native language (spanish).

To do so i am including the localization library included with the distribution called locales_mrtg. I do it by including this single line in the indexmaker:

...

use locales_mrtg "0.07";

...


But since i include this single and only line, everytime i execute indexmaker i get this ugly and strange error messages:

Scalar value @dollar[$j] better written as $dollar[$j] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1186.
Scalar value @quux[0] better written as $quux[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1190.
Scalar value @dollar[$j] better written as $dollar[$j] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1190.
Scalar value @quux[1] better written as $quux[1] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1190.
Scalar value @foo[0] better written as $foo[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1221.
Scalar value @foo[2] better written as $foo[2] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1221.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1223.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1225.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1226.
Scalar value @quux[0] better written as $quux[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1226.
Scalar value @quux[1] better written as $quux[1] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1226.
Scalar value @foo[0] better written as $foo[0] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.
Scalar value @foo[1] better written as $foo[1] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.
Scalar value @foo[2] better written as $foo[2] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.
Scalar value @foo[3] better written as $foo[3] at /usr/local/mrtg-2/bin/../lib/mrtg2/locales_mrtg.pm line 1228.


Any ideas??

Best regards,

Jose Luis Rojano


--
Unsubscribe mailto:mrtg-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg-developers



More information about the mrtg-developers mailing list