[ixpmanager] MRTG Configuration with IXP-Manager
Barry O'Donovan
barry.odonovan at inex.ie
Tue Oct 27 10:52:54 GMT 2015
Apparently NIXI have resolved this issue :-)
- Barry
On 21/10/2015 11:59 a.m., chandra prakash wrote:
> Hi Mike,
>
> Please find the file on GIST
>
> https://gist.github.com/prakash5331/4f81318a1e40373a4409
>
> REgards,
> Prakash
>
> On Tue, Oct 20, 2015 at 5:22 PM, Mike Hammett <ixp-manager at ics-il.net
> <mailto:ixp-manager at ics-il.net>> wrote:
>
> Copy the files Barry suggested up to a PasteBin entry and provide
> the link to it here.
>
>
>
> -----
> Mike Hammett
> Intelligent Computing Solutions
> http://www.ics-il.com
>
> <https://www.facebook.com/ICSIL><https://plus.google.com/+IntelligentComputingSolutionsDeKalb><https://www.linkedin.com/company/intelligent-computing-solutions><https://twitter.com/ICSIL>
>
> Midwest Internet Exchange
> http://www.midwest-ix.com
>
> <https://www.facebook.com/mdwestix><https://www.linkedin.com/company/midwest-internet-exchange><https://twitter.com/mdwestix>
> ------------------------------------------------------------------------
> *From: *"Ajai Kumar" <joinajay1 at gmail.com <mailto:joinajay1 at gmail.com>>
> *To: *"INEX IXP Manager Mailing List" <ixpmanager at inex.ie
> <mailto:ixpmanager at inex.ie>>
> *Sent: *Tuesday, October 20, 2015 6:35:13 AM
> *Subject: *Re: [ixpmanager] MRTG Configuration with IXP-Manager
>
> Hi,
>
> On 20 October 2015 at 15:35, Barry O'Donovan <barry.odonovan at inex.ie
> <mailto:barry.odonovan at inex.ie>> wrote:
>
>
> Can you stick the following files in a Gist / Pastebin:
>
> var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
>
> and your aggregates.tpl
>
> - Barry
>
>
>
> Sorry not able to understand. What action have to take for moving
> ahead.
>
>
> On 19/10/2015 8:34 a.m., Ajai Kumar wrote:
>
> Hi,
> I am getting following error.Can some one guide on it
>
>
> [root at nixi ~]# /usr/local/ixp/bin/ixptool.php -a
> statistics-cli.gen-mrtg-conf
> PHP Notice: Undefined index: bits in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: pkts in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: bits in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: pkts in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: bits in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: pkts in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: bits in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: pkts in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Warning: Illegal string offset 'mrtgIds' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'bits' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'maxbytes' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 84
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 84
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Warning: Illegal string offset 'mrtgIds' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'pkts' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'maxbytes' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 85
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 85
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
> PHP Notice: Undefined index: bits in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Undefined index: pkts in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Warning: Illegal string offset 'mrtgIds' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'bits' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'maxbytes' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 84
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 84
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 73
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 78
> PHP Warning: Illegal string offset 'mrtgIds' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'pkts' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: implode(): Invalid arguments passed in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 81
> PHP Warning: Illegal string offset 'maxbytes' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 85
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 85
> PHP Warning: Illegal string offset 'name' in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
> PHP Notice: Uninitialized string offset: 0 in
> /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php
> on line 91
>
> On 29 September 2015 at 18:25, chandra prakash
> <chandra.mr.prakash at gmail.com
> <mailto:chandra.mr.prakash at gmail.com>
> <mailto:chandra.mr.prakash at gmail.com
> <mailto:chandra.mr.prakash at gmail.com>>> wrote:
>
> Hi,
>
> We already follow this instruction but it give us some
> warning
>
> [root at nixi ~]# /usr/local/ixp/bin/ixptool.php -a
> statistics-cli.gen-mrtg-conf
> PHP Notice: Undefined index: bits in
>
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
>
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Notice: Undefined index: pkts in
>
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
> PHP Warning: implode(): Invalid arguments passed in
>
> /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php
> on line 84
>
> So we created mrtg graph using below mentioned command
>
> *env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
>
> *
>
> *And we are able to see graph only for aggregated
> (customer grapgs
> are missing) in below mentioned directory
>
> *
>
> *Mrtg directory :- /srv/mrtg
> *
>
> *mrtg config file:- /etc/mrtg/mrtg.cfg
>
> *
>
> *Regards,
> *
>
> *Prakash
> *
>
>
>
>
>
>
>
> On Tue, Sep 29, 2015 at 6:17 PM, Barry O'Donovan
> <barry.odonovan at inex.ie <mailto:barry.odonovan at inex.ie>
> <mailto:barry.odonovan at inex.ie
> <mailto:barry.odonovan at inex.ie>>> wrote:
>
>
>
> On 29/09/2015 13:43, chandra prakash wrote:
>
> How to integrate MRTG under IXP-Manager in centos ?
>
>
> There's fairly comprehensive documentation at:
>
> https://github.com/inex/IXP-Manager/wiki/MRTG---Traffic-Graphs
>
>
> Not to sound like a broken record, but while CentOS
> will work
> fine, the recommended Linux distribution is the
> latest Ubuntu
> LTS and the documentation is geared towards this.
>
> - Barry
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
>
>
> --
> --------------------------------
> Chandra Prakash
> Sr Internet Resource Analyst
> National Internet Exchange of India
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> <mailto:ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>>
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
>
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
> --
>
> Kind regards,
> Barry O'Donovan
> INEX Operations
>
> Mob: +353 86 801 7669 <tel:%2B353%2086%20801%207669>
> Tel: +353 1 531 3339 <tel:%2B353%20%201%20531%203339>
>
> +-------------------------------+-------------------------------------+
> | Open Source Solutions Ltd. | INEX Operations Team
> |
> | 52 Sandwith Street Lower, | Internet Neutral Exchange
> |
> | Dublin 2, D02 WR26, | Association, 4027 Kingswood
> Road, |
> | Ireland. | Citywest Business Campus,
> Dublin 24 |
> | http://www.opensolutions.ie/ | http://www.inex.ie/
> |
> +-------------------------------+-------------------------------------+
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
>
>
> .................................
> Please don't print this email unless you really need to. This will
> preserve trees on our planet.
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie <mailto:ixpmanager at inex.ie>
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
>
>
>
> --
> --------------------------------
> Chandra Prakash
> Sr Internet Resource Analyst
> National Internet Exchange of India
>
>
>
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> https://www.inex.ie/mailman/listinfo/ixpmanager
>
--
Kind regards,
Barry O'Donovan
INEX Operations
Mob: +353 86 801 7669
Tel: +353 1 685 4220
+-------------------------------+-------------------------------------+
| Open Source Solutions Ltd. | INEX Operations Team |
| 52 Sandwith Street Lower, | Internet Neutral Exchange |
| Dublin D02 WR26, Ireland | Association, 4027 Kingswood Road, |
| | Citywest Business Campus, Dublin 24 |
| http://www.opensolutions.ie/ | http://www.inex.ie/ |
+-------------------------------+-------------------------------------+
More information about the ixpmanager
mailing list