From christian.vo at gmail.com Fri Apr 5 21:14:52 2019 From: christian.vo at gmail.com (Christian Vo) Date: Fri, 5 Apr 2019 12:14:52 -0700 Subject: [smokeping-users] FPING graphs not updating under normal mode -- only under debug ? Message-ID: smokeping installation giving me headaches =( I've followed FAQ and made sure permissions are as specified for rrd files.. when I let the system run smokeping (as userid smokeping, via /etc/init.d/script) , rrd doesn't seem to update, and rrdtool lastupdate just gives me this: rrdtool lastupdate TYDC-Core1.rrd uptime loss median ping1 ping2 ping3 ping4 ping5 ping6 ping7 ping8 ping9 ping10 ping11 ping12 ping13 ping14 ping15 ping16 ping17 ping18 ping19 ping20 1554485923: U 20 U U U U U U U U U U U U U U U U U U U U U when I run this cmd as userid root, things look good /usr/sbin/smokeping --config=/etc/smokeping/config --logfile=/tmp/smoke.log root at hyd2-netmon00:/var/lib/smokeping# rrdtool lastupdate Japan/TYDC-Core1.rrd uptime loss median ping1 ping2 ping3 ping4 ping5 ping6 ping7 ping8 ping9 ping10 ping11 ping12 ping13 ping14 ping15 ping16 ping17 ping18 ping19 ping20 1554491493: U 0 1.2559000000e-01 1.2537000000e-01 1.2547000000e-01 1.2547000000e-01 1.2549000000e-01 1.2551000000e-01 1.2554000000e-01 1.2554000000e-01 1.2556000000e-01 1.2556000000e-01 1.2557000000e-01 1.2559000000e-01 1.2559000000e-01 1.2562000000e-01 1.2563000000e-01 1.2566000000e-01 1.2567000000e-01 1.2574000000e-01 1.2881000000e-01 1.2912000000e-01 1.3362000000e-01 seems like smokeping ran as userid smokeping is failing somewhere... not sure what though, since it does update the rrd and generate U's...? Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregs at sloop.net Fri Apr 5 22:11:23 2019 From: gregs at sloop.net (Gregory Sloop) Date: Fri, 5 Apr 2019 13:11:23 -0700 Subject: [smokeping-users] FPING graphs not updating under normal mode -- only under debug ? In-Reply-To: References: Message-ID: <213146830.20190405131123@sloop.net> smokeping installation giving me headaches =( I've followed FAQ and made sure permissions are as specified for rrd files.. when I let the system run smokeping (as userid smokeping, via /etc/init.d/script) , rrd doesn't seem to update, and rrdtool lastupdate just gives me this: rrdtool lastupdate TYDC-Core1.rrd uptime loss median ping1 ping2 ping3 ping4 ping5 ping6 ping7 ping8 ping9 ping10 ping11 ping12 ping13 ping14 ping15 ping16 ping17 ping18 ping19 ping20 1554485923: U 20 U U U U U U U U U U U U U U U U U U U U U when I run this cmd as userid root, things look good /usr/sbin/smokeping --config=/etc/smokeping/config --logfile=/tmp/smoke.log root at hyd2-netmon00:/var/lib/smokeping# rrdtool lastupdate Japan/TYDC-Core1.rrd uptime loss median ping1 ping2 ping3 ping4 ping5 ping6 ping7 ping8 ping9 ping10 ping11 ping12 ping13 ping14 ping15 ping16 ping17 ping18 ping19 ping20 1554491493: U 0 1.2559000000e-01 1.2537000000e-01 1.2547000000e-01 1.2547000000e-01 1.2549000000e-01 1.2551000000e-01 1.2554000000e-01 1.2554000000e-01 1.2556000000e-01 1.2556000000e-01 1.2557000000e-01 1.2559000000e-01 1.2559000000e-01 1.2562000000e-01 1.2563000000e-01 1.2566000000e-01 1.2567000000e-01 1.2574000000e-01 1.2881000000e-01 1.2912000000e-01 1.3362000000e-01 seems like smokeping ran as userid smokeping is failing somewhere... not sure what though, since it does update the rrd and generate U's...? Chris That's a permissions issue - I'm certain of it. Is this running as master or slave? How about a ls -al of the relevant RRD files? SP config file? What linux distro? How was SP installed, compiles/package? What version of SP. But before you post all that - go back and check your RRD file permissions - I'd guess if you fix that, you won't need more of our help. :) If it runs as root, and fails as some other user - it's always a permissions issue. I'm on a debian distro here - and what user smokeping runs at varies for each distro - but in my case, a rrd file listing looks like this. -rw-r--r-- 1 smokeping www-data 27707476 Apr 5 12:54 VPS.rrd This wouldn't work in a master/slave setup, since www-data would also need write access - but in a stand-alone setup it's fine. (And other doesn't need read/any access, but it's not hurting anything either.) As an aside, but related to RRD permissions... You may want to look at setguid or setfacl - if RRD's are getting created with the wrong permissions. [Most useful in master/slave setups.] HTH -Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hamilton_Ben at live.co.uk Tue Apr 23 03:58:05 2019 From: Hamilton_Ben at live.co.uk (Ben Hamilton) Date: Tue, 23 Apr 2019 01:58:05 +0000 Subject: [smokeping-users] Newbie trying to plot IPv6 FPing Message-ID: Hi All, New to Smokeping and having a small problem with plotting IPv6 data. I'm using mostly default config except a minor deviation in that I've added FPing and FPing6 probe blocks as follows: + FPing6 binary = /usr/bin/fping packetsize = 440 blazemode = true protocol = 6 hostinterval = 1.5 mininterval = 0.001 offset = 50% pings = 20 usestdout = true timeout = 1.5 step = 300 + FPing binary = /usr/bin/fping packetsize = 440 blazemode = true protocol = 4 hostinterval = 1.5 mininterval = 0.001 offset = 50% pings = 20 usestdout = true timeout = 1.5 step = 300 Plus a host for Facebook.com to use each probe: *** Targets *** ... + targets ... ++ Facebook menu = Facebook title = Facebook.com host = facebook.com ... + other ... ++ Facebook_v6 probe = FPing6 menu = Facebook (v6) title = Facebok.com (v6 Ping) host = facebook.com (ellipses intentional) But notice I am not pointing at FPing6 binary contrary to the documentation since FPing6 doesn't exist in the repositories for my Linux distribution and according to the project's GitHub the developer unified the branches into base `fping` back in 2015: https://github.com/schweikert/fping/issues/80 So it's fping for both IPv4 and 6, at least for my distribution (is Debian/Ubuntu still making fping6 available?...) Anyway, the issue is no data is being plotted with the FPing6 probe. IPv6 is enabled in my kernel and the wired interface has an IPv6 address. I can also use `fping -6 -C 10 -A facebook.com` successfully. Please let me know how to get up and running. Regards, Ben. -------------- next part -------------- An HTML attachment was scrubbed... URL: