<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>You configure your monitored hosts in the Targets file. In my
install that is here :<br>
</p>
<p>sudo vi /etc/smokeping/config.d/Targets</p>
<p>You can find the Targets file by using the find command or by
installing the locate utility - I like locate.<br>
</p>
<p>sudo apt install locate<br>
</p>
<p>and then running <br>
</p>
<p>sudo updatedb</p>
<p>sudo locate Targets</p>
<p>(if you don't 'sudo locate' you will not see some directories
because of permissions)<br>
</p>
<p>and you can view the plotted data in at this url assuming you
don't change the cgi path in the 'General' file:
(yourwebserverip)/cgi-bin/smokeping.cgi?target=(your system config
name)</p>
<p>You can change the url path in /etc/smokeping/config.d/General
<br>
</p>
<p>You need to make sure that appropriate permissions are set for
the paths that are specified in /etc/smokeping/config.d/pathnames</p>
<p>You might also need to fiddle with your webserver's config file
to ensure it can execute the scripts.</p>
<p>And keep plugging away at it...... I found Smokeping challenging
to configure when I first installed it and I am a Linux guy.....
that was 10 or 12 years ago I think, but it is a <i>very </i>handy
tool once you get to understand how it works and what it can do.
It now monitors a half-dozen services on 200+ targets for us.<br>
</p>
<p>Regards,<br>
</p>
<p>Ian<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/04/2018 2:29 PM, Henrik Rosenø
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:753714b2-3c04-426a-ed16-5ae0dec55f59@webspeed.dk">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
OK. Thank you! <br>
<br>
I discovered that Ctrl-C gets me back to the prompt. <br>
And "ps -ef | grep -c smokeping" gives output "2" just like in
your case. <br>
But how can I see or access the results of the monitoring?<br>
<br>
Best regards,<br>
Henrik R.<br>
<br>
<br>
<div class="moz-cite-prefix">On 04/09/2018 04:02 PM, goZoom
SysAdmin wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e4e0d513-7f94-fd92-695e-b52d4770fb41@gozoom.ca">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<p>You probably have multiple copies of smokeping running. <br>
</p>
<p>Count the instances<br>
</p>
<p>ian@draco:~$ ps -ef | grep -c smokeping<br>
2 <br>
</p>
<p><br>
</p>
<p>2 is normal as shown below</p>
<p>ian@draco:~$ ps -ef | grep smokeping</p>
<p>smokepi+ 17602 1 0 Apr05 ? 00:01:06
/usr/sbin/smokeping [FPing]<br>
ian 29551 29487 0 09:57 pts/0 00:00:00 grep
--color=auto smokeping<br>
ian@draco:~$<br>
</p>
<p>if you have multiple instances it's probably easiest just to
reboot</p>
<p>ian@draco:~$ sudo reboot now</p>
<p>And You probably need to find a beginners guide to Linux.<br>
</p>
<p>Ian<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/04/2018 8:43 AM, Henrik
Rosenø wrote:<br>
</div>
<blockquote type="cite"
cite="mid:bfda40b7-d658-9a6a-a156-769febe55385@webspeed.dk">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
Hi goZoom<br>
<br>
<br>
Thank you for your very fast answer. <br>
<br>
So far so good. Now my problem is getting 20 copies of a
status message. Below I have inserted the first and the last
copy. <br>
The cursor is blinking next to "lines 1-18/18 (END)".<br>
What do I do now?<br>
<br>
<blockquote type="cite"><a class="moz-txt-link-abbreviated"
href="mailto:henrik@Henrik-L570:%7E/smokeping-2.7.1$"
moz-do-not-send="true">henrik@Henrik-L570:~/smokeping-2.7.1$</a>
sudo service smokeping start<br>
[sudo] password for henrik: <br>
<a class="moz-txt-link-abbreviated"
href="mailto:henrik@Henrik-L570:%7E/smokeping-2.7.1$"
moz-do-not-send="true">henrik@Henrik-L570:~/smokeping-2.7.1$</a>
sudo service smokeping status<br>
● smokeping.service - LSB: Start or stop the smokeping
latency logging system daemon<br>
Loaded: loaded (/etc/init.d/smokeping; generated; vendor
preset: enabled)<br>
Active: active (running) since Mon 2018-04-09 11:32:08
CEST; 3h 0min ago<br>
Docs: <a class="moz-txt-link-freetext"
href="man:systemd-sysv-generator%288%29"
moz-do-not-send="true">man:systemd-sysv-generator(8)</a><br>
Tasks: 1 (limit: 4915)<br>
CGroup: /system.slice/smokeping.service<br>
└─9923 /usr/sbin/smokeping [FPing]<br>
<br>
Apr 09 11:32:07 Henrik-L570 systemd[1]: Starting LSB: Start
or stop the smokeping latency logging syste<br>
Apr 09 11:32:07 Henrik-L570 smokeping[9911]: * Starting
latency logger daemon smokeping<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9918]: Starting syslog
logging<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9919]: Note: logging
to syslog as local0/info.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9919]: Daemonizing
/usr/sbin/smokeping ...<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9923]: Smokeping
version 2.006011 successfully launched.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9923]: Not entering
multiprocess mode for just a single probe.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9923]: FPing: probing
1 targets with step 300 s and offset 27 s.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9911]: ...done.<br>
Apr 09 11:32:08 Henrik-L570 systemd[1]: Started LSB: Start
or stop the smokeping latency logging system<br>
lines 1-18/18 (END)<br>
<br>
<br>
</blockquote>
<br>
<blockquote type="cite"><br>
<br>
● smokeping.service - LSB: Start or stop the smokeping
latency logging system daemon<br>
Loaded: loaded (/etc/init.d/smokeping; generated; vendor
preset: enabled)<br>
Active: active (running) since Mon 2018-04-09 11:32:08
CEST; 3h 0min ago<br>
Docs: <a class="moz-txt-link-freetext"
href="man:systemd-sysv-generator%288%29"
moz-do-not-send="true">man:systemd-sysv-generator(8)</a><br>
Tasks: 1 (limit: 4915)<br>
CGroup: /system.slice/smokeping.service<br>
└─9923 /usr/sbin/smokeping [FPing]<br>
<br>
Apr 09 11:32:07 Henrik-L570 systemd[1]: Starting LSB: Start
or stop the smokeping latency logging system daemon...<br>
Apr 09 11:32:07 Henrik-L570 smokeping[9911]: * Starting
latency logger daemon smokeping<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9918]: Starting syslog
logging<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9919]: Note: logging
to syslog as local0/info.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9919]: Daemonizing
/usr/sbin/smokeping ...<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9923]: Smokeping
version 2.006011 successfully launched.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9923]: Not entering
multiprocess mode for just a single probe.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9923]: FPing: probing
1 targets with step 300 s and offset 27 s.<br>
Apr 09 11:32:08 Henrik-L570 smokeping[9911]: ...done.<br>
Apr 09 11:32:08 Henrik-L570 systemd[1]: Started LSB: Start
or stop the smokeping latency logging system daemon.<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
~<br>
lines 1-18/18 (END)<br>
</blockquote>
<br>
<br>
Henrik<br>
<pre class="moz-signature" cols="72">--
Henrik Rosenø, M.Sc (civilingeniør)
Website: <a class="moz-txt-link-abbreviated" href="http://www.Transformation.DK" moz-do-not-send="true">www.Transformation.DK</a>
Spiritual, psychological, ethical, and political subjects.
English: The path to eternal life is spiritual and sexual transformation.dk
Dansk: Vejen til evigt liv er åndelig og seksuel transformation.dk
</pre>
<div class="moz-cite-prefix">On 04/09/2018 02:20 PM, goZoom
SysAdmin wrote:<br>
</div>
<blockquote type="cite"
cite="mid:858737e7-7193-8100-3195-ac4ca5ec1ff3@gozoom.ca">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<p>This is not a smokeping problem. You are trying to run
smokeping as Your user on Linux and You do not have write
access to the directory. Run smokeping as a service, not
as a standalone program. <br>
</p>
<p>sudo service smokeping start</p>
<p>sudo service smokeping status</p>
<p>Ian<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/04/2018 8:13 AM, Henrik
Rosenø wrote:<br>
</div>
<blockquote type="cite"
cite="mid:56793895-ade2-c35f-2279-f48067bb67e4@webspeed.dk">
<pre class="western">creating /var/run/smokeping/smokeping.pid: Permission denied</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
smokeping-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:smokeping-users@lists.oetiker.ch" moz-do-not-send="true">smokeping-users@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" moz-do-not-send="true">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>