<html><head><title>Re: [smokeping-users] Newbie - How to add new host/group to Smokeping, and have that show up on webpage</title>
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">Top posting.<br>
<br>
Isn't CentOS 7 now using systemd?<br>
[Thus, perhaps like in Ubuntu/Debian "service" commands don't do what you want/expect.]<br>
<br>
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.<br>
<br>
You can try running SP in an interactive debug mode, with the --debug switch.<br>
<br>
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.<br>
<br>
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.<br>
<br>
HTH<br>
-Greg<br>
<br>
</span><table>
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td><span style=" font-family:'courier new'; font-size: 9pt;">Hi everyone --<br>
<br>
New user of smokeping ----<br>
<br>
I have it up and running on a couple of Centos 7 machines using the yum epel rpm without too much issue.<br>
<br>
However -- when I try to add a new host in Targets, two things are going wrong.<br>
<br>
- I cannot seem to shut down smokeping by "service smokeping stop"  -- it leaves an instance of apache running /usr/bin/perl ..../smokeping.fcgi<br>
<br>
When I restart smokeping with kill -HUP commands, and restart it "service smokeping restart"<br>
it does not seem to re-read the config file and add in the new host I've just created...<br>
<br>
Thanks, Tim<br>
<br>
-- <br>
Tim, KA4LFP<br>
</td>
</tr>
</table>
<br></body></html>