[ixpmanager] Peering Manager question

Brian Thompson brian.thompson at iovation.com
Sun Nov 23 17:31:39 GMT 2014


Anybody,

Ok I might need some generic linux help.

root at portal:~# service control-sflow-to-rrd-handler status
/etc/init.d/control-sflow-to-rrd-handler: 22:
/etc/init.d/control-sflow-to-rrd-handler:
/usr/local/ixp/tools/runtime/sflow: Permission denied

I think I might have a path or a variable missing or wrong.

cat /etc/init.d/control-sflow-to-rrd-handler referes
to /usr/local/ixp/tools/runtime/sflow

cat /usr/local/ixp/tools/runtime/sflow/control-sflow-to-rrd-handler referes
to /usr/local/sbin

I have sflow-to-rrd-handler in both locations

root at portal:~# ls -ail /usr/local/sbin/sflow-to-rrd-handler
1576 -rwxr-xr-x 1 root root 14232 Nov 23 09:21
/usr/local/sbin/sflow-to-rrd-handler

root at portal:~# ls -ail
/usr/local/ixp/tools/runtime/sflow/sflow-to-rrd-handler
279166 -rwxrwxrwx 1 root root 14232 Nov 22 14:35
/usr/local/ixp/tools/runtime/sflow/sflow-to-rrd-handler

Although
root at portal:~#
/usr/local/ixp/tools/runtime/sflow/control-sflow-to-rrd-handler status
control-sflow-to-rrd-handler                                  [Running]

Which sflow-to-rrd-handler location is correct "runtime" or "sbin"? and
where might I have a wrong permission set?

Thanks anybody,

Brian

*Brian Thompson*
Senior Infrastructure Engineer // Senior Second Guesser

Direct: 503.943.6779
Mobile: 503.707.9018 // Twitter: iovation
*www.iovation.com <http://www.iovation.com/>*


On Sat, Nov 22, 2014 at 2:37 PM, Brian Thompson <brian.thompson at iovation.com
> wrote:

> I got it thanks
>
> root at portal:/usr/local/ixp# git pull origin master
> From https://github.com/inex/IXP-Manager
>  * branch            master     -> FETCH_HEAD
> Updating 781f433..f0609e3
> Fast-forward
>  application/controllers/AuthController.php         |    6 +-
>  application/controllers/IrrdbCliController.php     |    4 +-
>  .../views/_skins/inex/rir/tmpl/autnum-as2128.tpl   |    2 +-
>  .../_skins/inex/statistics-cli/mrtg/trunks.cfg     |   68 +++++--
>  tools/runtime/check-perl-dependencies.pl           |  104 ++++++++++
>  .../route-servers/compare-route-server-prefixes.pl |   16 +-
>  .../sflow/control-sflow-detect-ixp-bgp-sessions    |   45 +++++
>  tools/runtime/sflow/control-sflow-to-rrd-handler   |   12 +-
>  tools/runtime/sflow/sflow-detect-ixp-bgp-sessions  |  210
> ++++++++++++++++++++
>  tools/runtime/sflow/sflow-to-rrd-handler           |   32 +--
>  10 files changed, 450 insertions(+), 49 deletions(-)
>  create mode 100644 tools/runtime/check-perl-dependencies.pl
>  create mode 100755
> tools/runtime/sflow/control-sflow-detect-ixp-bgp-sessions
>  create mode 100755 tools/runtime/sflow/sflow-detect-ixp-bgp-sessions
>
> *Brian Thompson*
> Senior Infrastructure Engineer // Senior Second Guesser
>
> Direct: 503.943.6779
> Mobile: 503.707.9018 // Twitter: iovation
> *www.iovation.com <http://www.iovation.com/>*
>
>
> On Sat, Nov 22, 2014 at 1:29 PM, Nick Hilliard <nick at inex.ie> wrote:
>
>> On 22/11/2014 21:00, Nick Hilliard wrote:
>> > can you run a git pull again?  The code is now in:
>> >
>> > tools/runtime/sflow/sflow-detect-ixp-bgp-sessions
>> >
>> > Am currently writing some documentation.
>>
>> Preliminary documentation here:
>>
>> https://github.com/inex/IXP-Manager/wiki/Peering-Matrix
>>
>> Can you run with this and see how it goes?  There's more documentation
>> required for setting up sflowtool fanout, but if you start off a primary
>> sflowtool daemon like this:
>>
>> # sflowtool -4 -f 127.0.0.1/5500 -f 127.0.0.1/5501
>>
>> ... it will fan out two separate feeds, one to [127.0.0.1]:5500 and the
>> other to [127.0.0.1]:5501.  One of these should be used for the sflow
>> p2p/rrd feed, and the other can be used for bgp session detection for the
>> peering matrix.
>>
>> Nick
>> _______________________________________________
>> INEX IXP Manager mailing list
>> ixpmanager at inex.ie
>> https://www.inex.ie/mailman/listinfo/ixpmanager
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20141123/26fd4817/attachment.html>


More information about the ixpmanager mailing list