[ixpmanager] sflow daemon

Nick Hilliard nick at inex.ie
Tue Nov 12 23:06:15 GMT 2013


On 12/11/2013 18:43, Brian Thompson wrote:
> Any idea on why control-sflow-to-rrd-handler is still failing?

hmm, the 'path' parameter refers to path for control-sflow-to-rrd-handler
rather than the path for sflow-to-rrd-handler.  So you will need to change

program         =>      'sflow-to-rrd-handler',

to:

program         =>
'/usr/local/ixp/tools/runtime/sflow/sflow-to-rrd-handler',

The reason this works on our systems is that sflow-to-rrd-handler is
located in /usr/local/sbin/, which is in the standard daemon $PATH
environment variable.

Can you see if this works?  If it does, I'll open up a github ticket to
make a note to fix this properly.

Nick

> 
> root at portal:/usr/local/ixp/tools/runtime/sflow#
> ./control-sflow-to-rrd-handler startCan't exec "sflow-to-rrd-handler": No
> such file or directory at /usr/local/share/perl/5.14.2/Daemon/Control.pm
> line 259.
> Failed to exec sflow-to-rrd-handler : No such file or directory at
> /usr/local/share/perl/5.14.2/Daemon/Control.pm line 259.
> control-sflow-to-rrd-handler                                  [Started]
> root at portal:/usr/local/ixp/tools/runtime/sflow#
> 
> *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 Tue, Nov 12, 2013 at 10:01 AM, Nick Hilliard <nick at inex.ie
> <mailto:nick at inex.ie>> wrote:
> 
>     On 12/11/2013 17:44, Brian Thompson wrote:
>     > WARNING: while updating
>     >
>     /usr/local/sflow/ipv6/pkts/p2p/src-00005/p2p.ipv6.pkts.src-00005.dst-00015.rrd:
>     > rrdcached: Permission denied
> 
>     ok, this means that the rrdcached permissions are not set up correctly.
>     You'll need to start rrdcached with FLUSH,UPDATE,FLUSHALL permissions.
>     Here's what we use at INEX:
> 
>     /usr/local/bin/rrdcached -s www -m 0666 -F \
>             -l unix:/var/run/rrdcached.sock \
>             -p /var/run/rrdcached.pid \
>             -j /var/db/rrdcached/journal/ \
>             -b /var/db/rrdcached/db/ \
>             -P FLUSH,UPDATE,FLUSHALL
> 
>     If you're using debian or ubuntu, you can edit the startup options in
>     /etc/defaults/rrdcached and then use 'service rrdcached restart'.
> 
>     Nick
> 
>     _______________________________________________
>     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
> https://www.inex.ie/mailman/listinfo/ixpmanager
> 


-- 
Network Ability Ltd. | Chief Technical Officer | Tel: +353 1 6169698
3 Westland Square    | INEX - Internet Neutral | Fax: +353 1 6041981
Dublin 2, Ireland    | Exchange Association    | Email: nick at inex.ie



More information about the ixpmanager mailing list