[ixpmanager] MRTG Configuration with IXP-Manager

Ajai Kumar joinajay1 at gmail.com
Mon Oct 19 08:34:54 IST 2015


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
> 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>
> 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
>> 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
>
>


-- 
Manager  & PIO(RTI)
National Internet Exchange of India(www.nixi.in)
A section 25 Company, Ministry of Communication and Information
Technology,Govt of India,
IFlat no. 6B,
Uppals M6 Plaza,
6 Jasola District
Centre,
New Delhi-110025
India
(M) +91-9868477444
(D)+91-11-24363126
Skype ID:erajay
E-mail: ajay at nixi.in,P-mail: joinajay1 at gmail.com
.................................
Please don't print this email unless you really need to. This will preserve
trees on our planet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20151019/3f3079d4/attachment.html>


More information about the ixpmanager mailing list