<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 09/07/2012, at 7:11 PM, Nick Hilliard wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 09/07/2012 10:00, Joe Wooller wrote:<br><blockquote type="cite">Trying to play with mrtg;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">after running <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">export PERL5LIB=/var/www/IXP-Manager/tools/perl-lib/IXPManager/lib<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and then trying to run it I get;<br></blockquote><br>You probably want to install that perl library properly:<br><br># cd /var/www/IXP-Manager/tools/perl-lib/<br># perl Makefile.PL<br># make install<br><br>There are a couple of dependencies which it will warn you about if they're<br>not installed.<br><br><blockquote type="cite">root@dev:/var/www/IXP-Manager/tools/runtime/mrtg# ./update-mrtg-config-from-db.pl <br></blockquote><blockquote type="cite">Can't use an undefined value as an ARRAY reference at ./update-mrtg-config-from-db.pl line 209.<br></blockquote><blockquote type="cite">root@dev:/var/www/IXP-Manager/tools/runtime/mrtg# <br></blockquote><br>Mmm, that means that the script isn't getting the correct information from<br>the database into the internal memory structures.  Have you set up customer<br>ports in the database yet?<br></div></blockquote><div><br></div>Yup sure have.</div><div>I have about 12 entries. E.G.</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; "><table id="ixpDataTable" cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered dataTable" aria-describedby="ixpDataTable_info" style="max-width: 100%; background-color: transparent; border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; width: 1350px; margin-bottom: 6px !important; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-width: 0px; border-left-style: initial; border-left-color: initial; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; clear: both; position: static; z-index: auto; "><thead><tr role="row"><th class="sorting_asc" role="columnheader" tabindex="0" aria-controls="ixpDataTable" rowspan="1" colspan="1" aria-sort="ascending" aria-label="Customer: activate to sort column descending" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: bottom; border-top-width: 0px; border-top-style: initial; border-top-color: initial; font-weight: bold; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); cursor: pointer; background-image: url(http://218.100.43.98/IXP-Manager/public/css/images/sort_asc.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; border-top-left-radius: 4px; width: 166px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">Customer</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="ixpDataTable" rowspan="1" colspan="1" aria-label="Shortname: activate to sort column ascending" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: bottom; border-top-width: 0px; border-top-style: initial; border-top-color: initial; font-weight: bold; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); cursor: pointer; background-image: url(http://218.100.43.98/IXP-Manager/public/css/images/sort_both.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 162px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">Shortname</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="ixpDataTable" rowspan="1" colspan="1" aria-label="Location: activate to sort column ascending" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: bottom; border-top-width: 0px; border-top-style: initial; border-top-color: initial; font-weight: bold; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); cursor: pointer; background-image: url(http://218.100.43.98/IXP-Manager/public/css/images/sort_both.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 165px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">Location</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="ixpDataTable" rowspan="1" colspan="1" aria-label="Switch: activate to sort column ascending" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: bottom; border-top-width: 0px; border-top-style: initial; border-top-color: initial; font-weight: bold; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); cursor: pointer; background-image: url(http://218.100.43.98/IXP-Manager/public/css/images/sort_both.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 343px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">Switch</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="ixpDataTable" rowspan="1" colspan="1" aria-label="Port: activate to sort column ascending" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: bottom; border-top-width: 0px; border-top-style: initial; border-top-color: initial; font-weight: bold; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); cursor: pointer; background-image: url(http://218.100.43.98/IXP-Manager/public/css/images/sort_both.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 144px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">Port</th><th class="sorting" role="columnheader" tabindex="0" aria-controls="ixpDataTable" rowspan="1" colspan="1" aria-label="Speed: activate to sort column ascending" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: bottom; border-top-width: 0px; border-top-style: initial; border-top-color: initial; font-weight: bold; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); cursor: pointer; background-image: url(http://218.100.43.98/IXP-Manager/public/css/images/sort_both.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; width: 100px; background-position: 100% 50%; background-repeat: no-repeat no-repeat; ">Speed</th><th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" aria-label="&nbsp;" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: bottom; border-top-width: 0px; border-top-style: initial; border-top-color: initial; font-weight: bold; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); border-top-right-radius: 4px; width: 150px; "> </th></tr></thead><tbody role="alert" aria-live="polite" aria-relevant="all"><tr class="odd"><td class="  sorting_1" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(249, 249, 249); ">cust1</td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(249, 249, 249); "><span id="viewPanel-customer-106-14" class="blueLink">cust1</span></td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(249, 249, 249); "><span id="viewPanel-location-5-15" class="blueLink">WAIX Room</span></td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(249, 249, 249); "><span id="viewPanel-switch-22-16" class="blueLink">sw01.qv1.wa.ix.asn.au</span></td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(249, 249, 249); ">xe-0/0/0.0</td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(249, 249, 249); ">10000</td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(249, 249, 249); "><div class="btn-group" style="position: relative; "><a class="btn btn-mini" href="http://218.100.43.98/IXP-Manager/public/virtual-interface/edit/id/206" style="color: rgb(51, 51, 51); text-decoration: none; display: inline-block; padding-top: 2px; padding-right: 6px; padding-bottom: 2px; padding-left: 6px; margin-bottom: 0px; font-size: 11px; line-height: 14px; text-align: center; text-shadow: rgba(255, 255, 255, 0.746094) 0px 1px 1px; vertical-align: middle; cursor: pointer; background-color: rgb(245, 245, 245); background-image: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(230, 230, 230)); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgba(0, 0, 0, 0.0976563); border-right-color: rgba(0, 0, 0, 0.0976563); border-left-color: rgba(0, 0, 0, 0.0976563); border-bottom-color: rgba(0, 0, 0, 0.246094); border-top-left-radius: 4px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 4px; -webkit-box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; position: relative; float: left; margin-left: 0px; background-repeat: repeat no-repeat; "><i class="icon-pencil" style="display: inline-block; width: 14px; height: 14px; line-height: 14px; vertical-align: text-top; background-image: url(http://218.100.43.98/IXP-Manager/public/img/glyphicons-halflings.png); background-position: 0px -72px; background-repeat: no-repeat no-repeat; "></i></a><a class="btn btn-mini" id="object-delete-206" style="color: rgb(51, 51, 51); text-decoration: none; display: inline-block; padding-top: 2px; padding-right: 6px; padding-bottom: 2px; padding-left: 6px; margin-bottom: 0px; font-size: 11px; line-height: 14px; text-align: center; text-shadow: rgba(255, 255, 255, 0.746094) 0px 1px 1px; vertical-align: middle; cursor: pointer; background-color: rgb(245, 245, 245); background-image: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(230, 230, 230)); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgba(0, 0, 0, 0.0976563); border-right-color: rgba(0, 0, 0, 0.0976563); border-left-color: rgba(0, 0, 0, 0.0976563); border-bottom-color: rgba(0, 0, 0, 0.246094); border-top-left-radius: 0px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 0px; -webkit-box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; position: relative; float: left; margin-left: -1px; background-repeat: repeat no-repeat; "><i class="icon-trash" style="display: inline-block; width: 14px; height: 14px; line-height: 14px; vertical-align: text-top; background-image: url(http://218.100.43.98/IXP-Manager/public/img/glyphicons-halflings.png); background-position: -456px 0px; background-repeat: no-repeat no-repeat; "></i></a></div></td></tr><tr class="even"><td class="  sorting_1" style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(245, 245, 245); "><span id="viewPanel-customer-108-41" class="blueLink">cust2</span></td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(245, 245, 245); "><span id="viewPanel-customer-108-42" class="blueLink">cust2</span></td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(245, 245, 245); "><span id="viewPanel-location-9-43" class="blueLink">PerthiX</span></td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(245, 245, 245); "><span id="viewPanel-switch-25-44" class="blueLink">sw04.perthix.wa.ix.asn.au</span></td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(245, 245, 245); ">ge-0/0/1.0</td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(245, 245, 245); ">1000</td><td class=" " style="padding-top: 8px; padding-right: 8px; padding-bottom: 8px; padding-left: 8px; line-height: 18px; text-align: left; vertical-align: top; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-width: 1px; border-left-style: solid; border-left-color: rgb(221, 221, 221); background-color: rgb(245, 245, 245); "><div class="btn-group" style="position: relative; "><a class="btn btn-mini" href="http://218.100.43.98/IXP-Manager/public/virtual-interface/edit/id/207" style="color: rgb(51, 51, 51); text-decoration: none; display: inline-block; padding-top: 2px; padding-right: 6px; padding-bottom: 2px; padding-left: 6px; margin-bottom: 0px; font-size: 11px; line-height: 14px; text-align: center; text-shadow: rgba(255, 255, 255, 0.746094) 0px 1px 1px; vertical-align: middle; cursor: pointer; background-color: rgb(245, 245, 245); background-image: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(230, 230, 230)); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgba(0, 0, 0, 0.0976563); border-right-color: rgba(0, 0, 0, 0.0976563); border-left-color: rgba(0, 0, 0, 0.0976563); border-bottom-color: rgba(0, 0, 0, 0.246094); border-top-left-radius: 4px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 4px; -webkit-box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; position: relative; float: left; margin-left: 0px; background-repeat: repeat no-repeat; "><i class="icon-pencil" style="display: inline-block; width: 14px; height: 14px; line-height: 14px; vertical-align: text-top; background-image: url(http://218.100.43.98/IXP-Manager/public/img/glyphicons-halflings.png); background-position: 0px -72px; background-repeat: no-repeat no-repeat; "></i></a><a class="btn btn-mini" id="object-delete-207" style="color: rgb(51, 51, 51); text-decoration: none; display: inline-block; padding-top: 2px; padding-right: 6px; padding-bottom: 2px; padding-left: 6px; margin-bottom: 0px; font-size: 11px; line-height: 14px; text-align: center; text-shadow: rgba(255, 255, 255, 0.746094) 0px 1px 1px; vertical-align: middle; cursor: pointer; background-color: rgb(245, 245, 245); background-image: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(230, 230, 230)); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgba(0, 0, 0, 0.0976563); border-right-color: rgba(0, 0, 0, 0.0976563); border-left-color: rgba(0, 0, 0, 0.0976563); border-bottom-color: rgba(0, 0, 0, 0.246094); border-top-left-radius: 0px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 0px; -webkit-box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; box-shadow: rgba(255, 255, 255, 0.199219) 0px 1px 0px inset, rgba(0, 0, 0, 0.046875) 0px 1px 2px; position: relative; float: left; margin-left: -1px; background-repeat: repeat no-repeat; "><i class="icon-trash" style="display: inline-block; width: 14px; height: 14px; line-height: 14px; vertical-align: text-top; background-image: url(http://218.100.43.98/IXP-Manager/public/img/glyphicons-halflings.png); background-position: -456px 0px; background-repeat: no-repeat no-repeat; "></i></a></div></td></tr></tbody></table></span></div><div>Joe</div><div><br><blockquote type="cite"><div><br>Nick<br><br>_______________________________________________<br>INEX IXP Manager mailing list<br><a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br>https://www.inex.ie/mailman/listinfo/ixpmanager<br><br>!DSPAM:1,4ffabc5f24052126151195!<br><br><br></div></blockquote></div><br></body></html>