[ixpmanager] sflow daemon

Brian Thompson brian.thompson at iovation.com
Tue Nov 12 17:44:11 GMT 2013


It looks like it is running correctly.

I do seem to be getting alot of warnings

WARNING: while updating
/usr/local/sflow/ipv6/pkts/p2p/src-00005/p2p.ipv6.pkts.src-00005.dst-00015.rrd:
rrdcached: Permission denied
WARNING: while updating
/usr/local/sflow/ipv6/pkts/p2p/src-00005/p2p.ipv6.pkts.src-00005.dst-00038.rrd:
rrdcached: Permission denied
WARNING: while updating
/usr/local/sflow/ipv6/pkts/p2p/src-00005/p2p.ipv6.pkts.src-00005.dst-00008.rrd:
rrdcached: Permission denied
WARNING: while updating
/usr/local/sflow/ipv6/pkts/p2p/src-00005/p2p.ipv6.pkts.src-00005.dst-00004.rrd:
rrdcached: Permission denied
WARNING: while updating
/usr/local/sflow/ipv6/pkts/p2p/src-00005/p2p.ipv6.pkts.src-00005.dst-00034.rrd:
rrdcached: Permission denied

although I am not sure they are repeating, might just be while creating
files.

I do see files being created.



*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 9:32 AM, Nick Hilliard <nick at inex.ie> wrote:

> On 12/11/2013 17:19, Brian Thompson wrote:
> > It does create the .pid file although no processes actually start, and
> the
> > path does seem correct.
>
> When happens when you execute:
>
> /usr/local/ixp/tools/runtime/sflow/sflow-to-rrd-handler
>
> This should work without problems?
>
> Nick
>
> > use warnings;
> > use strict;
> > use Daemon::Control;
> >
> > Daemon::Control->new({
> > name=>"control-sflow-to-rrd-handler",
> > lsb_start=>'$syslog $remote_fs',
> > lsb_stop=>'$syslog',
> > lsb_sdesc=>'Sflow control daemon',
> > lsb_desc=>'Controller for the sflow-to-rrd-daemon.',
> > path=>'/usr/local/ixp/tools/runtime/sflow',
> > program=>'sflow-to-rrd-handler',
> > program_args=>[],
> > pid_file=>'/var/run/sflow-to-rrd-handler.pid',
> > fork=>2,
> > })->run;
> >
> > Thank you for your help.  It is getting down to the wire, I would like to
> > demo this software at our board meeting on Thursday.
> >
> > *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 9:05 AM, Nick Hilliard <nick at inex.ie
> > <mailto:nick at inex.ie>> wrote:
> >
> >     On 12/11/2013 17:03, Brian Thompson wrote:
> >     > Should this be kicked off in a seperate crontab or in
> >     > the ixp-periodic-update.sh?
> >     >
> >     > I can't imagine that this is a manual start each time the server
> reboots.
> >
> >     control-sflow-to-rrd-handler should be put into /etc/rc.d/ or
> /etc/init.d
> >     so that it automatically restarts whenever the server restarts.
> >
> >     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
> _______________________________________________
> 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/20131112/75d71e3e/attachment.html>


More information about the ixpmanager mailing list