<div dir="ltr"><div>Hi,<br></div>I am getting following error.Can some one guide on it<br><br><br>[root@nixi ~]# /usr/local/ixp/bin/ixptool.php -a statistics-cli.gen-mrtg-conf<br>PHP Notice:  Undefined index: bits in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: pkts in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: bits in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: pkts in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: bits in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: pkts in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: bits in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: pkts in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Warning:  Illegal string offset 'mrtgIds' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'bits' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'maxbytes' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 84<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 84<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Warning:  Illegal string offset 'mrtgIds' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'pkts' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'maxbytes' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 85<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 85<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br>PHP Notice:  Undefined index: bits in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Undefined index: pkts in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Warning:  Illegal string offset 'mrtgIds' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'bits' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'maxbytes' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 84<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 84<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 73<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 78<br>PHP Warning:  Illegal string offset 'mrtgIds' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'pkts' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 81<br>PHP Warning:  Illegal string offset 'maxbytes' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 85<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 85<br>PHP Warning:  Illegal string offset 'name' in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br>PHP Notice:  Uninitialized string offset: 0 in /usr/local/ixp/var/templates_c/0394f5fc1ddc29ba498958436cbb70a65cdb92f6.file.switch-aggregates.cfg.php on line 91<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 September 2015 at 18:25, chandra prakash <span dir="ltr"><<a href="mailto:chandra.mr.prakash@gmail.com" target="_blank">chandra.mr.prakash@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>We already follow this instruction but it give us some warning<br><br>[root@nixi ~]# /usr/local/ixp/bin/ixptool.php -a statistics-cli.gen-mrtg-conf<br>PHP Notice:  Undefined index: bits in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Notice:  Undefined index: pkts in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br>PHP Warning:  implode(): Invalid arguments passed in /usr/local/ixp/var/templates_c/25549ef3713b8e6ed5a7749cc70d38d4fae45cb3.file.aggregates.cfg.php on line 84<br><br></div>So we created mrtg graph using below mentioned command<br><br><pre><b>env LANG=C /usr/bin/<span>mrtg</span>  /etc/<span>mrtg</span>/<span>mrtg</span>.cfg<br><br></b></pre><pre><b>And we are able to see graph only for aggregated (customer grapgs are missing) in below mentioned directory<br><br></b></pre><pre><b>Mrtg directory :- /srv/mrtg<br></b></pre><pre><b>mrtg config file:- /etc/mrtg/mrtg.cfg<br><br></b></pre><pre><b>Regards,<br></b></pre><pre><b>Prakash<br></b></pre><br><div><br><br><br><br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 6:17 PM, Barry O'Donovan <span dir="ltr"><<a href="mailto:barry.odonovan@inex.ie" target="_blank">barry.odonovan@inex.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><br>
<br>
On 29/09/2015 13:43, chandra prakash wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How to integrate MRTG under IXP-Manager in centos ?<br>
</blockquote>
<br></span>
There's fairly comprehensive documentation at:<br>
<br>
<a href="https://github.com/inex/IXP-Manager/wiki/MRTG---Traffic-Graphs" rel="noreferrer" target="_blank">https://github.com/inex/IXP-Manager/wiki/MRTG---Traffic-Graphs</a><br>
<br>
<br>
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.<br>
<br>
 - Barry<br>
<br>
<br>
<br>
_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie" target="_blank">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
</blockquote></div><br><br clear="all"><br></div></div><span class="">-- <br><div><div dir="ltr">--------------------------------<br>Chandra Prakash<br>Sr Internet Resource Analyst<br>National Internet Exchange of India<br><br></div></div>
</span></div>
<br>_______________________________________________<br>
INEX IXP Manager mailing list<br>
<a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>
<a href="https://www.inex.ie/mailman/listinfo/ixpmanager" rel="noreferrer" target="_blank">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Manager  & PIO(RTI)<br>National Internet Exchange of India(<a href="http://www.nixi.in" target="_blank">www.nixi.in</a>)<br>A section 25 Company, Ministry of Communication and Information Technology,Govt of India,<br>IFlat no. 6B,<br>Uppals M6 Plaza, <br>6 Jasola District <br>Centre, <br>New Delhi-110025<br>India<br>(M) +91-9868477444<br>(D)+91-11-24363126<br>Skype ID:erajay<br>E-mail: ajay at <a href="http://nixi.in" target="_blank">nixi.in</a>,P-mail: joinajay1 at <a href="http://gmail.com" target="_blank">gmail.com</a><br>.................................<br>Please don't print this email unless you really need to. This will preserve trees on our planet.</div></div>
</div>