<div dir="ltr">Excellent, glad it's now working.<div><br></div><div>Cheers,</div><div>--</div><div>Kwame</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 1:22 PM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class=""><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom </span></div>
<div><br></div></div><div><font color="#000000" face="arial, sans-serif">it was a RRD, so the conf was on Target section. I commented. </font></div>
<span style="font-family:arial,sans-serif;font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Also I saw this part: </span></div>
<div class="">
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div>FPing: Got fping output: '/usr/bin/fping: cannot bind source address : Cannot assign requested address</div></span><br><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><font face="arial, sans-serif">I realize mi source IP was being natted, so I change it and It works!!!. Thanks a lot</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 20:02 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here's the error:<div><div><br></div><div>Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom<br>
</div><div><br></div></div><div>Check that file</div><div><br></div><div>Also, when you reply please use "reply all" so the mailing list has all the updates for this thread.</div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:59 PM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">after all the calculations it says, <div><br></div><div><div>Smokeping version 2.006008 successfully launched.</div>
<div>Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for that.</div>
<div>FPing: probing 2 targets with step 300 s and offset 26 s.</div><div>FPing: Executing /usr/bin/fping -C 21 -q -B1 -r1 -b5000 -t5000 -i1 -p1500 -S192.168.1.200 -O0x20 192.168.1.101 localhost</div><div>FPing: Got fping output: '/usr/bin/fping: cannot bind source address : Cannot assign requested address'</div>
<div>Calling RRDs::update(/var/lib/smokeping/Luminet/LocalMachine.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)</div>
<div>Alert "someloss": no match for target /var/lib/smokeping/Luminet/LocalMachine</div><div>Calling RRDs::update(/var/lib/smokeping/Columbus/Columbus.rrd --template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20 1394564045:U:20:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U:U)</div>
<div>Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom</div></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 19:43 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">read the manual,<div><br></div><div>it says --config=x Use a config file different from the default</div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:42 PM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Option c is ambiguous (cache-dir, check, config)</div><div>Usage:</div><div> smokeping [ --email | --makepod | --version | --restart ]</div>
<div><br></div><div> Options:</div><div>
<br></div><div> --man[=x] Show the manpage for the program (or for probe x, if specified)</div><div><br></div><div> --help Help :-)</div><div><br></div><div> --email Send SmokePing Agents to all Targets marked DYNAMIC</div>
<div><br></div><div> --config=x Use a config file different from the default</div><div><br></div><div> --check Just check the config file syntax, don't start the daemon</div><div><br></div><div> --makepod[=x] Create POD documentation on Config file (or for probe x, if specified)</div>
<div><br></div><div> --version Show SmokePing Version</div><div><br></div><div> --debug Run Only once and do not Fork</div><div><br></div><div> --debug-daemon Start the daemon with debugging enabled</div>
<div><br></div><div> --restart Restart SmokePing</div><div><br></div><div> --reload Reload configuration in the running process without interrupting</div><div> any probes</div><div><br></div>
<div> --nodaemon Do no daemonize the process (no fork)</div><div><br></div><div> --filter=x Only measure entries which pass the filter x</div><div><br></div><div> --logfile=x Append warnings to logfile x.</div>
<div><br></div><div> --static[=x] Generates a static website in directory x. If x is left out,</div><div> pagedir from the config is used.</div><div><br></div><div> --nosleep For debugging you may want to run SmokePing without sleep interval</div>
<div><br></div><div> --gen-examples Generate the smokeping_examples document and example config files</div><div> (to be used while building inside the smokeping distribution)</div><div> With --check : check the syntax of the generated examples.</div>
<div><br></div><div> --master-url=s Run smokeping in slave mode. Attach to master for config.</div><div><br></div><div> --slave-name=s By default the slave will use whatever it thinks its name</div><div> is, when talking to its master. In some cases you may</div>
<div> probably want to override this.</div><div><br></div><div><br></div><div> --shared-secret=s File containing the shared secret for talking to the server.</div><div><br></div><div> --cache-dir=s Directory for temporary data storage when running in slave mode.</div>
<div><br></div><div> --pid-dir=s Directory for the PID file when running in slave mode.</div><div> (optional, defaults to --cache-dir)</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-03-11 19:37 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div><div><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">stop smokeping and run it from the console with<div><br></div><div>smokeping -c /path/to/config_file --nodaemon --debug</div><div><br></div><div>and see what errors you get</div></div><div><div>
<div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:22 PM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Ok let`s change the public IP into a private so is still the same issue, At the beginning I thought it was an IP problem for security and I tested before but nothing changed. So here is the conf with private IP as I have right know.</div>
<div>*** General ***</div><div><br></div><div>owner = Jade Fox</div><div>contact = <a href="mailto:Fox@mail.cr" target="_blank">Fox@mail.cr</a></div><div>mailhost = <a href="http://mx.mail.cr" target="_blank">mx.mail.cr</a></div>
<div><div># NOTE: do not put the Image Cache below cgi-bin</div>
<div># since all files under cgi-bin will be executed ... this is not</div><div># good for images.</div></div><div>cgiurl = <a href="http://192.168.1.200/smokeping.cgi" target="_blank">http://192.168.1.200/smokeping.cgi</a></div>
<div><div># specify this to get syslog logging</div>
<div>syslogfacility = local0</div><div># each probe is now run in its own process</div><div># disable this to revert to the old behaviour</div><div># concurrentprobes = no</div><div><br></div><div>@include /etc/smokeping/config.d/pathnames</div>
<div><br></div></div><div>Regarding the other suggestion, I have this files:</div><div><div>root@Fox:/etc/smokeping/config.d# ls</div><div>Alerts General Presentation sendmail Targets</div><div>Database pathnames Probes Slaves</div>
</div><div><br></div><div>In alerts I have values from smokeping webpage: </div><div><br></div><div><div>+someloss</div><div>type = loss</div><div># in percent</div><div>pattern = >0%,*12*,>0%,*12*,>0%</div><div>
comment = loss 3 times in a row</div><div><br></div><div> +lossdetect</div><div> type = loss</div><div> # in percent</div><div> pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20%</div><div> comment = suddenly there is packet loss</div>
<div><br></div><div> +miniloss</div><div> type = loss</div><div> # in percent</div><div> pattern = >0%,*12*,>0%,*12*,>0%</div><div> comment = detected loss 3 times over the last two hours</div><div><br></div><div>
+rttdetect</div><div> type = rtt</div><div> # in milliseconds</div><div> pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100</div><div> comment = routing messed up again ?</div><div><br></div><div>
+rttbadstart</div><div> type = rtt</div><div> # in milliseconds</div><div> pattern = ==S,==U</div><div> comment = offline at startup</div></div><div><br></div><div>In targets :</div><div><br></div><div><div>*** Targets ***</div>
<div><br></div><div>probe = FPing</div><div>menu = Top</div><div>title = Network Latency Grapher</div><div>remark = Welcome to the SmokePing website of xxx Company. \</div><div> Here you will learn all about the latency of our network.</div>
<div><br></div><div>+ Luminet</div><div><br></div><div>menu = Luminet</div><div>title = Local Network</div><div>alerts = someloss</div><div><br></div><div>++ LocalMachine</div><div><br></div><div>menu = Local Machine</div>
<div>title = This host</div><div>host = localhost</div><div>alerts = someloss</div><div><br></div><div>+ Colom</div><div>menu = Colom </div><div>title = Colom</div><div><br></div><div>++Colom</div><div>title = ICMP Colom </div>
<div>host = 192.168.1.101</div><div>alerts = someloss</div></div><div><br></div><div>in Probes: </div><div><div>+FPing</div><div><br></div><div>binary = /usr/bin/fping</div></div><div><br></div><div>And that's all I have configured.</div>
<div>Regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 19:09 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is little help I can provide if you don't share all your config. <br>You say that you replaced the values yet in the config you shared I see:<div>
<br></div><div>cgiurl = <a href="http://my.domain/smokeping.cgi" target="_blank">http://my.domain/smokeping.cgi</a><br>
</div><div><br></div><div>and also, that's not the only config file you need to work on, you also need to look in the files in /etc/smokeping/conf.d</div><div><br></div><div><br></div></div><div><div>
<div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Mar 11, 2014 at 12:06 PM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Yes, I replace the values in this email for security because it has a public IP, if not I couldn`t see that my graph has not data... </div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 19:03 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">But you need to replace your cgiurl value, is your "my.domain" really your domain? you need to know at least the ip of your server.<div>
Do you know the ip of it?</div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 11:56 AM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Yeah sorry for my lost, in that guide the config file has the same configuration of my General file I showed you before. <span style="font-family:arial,sans-serif;font-size:13px">/etc/smokeping/config.d/</span><span style="font-family:arial,sans-serif;font-size:13px">General:</span><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><div><font face="arial, sans-serif">*** General ***</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">owner = my owner</font></div>
<div><font face="arial, sans-serif">contact = <a href="mailto:owner@mail.com" target="_blank">owner@mail.com</a></font></div><div><font face="arial, sans-serif">mailhost = <a href="http://mx.mail.com" target="_blank">mx.mail.com</a></font></div>
<div><font face="arial, sans-serif"># NOTE: do not put the Image Cache below cgi-bin</font></div>
<div><font face="arial, sans-serif"># since all files under cgi-bin will be executed ... this is not</font></div><div><font face="arial, sans-serif"># good for images.</font></div><div><font face="arial, sans-serif">cgiurl = <a href="http://my.domain/smokeping.cgi" target="_blank">http://my.domain/smokeping.cgi</a></font></div>
<div><font face="arial, sans-serif"># specify this to get syslog logging</font></div><div><font face="arial, sans-serif">syslogfacility = local0</font></div><div><font face="arial, sans-serif"># each probe is now run in its own process</font></div>
<div><font face="arial, sans-serif"># disable this to revert to the old behaviour</font></div><div><font face="arial, sans-serif"># concurrentprobes = no</font></div><div><font face="arial, sans-serif"><br></font></div><div>
<font face="arial, sans-serif">@include /etc/smokeping/config.d/pathnames</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I guess it is an older version of smokeping.</font></div>
<div><font face="arial, sans-serif">Regards</font></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 18:47 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So you are really lost. <div>Follow a howto like this <a href="http://www.howtoforge.com/monitoring_network_latency_smokeping_debian_etch" target="_blank">http://www.howtoforge.com/monitoring_network_latency_smokeping_debian_etch</a> </div>
<div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 11:44 AM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I`m sorry in the guide I followed it just said type "sudo apt-get install smokeping". I searched that config file with "find" and I found this one: /etc/smokeping/config, and it has this config: <div>
<br></div><div><div>@include /etc/smokeping/config.d/General</div><div>@include /etc/smokeping/config.d/Alerts</div><div>@include /etc/smokeping/config.d/Database</div><div>@include /etc/smokeping/config.d/Presentation</div>
<div>@include /etc/smokeping/config.d/Probes</div><div>@include /etc/smokeping/config.d/Slaves</div><div>@include /etc/smokeping/config.d/Targets</div><div><br></div><div>is that what you`re talking about?</div><div><br>
</div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 18:34 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The smokeping config file. Do you know where is it? <div>Did you follow a howto to install and configure it?</div>
<div><br></div><div>Cheers,</div><div>--</div><div>Kwame</div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 11, 2014 at 11:33 AM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Which configuration do you need? smokeping conf or Debian?. Which command I need to use? </div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-11 18:31 GMT+01:00 Kwame Bahena <span dir="ltr"><<a href="mailto:informatux@gmail.com" target="_blank">informatux@gmail.com</a>></span>:<div>
<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You have an error on your config file.<div>The error says that the file or directory /etc/config does not exist. </div>
<div>Can you pastebin your config some place and share it?</div><div><br></div><div>Cheers,</div>
<div>--</div><div>Kwame</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Mar 11, 2014 at 11:27 AM, Erlington Cardoza <span dir="ltr"><<a href="mailto:erlington.j@gmail.com" target="_blank">erlington.j@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><p style="margin-right:0px;margin-bottom:15px;margin-left:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px;margin-top:0px!important">
Hey guys, first of all, thanks to oetiker for this excellent tool.</p><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px">Second, I have done the command ( smoke --debug ) and my smokeping says <code style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;margin:0px;border:1px solid rgb(221,221,221);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;max-width:100%;display:inline-block;overflow:auto;vertical-align:middle;line-height:1.3;padding:0px;white-space:nowrap">"ERROR: loading smokeping configuration file /usr/sbin/../etc/config: No such file or directory"</code>. I am using Debian but I am not a master in this O.S by the way. Also, my local machine does graphics with data but my other host does not appear the data. In my desesperation I did assigned all of possible permissions to the other host, like this "-rwx-rwx-rwx 1 smokeping www-data" and I still dont have data in the new graphic, but in the local machine I do have and Im not using master-slave configuration. What can I do?.</p>
<p style="margin-top:15px;margin-right:0px;margin-left:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:14px;line-height:23.799999237060547px;margin-bottom:0px!important">Thanks and Regards</p>
</div>
<br></div></div>_______________________________________________<br>
smokeping-users mailing list<br>
<a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>