[smokeping-users] ANNOUNCE: fping 3.3
Vinny_Abello at Dell.com
Vinny_Abello at Dell.com
Tue Sep 4 17:38:51 CEST 2012
Thanks Tobi! Setuid root on the new binary did the trick. Thanks for the fast response!
-Vinny
-----Original Message-----
From: Tobias Oetiker [mailto:tobi at oetiker.ch]
Sent: Tuesday, September 04, 2012 11:35 AM
To: Abello, Vinny
Cc: smokeping-users at lists.oetiker.ch; david at schweikert.ch
Subject: Re: [smokeping-users] ANNOUNCE: fping 3.3
Hi Vinny,
Today Vinny_Abello at Dell.com wrote:
> Hello,
>
> I just tried upgrading fping on a FreeBSD host I have smokeping
> 2.6.7 running on and (to fping 3.4) and I noticed the graphs
> broke. I dug a little deeper and found that fping won't run as
> requested due to the smokeping process being run under an
> unprivileged user. If I run the fping command as smokeping
> attempts as root, it will succeed. Otherwise I get a can't create
> raw socket error.
>
> Is there a quick fix for this (other than obviously running
> smokeping as root)? Can I give my smokeping user access to raw
> sockets somehow or have smokeping spawn the fping process with
> higher privileges?
I guess you have to install fping setuid root:
chown root:root /usr/bin/fping
chmod u+s /usr/bin/fping
cheers
tobi
> -Vinny
>
> -----Original Message-----
> From: smokeping-users-bounces+vinny_abello=dell.com at lists.oetiker.ch [mailto:smokeping-users-bounces+vinny_abello=dell.com at lists.oetiker.ch] On Behalf Of Tobias Klausmann
> Sent: Tuesday, September 04, 2012 6:58 AM
> To: smokeping-users at lists.oetiker.ch
> Subject: Re: [smokeping-users] ANNOUNCE: fping 3.3
>
> Hi!
>
> On Tue, 04 Sep 2012, David Schweikert wrote:
> > On Wed, Aug 29, 2012 at 09:38:01 +0200, Tobias Klausmann wrote:
> > > David Schweikert wrote:
> > > > * Output statistics to stdout instead of stderr
> > >
> > > For the benefit of those who are not aware: this breaks Smokeping
> > > (at least up to and including 2.6.8 since it expects this data on
> > > stderr. My current workaround is a shell wrapper that simply does
> > > 1>&2 so data lands on stderr again.
> >
> > Hi Tobias,
> >
> > Thanks a lot for reporting this issue. I have released fping 3.4 with
> > that change reverted:
> >
> > http://fping.org/dist/
> >
> > Could you test it and tell me if it works ok for you with SmokePing?
>
> Works nicely indeed! Thanks a lot. Since I've integrated the
> stdout-switch patch into my installation of Smokeping, I had to
> switch that back of course.
>
> Regards,
> Tobias
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
More information about the smokeping-users
mailing list