Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom
it was a RRD, so the conf was on Target section. I commented. Also I saw this part: FPing: Got fping output: '/usr/bin/fping: cannot bind source address : Cannot assign requested address I realize mi source IP was being natted, so I change it and It works!!!. Thanks a lot 2014-03-11 20:02 GMT+01:00 Kwame Bahena <[email protected]>: > Here's the error: > > Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom > > Check that file > > Also, when you reply please use "reply all" so the mailing list has all > the updates for this thread. > > > On Tue, Mar 11, 2014 at 12:59 PM, Erlington Cardoza <[email protected] > > wrote: > >> after all the calculations it says, >> >> Smokeping version 2.006008 successfully launched. >> Not entering multiprocess mode with '--debug'. Use '--debug-daemon' for >> that. >> FPing: probing 2 targets with step 300 s and offset 26 s. >> FPing: Executing /usr/bin/fping -C 21 -q -B1 -r1 -b5000 -t5000 -i1 -p1500 >> -S192.168.1.200 -O0x20 192.168.1.101 localhost >> FPing: Got fping output: '/usr/bin/fping: cannot bind source address : >> Cannot assign requested address' >> 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) >> Alert "someloss": no match for target >> /var/lib/smokeping/Luminet/LocalMachine >> 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) >> Alert "someloss": no match for target /var/lib/smokeping/Colom/Colom >> >> >> >> 2014-03-11 19:43 GMT+01:00 Kwame Bahena <[email protected]>: >> >> read the manual, >>> >>> it says --config=x Use a config file different from the default >>> >>> >>> On Tue, Mar 11, 2014 at 12:42 PM, Erlington Cardoza < >>> [email protected]> wrote: >>> >>>> >>>> Option c is ambiguous (cache-dir, check, config) >>>> Usage: >>>> smokeping [ --email | --makepod | --version | --restart ] >>>> >>>> Options: >>>> >>>> --man[=x] Show the manpage for the program (or for probe x, if >>>> specified) >>>> >>>> --help Help :-) >>>> >>>> --email Send SmokePing Agents to all Targets marked DYNAMIC >>>> >>>> --config=x Use a config file different from the default >>>> >>>> --check Just check the config file syntax, don't start the >>>> daemon >>>> >>>> --makepod[=x] Create POD documentation on Config file (or for >>>> probe x, if specified) >>>> >>>> --version Show SmokePing Version >>>> >>>> --debug Run Only once and do not Fork >>>> >>>> --debug-daemon Start the daemon with debugging enabled >>>> >>>> --restart Restart SmokePing >>>> >>>> --reload Reload configuration in the running process without >>>> interrupting >>>> any probes >>>> >>>> --nodaemon Do no daemonize the process (no fork) >>>> >>>> --filter=x Only measure entries which pass the filter x >>>> >>>> --logfile=x Append warnings to logfile x. >>>> >>>> --static[=x] Generates a static website in directory x. If x is >>>> left out, >>>> pagedir from the config is used. >>>> >>>> --nosleep For debugging you may want to run SmokePing without >>>> sleep interval >>>> >>>> --gen-examples Generate the smokeping_examples document and >>>> example config files >>>> (to be used while building inside the smokeping >>>> distribution) >>>> With --check : check the syntax of the generated >>>> examples. >>>> >>>> --master-url=s Run smokeping in slave mode. Attach to master for >>>> config. >>>> >>>> --slave-name=s By default the slave will use whatever it thinks >>>> its name >>>> is, when talking to its master. In some cases you >>>> may >>>> probably want to override this. >>>> >>>> >>>> --shared-secret=s File containing the shared secret for talking to >>>> the server. >>>> >>>> --cache-dir=s Directory for temporary data storage when running in >>>> slave mode. >>>> >>>> --pid-dir=s Directory for the PID file when running in slave mode. >>>> (optional, defaults to --cache-dir) >>>> >>>> >>>> >>>> 2014-03-11 19:37 GMT+01:00 Kwame Bahena <[email protected]>: >>>> >>>> stop smokeping and run it from the console with >>>>> >>>>> smokeping -c /path/to/config_file --nodaemon --debug >>>>> >>>>> and see what errors you get >>>>> >>>>> >>>>> On Tue, Mar 11, 2014 at 12:22 PM, Erlington Cardoza < >>>>> [email protected]> wrote: >>>>> >>>>>> 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. >>>>>> *** General *** >>>>>> >>>>>> owner = Jade Fox >>>>>> contact = [email protected] >>>>>> mailhost = mx.mail.cr >>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>> # good for images. >>>>>> cgiurl = http://192.168.1.200/smokeping.cgi >>>>>> # specify this to get syslog logging >>>>>> syslogfacility = local0 >>>>>> # each probe is now run in its own process >>>>>> # disable this to revert to the old behaviour >>>>>> # concurrentprobes = no >>>>>> >>>>>> @include /etc/smokeping/config.d/pathnames >>>>>> >>>>>> Regarding the other suggestion, I have this files: >>>>>> root@Fox:/etc/smokeping/config.d# ls >>>>>> Alerts General Presentation sendmail Targets >>>>>> Database pathnames Probes Slaves >>>>>> >>>>>> In alerts I have values from smokeping webpage: >>>>>> >>>>>> +someloss >>>>>> type = loss >>>>>> # in percent >>>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>>> comment = loss 3 times in a row >>>>>> >>>>>> +lossdetect >>>>>> type = loss >>>>>> # in percent >>>>>> pattern = ==0%,==0%,==0%,==0%,>20%,>20%,>20% >>>>>> comment = suddenly there is packet loss >>>>>> >>>>>> +miniloss >>>>>> type = loss >>>>>> # in percent >>>>>> pattern = >0%,*12*,>0%,*12*,>0% >>>>>> comment = detected loss 3 times over the last two hours >>>>>> >>>>>> +rttdetect >>>>>> type = rtt >>>>>> # in milliseconds >>>>>> pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 >>>>>> comment = routing messed up again ? >>>>>> >>>>>> +rttbadstart >>>>>> type = rtt >>>>>> # in milliseconds >>>>>> pattern = ==S,==U >>>>>> comment = offline at startup >>>>>> >>>>>> In targets : >>>>>> >>>>>> *** Targets *** >>>>>> >>>>>> probe = FPing >>>>>> menu = Top >>>>>> title = Network Latency Grapher >>>>>> remark = Welcome to the SmokePing website of xxx Company. \ >>>>>> Here you will learn all about the latency of our network. >>>>>> >>>>>> + Luminet >>>>>> >>>>>> menu = Luminet >>>>>> title = Local Network >>>>>> alerts = someloss >>>>>> >>>>>> ++ LocalMachine >>>>>> >>>>>> menu = Local Machine >>>>>> title = This host >>>>>> host = localhost >>>>>> alerts = someloss >>>>>> >>>>>> + Colom >>>>>> menu = Colom >>>>>> title = Colom >>>>>> >>>>>> ++Colom >>>>>> title = ICMP Colom >>>>>> host = 192.168.1.101 >>>>>> alerts = someloss >>>>>> >>>>>> in Probes: >>>>>> +FPing >>>>>> >>>>>> binary = /usr/bin/fping >>>>>> >>>>>> And that's all I have configured. >>>>>> Regards >>>>>> >>>>>> >>>>>> 2014-03-11 19:09 GMT+01:00 Kwame Bahena <[email protected]>: >>>>>> >>>>>> There is little help I can provide if you don't share all your >>>>>>> config. >>>>>>> You say that you replaced the values yet in the config you shared I >>>>>>> see: >>>>>>> >>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>> >>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Mar 11, 2014 at 12:06 PM, Erlington Cardoza < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> 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... >>>>>>>> >>>>>>>> >>>>>>>> 2014-03-11 19:03 GMT+01:00 Kwame Bahena <[email protected]>: >>>>>>>> >>>>>>>> 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. >>>>>>>>> Do you know the ip of it? >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Mar 11, 2014 at 11:56 AM, Erlington Cardoza < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Yeah sorry for my lost, in that guide the config file has the >>>>>>>>>> same configuration of my General file I showed you before. >>>>>>>>>> /etc/smokeping/config.d/General: >>>>>>>>>> >>>>>>>>>> *** General *** >>>>>>>>>> >>>>>>>>>> owner = my owner >>>>>>>>>> contact = [email protected] >>>>>>>>>> mailhost = mx.mail.com >>>>>>>>>> # NOTE: do not put the Image Cache below cgi-bin >>>>>>>>>> # since all files under cgi-bin will be executed ... this is not >>>>>>>>>> # good for images. >>>>>>>>>> cgiurl = http://my.domain/smokeping.cgi >>>>>>>>>> # specify this to get syslog logging >>>>>>>>>> syslogfacility = local0 >>>>>>>>>> # each probe is now run in its own process >>>>>>>>>> # disable this to revert to the old behaviour >>>>>>>>>> # concurrentprobes = no >>>>>>>>>> >>>>>>>>>> @include /etc/smokeping/config.d/pathnames >>>>>>>>>> >>>>>>>>>> I guess it is an older version of smokeping. >>>>>>>>>> Regards >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2014-03-11 18:47 GMT+01:00 Kwame Bahena <[email protected]>: >>>>>>>>>> >>>>>>>>>> So you are really lost. >>>>>>>>>>> Follow a howto like this >>>>>>>>>>> http://www.howtoforge.com/monitoring_network_latency_smokeping_debian_etch >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Mar 11, 2014 at 11:44 AM, Erlington Cardoza < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> 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: >>>>>>>>>>>> >>>>>>>>>>>> @include /etc/smokeping/config.d/General >>>>>>>>>>>> @include /etc/smokeping/config.d/Alerts >>>>>>>>>>>> @include /etc/smokeping/config.d/Database >>>>>>>>>>>> @include /etc/smokeping/config.d/Presentation >>>>>>>>>>>> @include /etc/smokeping/config.d/Probes >>>>>>>>>>>> @include /etc/smokeping/config.d/Slaves >>>>>>>>>>>> @include /etc/smokeping/config.d/Targets >>>>>>>>>>>> >>>>>>>>>>>> is that what you`re talking about? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 2014-03-11 18:34 GMT+01:00 Kwame Bahena <[email protected]>: >>>>>>>>>>>> >>>>>>>>>>>> The smokeping config file. Do you know where is it? >>>>>>>>>>>>> Did you follow a howto to install and configure it? >>>>>>>>>>>>> >>>>>>>>>>>>> Cheers, >>>>>>>>>>>>> -- >>>>>>>>>>>>> Kwame >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:33 AM, Erlington Cardoza < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Which configuration do you need? smokeping conf or Debian?. >>>>>>>>>>>>>> Which command I need to use? >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2014-03-11 18:31 GMT+01:00 Kwame Bahena <[email protected] >>>>>>>>>>>>>> >: >>>>>>>>>>>>>> >>>>>>>>>>>>>> You have an error on your config file. >>>>>>>>>>>>>>> The error says that the file or directory /etc/config does >>>>>>>>>>>>>>> not exist. >>>>>>>>>>>>>>> Can you pastebin your config some place and share it? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Cheers, >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Kwame >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Tue, Mar 11, 2014 at 11:27 AM, Erlington Cardoza < >>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Hey guys, first of all, thanks to oetiker for this >>>>>>>>>>>>>>>> excellent tool. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Second, I have done the command ( smoke --debug ) and my >>>>>>>>>>>>>>>> smokeping says "ERROR: loading smokeping configuration >>>>>>>>>>>>>>>> file /usr/sbin/../etc/config: No such file or directory". >>>>>>>>>>>>>>>> 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?. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks and Regards >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> _______________________________________________ >>>>>>>>>>>>>>>> smokeping-users mailing list >>>>>>>>>>>>>>>> [email protected] >>>>>>>>>>>>>>>> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
