[mrtg] Re: ANN: 14all v1.1p20 (BETA)
Pavel Ruzicka
pavouk at k332.feld.cvut.cz
Tue Jun 25 23:57:22 MEST 2002
Hello,
I've tried new version of 14all.cgi 1.1p20 script for MRTG.
This works, but I have now many errors in apache's error_log:
-----------------------------------------------------------------
Prototype mismatch: sub
+Apache::ROOTmrtg_2egts_2ecz::mrtg_2dcgi::_314all_2ecgi::log_rrdtool_call ($$@)
+vs ($$$) at /usr/local/apache/mrtg-cgi/14all.cgi line 51.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "$cfgfile" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 150.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "$cfgfiledir" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 162.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "$cfgfile" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 172.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "$cfgfile" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 180.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "%myrules" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 199.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "$footer_template" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 215.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "%graphparams" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 251.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "%graphparams" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 254.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "@headeropts" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 578.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "@headeropts" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 639.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Variable "$version" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 641.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine print_error redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 723.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine intmax redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 736.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine yesorno redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 746.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine getdirwriteable redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 754.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Constant subroutine pngstring redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 773.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine getpngsize redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 776.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine errorpng redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 805.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine gettextpic redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 847.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Prototype mismatch: sub
+Apache::ROOTmrtg_2egts_2ecz::mrtg_2dcgi::_314all_2ecgi::log_rrdtool_call ($$@)
+vs ($$$) at /usr/local/apache/mrtg-cgi/14all.cgi line 919.
[Sun Jun 23 21:25:20 2002] 14all.cgi: Subroutine log_rrdtool_call redefined at
+/usr/local/apache/mrtg-cgi/14all.cgi line 903.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "$cfgfile" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 150.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "$cfgfiledir" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 162.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "$cfgfile" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 172.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "$cfgfile" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 180.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "%myrules" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 199.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "$footer_template" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 215.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "%graphparams" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 251.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "%graphparams" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 254.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "@headeropts" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 578.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "@headeropts" will not stay
+shared at /usr/local/apache/mrtg-cgi/14all.cgi line 639.
[Sun Jun 23 21:25:36 2002] 14all.cgi: Variable "$version" will not stay shared
+at /usr/local/apache/mrtg-cgi/14all.cgi line 641.
---------------------------------------------------------------------
With 14all.cgi 1.1p18 I have NO errors.
perl, version 5.005_03 built for i386-linux
It's possible, that line count is moved from 1 or 2 lines, because I added
script variables "use lib qw(/usr/local/mrtg/lib/mrtg2);"
I'am not programmer. Is it bug or problem with some compatibility?
Best regards,
Pavel Ruzicka
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list