Re: [Observium] Smokeping graphs post migration
It seems this bit of code isn’t being triggered at all, which suggests none of your filenames have a tilde in them?
correct
As a side note, smokeping-generate vs my actual targets appears to differ.
# jstanford @ observium in ~ [14:44:02] $ diff smokeping-obs-script.txt smokeping-actual-targert.txt 174,179d173 < ++ radio-cedarwood_fremont_rmham < host = radio-cedarwood.fremont.rmham < < ++ radio-cedarwood_pueblo_rmham < host = radio-cedarwood.pueblo.rmham < 582,584d575 < ++ router_n5zgt_qth < host = router.n5zgt.qth < 737,739d727 < < ++ wifi_ac0kq_rmham < host = wifi.ac0kq.rmham
The issue here, I think, is that the slaves aren’t collecting their config from the master, and thus aren’t polling anything.
I just installed smokeping on a couple of systems here, and I can’t get the stupid thing to talk to the master from the slaves, it’s not even attempting to.
I guess you’ve only replaced the master though, so I’m not sure why it’s behaving like this. Certainly the slaves need to access the URL defined to collect their config, so check that first? Perhaps an HTTPS redirect or something is confusing them.
It’s been a decade since I used smokeping, so I’m not sure why it’s not working. :)
Adam.
From: Joey Stanford nv0n@rmham.org Sent: 19 December 2020 21:46 To: Observium observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] Smokeping graphs post migration
It seems this bit of code isn’t being triggered at all, which suggests none of your filenames have a tilde in them?
correct
As a side note, smokeping-generate vs my actual targets appears to differ.
# jstanford @ observium in ~ [14:44:02]
$ diff smokeping-obs-script.txt smokeping-actual-targert.txt
174,179d173
< ++ radio-cedarwood_fremont_rmham
< host = radio-cedarwood.fremont.rmham
<
< ++ radio-cedarwood_pueblo_rmham
< host = radio-cedarwood.pueblo.rmham
<
582,584d575
< ++ router_n5zgt_qth
< host = router.n5zgt.qth
<
737,739d727
<
< ++ wifi_ac0kq_rmham
< host = wifi.ac0kq.rmham
It seems that at least on Debian/ubuntu current smokeping packages are broken and their init scripts aren’t passing variables correctly.
Adam.
From: observium observium-bounces@observium.org On Behalf Of Adam Armstrong via observium Sent: 19 December 2020 21:50 To: observium@observium.org Cc: Adam Armstrong adama@observium.org Subject: Re: [Observium] Smokeping graphs post migration
The issue here, I think, is that the slaves aren’t collecting their config from the master, and thus aren’t polling anything.
I just installed smokeping on a couple of systems here, and I can’t get the stupid thing to talk to the master from the slaves, it’s not even attempting to.
I guess you’ve only replaced the master though, so I’m not sure why it’s behaving like this. Certainly the slaves need to access the URL defined to collect their config, so check that first? Perhaps an HTTPS redirect or something is confusing them.
It’s been a decade since I used smokeping, so I’m not sure why it’s not working. :)
Adam.
From: Joey Stanford <nv0n@rmham.org mailto:nv0n@rmham.org > Sent: 19 December 2020 21:46 To: Observium <observium@observium.org mailto:observium@observium.org > Cc: Adam Armstrong <adama@observium.org mailto:adama@observium.org > Subject: Re: [Observium] Smokeping graphs post migration
It seems this bit of code isn’t being triggered at all, which suggests none of your filenames have a tilde in them?
correct
As a side note, smokeping-generate vs my actual targets appears to differ.
# jstanford @ observium in ~ [14:44:02]
$ diff smokeping-obs-script.txt smokeping-actual-targert.txt
174,179d173
< ++ radio-cedarwood_fremont_rmham
< host = radio-cedarwood.fremont.rmham
<
< ++ radio-cedarwood_pueblo_rmham
< host = radio-cedarwood.pueblo.rmham
<
582,584d575
< ++ router_n5zgt_qth
< host = router.n5zgt.qth
<
737,739d727
<
< ++ wifi_ac0kq_rmham
< host = wifi.ac0kq.rmham
On Dec 19, 2020, at 15:27 , Adam Armstrong via observium observium@observium.org wrote:
It seems that at least on Debian/ubuntu current smokeping packages are broken and their init scripts aren’t passing variables correctly.
I’ve been able to track this down to permission issues with rrdcached (it was defaulted to -B) and rrdtool permission errors
Not yet fixed but I have a way forward.
On Dec 19, 2020, at 17:46 , Joey Stanford via observium observium@observium.org wrote:
I’ve been able to track this down to permission issues with rrdcached (it was defaulted to -B) and rrdtool permission errors
So for historical (or hysterical) reasons, the answers were:
1) rrdcached was running with -B as per the example in docs. This prevented it from accessing the smokeping rrd directory 2) the user observium was not in group smokeping so it (and thus rrdtool) couldn’t access the logs 3) some sort of crazy situation I’ve never seen before with permissions where being in a group was ignored (no ACLs per getfacl either). It registered as 764 but didn’t act like it, even after rebooting. I had to…wait for it… chown g+s and then chown g-s and then chown 764 and then it worked.
Don’t run rrdcached without -B :O
Adam.
From: observium observium-bounces@observium.org On Behalf Of Joey Stanford via observium Sent: 20 December 2020 14:11 To: Observium observium@observium.org Cc: Joey Stanford nv0n@rmham.org Subject: Re: [Observium] Smokeping graphs post migration
On Dec 19, 2020, at 17:46 , Joey Stanford via observium <observium@observium.org mailto:observium@observium.org > wrote:
I’ve been able to track this down to permission issues with rrdcached (it was defaulted to -B) and rrdtool permission errors
So for historical (or hysterical) reasons, the answers were:
1) rrdcached was running with -B as per the example in docs. This prevented it from accessing the smokeping rrd directory
2) the user observium was not in group smokeping so it (and thus rrdtool) couldn’t access the logs
3) some sort of crazy situation I’ve never seen before with permissions where being in a group was ignored (no ACLs per getfacl either). It registered as 764 but didn’t act like it, even after rebooting. I had to…wait for it… chown g+s and then chown g-s and then chown 764 and then it worked.
participants (2)
-
Adam Armstrong
-
Joey Stanford