inex / IXP-Manager

Full stack web application powering peering at over 200 Internet Exchange Points (IXPs) globally.
https://www.ixpmanager.org/
GNU General Public License v2.0
379 stars 164 forks source link

Errors in output statistics-cli.gen-mrtg-conf and mrtg.conf after upgrading to IXP Manager V3.7.3 #223

Closed bcix closed 9 years ago

bcix commented 9 years ago

Hi,

after upgrading to IXP Manager V3.7.3 I had the following errors in the output of statistics-cli.gen-mrtg-conf.

/ixp/bin/ixptool.php -a statistics-cli.gen-mrtg-conf

PHP Notice:  Undefined index: bits in /ixp/var/templates_c/e93fa05ddf4bf00c3d37c125aacb4a509e8d923c.file.switch-aggregates.cfg.php on line 81
PHP Warning:  implode(): Invalid arguments passed in /ixp/var/templates_c/e93fa05ddf4bf00c3d37c125aacb4a509e8d923c.file.switch-aggregates.cfg.php on line 81
PHP Notice:  Undefined index: pkts in /ixp/var/templates_c/e93fa05ddf4bf00c3d37c125aacb4a509e8d923c.file.switch-aggregates.cfg.php on line 81
PHP Warning:  implode(): Invalid arguments passed in /ixp/var/templates_c/e93fa05ddf4bf00c3d37c125aacb4a509e8d923c.file.switch-aggregates.cfg.php on line 81

MRTG also reports an error.

ERROR: CFG Error in "maxbytes[switch-aggregate-f10-l105-01-bits]", file /etc/mrtg/ixpmanager.cfg line 416: 0 must be a Number bigger than 0

Must note, that I added the new Switch f10-l105-01 (same F10 S4810 as used 8 other time) just after upgrading to IXP Manager V3.7.3.

Regards, Thorleif

bcix commented 9 years ago

After I made an initial "SNMP Poll" from f10-l105-01 via the Webfrontend, the error disappeared...