> On Fri, Apr 21, 2006 at 03:08:23PM +0200, [EMAIL PROTECTED] wrote: > >> I installed smokeping a few months ago but haven't been able to get in >> to >> work properly.
Strange, it seems to work now - occasionally. See http://amedee.be/cgi-bin/smokeping.cgi to see what I mean. Notice the large gaps. >> Running it in debug gives me the following output: >> >> /usr/sbin/smokeping --debug >> ### Compiling alert detector pattern 'startloss' > > [...] > > This is strange. Isn't there anything like > > ### fping seems to report in ... > or > ### assuming you are using an fping copy reporting in milliseconds > > ? Indeed, when I do /etc/init.d/smokeping restart, it says [EMAIL PROTECTED]:~# /etc/init.d/smokeping restart Restarting smokeping: ### fping seems to report in 1 milliseconds Note: logging to syslog as local0/info. Daemonizing /usr/sbin/smokeping ... smokeping. > Does '/usr/sbin/fping -C 1 localhost' work? [EMAIL PROTECTED]:~# /usr/sbin/fping -C 1 localhost localhost : [0], 84 bytes, 0.13 ms (0.13 avg, 0% loss) localhost : 0.13 --> Yes. > Which version of smokeping and fping do you have? > > % dpkg -l smokeping fping [EMAIL PROTECTED]:~# dpkg -l smokeping fping Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii smokeping 1.38-3 latency logging and graphing system ii fping 2.4b2-to-ipv6- sends ICMP ECHO_REQUEST packets to network These versions should be OK, right? This is /etc/smokeping/config: # Note that all IP addresses in this file are false, to prevent some # machine falling under a deadly DOS storm because all users keep # the same addresses in their config. *** General *** ################################################ # DON'T TOUCH UNLESS YOU KNOW WHAT YOU'RE DOING # BETWEEN THESE MARKS! ################################################ sendmail = /usr/lib/sendmail imgcache = /var/www/smokeping imgurl = ../smokeping datadir = /var/lib/smokeping piddir = /var/run/smokeping smokemail = /etc/smokeping/smokemail ################################################ # END OF DON'T TOUCH SECTION ################################################ # Please edit this to suit your installation owner = Amedee Van Gasse contact = [EMAIL PROTECTED] cgiurl = http://amedee.be/cgi-bin/smokeping.cgi mailhost = mail.amedee.be # 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 *** Alerts *** to = [EMAIL PROTECTED] from = [EMAIL PROTECTED] +bigloss type = loss # in percent pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0% comment = suddenly there is packet loss +someloss type = loss # in percent pattern = >0%,*12*,>0%,*12*,>0% comment = loss 3 times in a row +startloss type = loss # in percent pattern = ==S,>0%,>0%,>0% comment = loss at startup +rttdetect type = rtt # in milli seconds pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100 comment = routing mesed up again ? *** Database *** step = 300 pings = 20 # consfn mrhb steps total AVERAGE 0.5 1 1008 AVERAGE 0.5 12 4320 MIN 0.5 12 4320 MAX 0.5 12 4320 AVERAGE 0.5 144 720 MAX 0.5 144 720 MIN 0.5 144 720 *** Presentation *** template = /etc/smokeping/basepage.html + overview width = 600 height = 50 range = 10h + detail width = 600 height = 200 unison_tolerance = 2 "Last 3 Hours" 3h "Last 30 Hours" 30h "Last 10 Days" 10d "Last 400 Days" 400d *** Probes *** + FPing binary = /usr/sbin/fping *** Targets *** probe = FPing ## You have to edit and uncomment all what you want below this. # Please, refer to smokeping_config man page for more info # The given adresses aren't real to avoid DoS. menu = Top title = Network Latency Grapher remark = Welcome to the SmokePing website of 'A poorly \ mantained site running Debian.' + World menu = World title = Worldwide Connectivity ++ Europe menu = Europe title =European Connectivity +++ Belgium menu = Belgium title =Belgian Connectivity alerts = bigloss,someloss,startloss ++++ Telenet menu = Telenet title =Telenet host = breedband.telenet.be +++ France menu = France title =French Connectivity alerts = bigloss,someloss,startloss ++++ Gandi menu = Gandi title =Gandi host = www.gandi.net +++ Germany menu = Germany title =German connectivity alerts = bigloss,someloss,startloss ++++ Hetzner menu = Hetzner title =Hetzner host = www.hetzner.de -- Amedee Van Gasse [EMAIL PROTECTED] -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/smokeping-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
