Discussion:
[smokeping-users] Newbie - How to add new host/group to Smokeping, and have that show up on webpage
Tim Reimers KA4LFP
2018-08-01 20:59:41 UTC
Permalink
Hi everyone --

New user of smokeping ----

I have it up and running on a couple of Centos 7 machines using the yum
epel rpm without too much issue.

However -- when I try to add a new host in Targets, two things are going
wrong.

- I cannot seem to shut down smokeping by "service smokeping stop" -- it
leaves an instance of apache running /usr/bin/perl ..../smokeping.fcgi

When I restart smokeping with kill -HUP commands, and restart it "service
smokeping restart"
it does not seem to re-read the config file and add in the new host I've
just created...

Thanks, Tim
--
Tim, KA4LFP
---
The world is in travail, and its agitation waxeth day by day. Its face is
turned towards waywardness and unbelief....Its perversity will long
continue. And when the appointed hour is come, there shall suddenly appear
that which shall cause the limbs of mankind to quake. Then, and only then,
will the Divine Standard be unfurled, and the Nightingale of Paradise
warble its melody.
http://reference.bahai.org/en/t/b/GWB/gwb-61.html
http://www.bahai.org

---
No trees were killed to send you this message, but a few trillion electrons
were severely annoyed...
---
Morse code, the original digital mode
Real radios glow in the dark.
SWAN rule number 1: Life is too short to have a puny signal. © K0MHP
SWAN rule number 2: No menu required. © K0MHP
Gregory Sloop
2018-08-01 21:32:32 UTC
Permalink
Top posting.

Isn't CentOS 7 now using systemd?
[Thus, perhaps like in Ubuntu/Debian "service" commands don't do what you want/expect.]

And that would explain most of your symptoms. It doesn't look like Smokeping exits, and if it doesn't exit/terminate properly it's not going to load the new config either.

You can try running SP in an interactive debug mode, with the --debug switch.

That might help you figure out if the config file has a problem [syntax error that causes it to load improperly] or if it is indeed that the service isn't getting started/stopped/restarted properly.

While I'm not of the, "systemd is the worst thing ever, second only to Hitler" school, I'm not a big fan. And I feel pretty out of my depth trying to grok much about it.

HTH
-Greg


Hi everyone --

New user of smokeping ----

I have it up and running on a couple of Centos 7 machines using the yum epel rpm without too much issue.

However -- when I try to add a new host in Targets, two things are going wrong.

- I cannot seem to shut down smokeping by "service smokeping stop" -- it leaves an instance of apache running /usr/bin/perl ..../smokeping.fcgi

When I restart smokeping with kill -HUP commands, and restart it "service smokeping restart"
it does not seem to re-read the config file and add in the new host I've just created...

Thanks, Tim
--
Tim, KA4LFP
Loading...