[ixpmanager] sflow daemon
Nick Hilliard
nick at inex.ie
Tue Nov 12 17:32:28 GMT 2013
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
More information about the ixpmanager
mailing list