[smokeping-users] telnetIOSPing problem

ChunjingHan chjhan at cstnet.cn
Mon Sep 12 03:43:22 MEST 2005


hollo list
	I use the google site and find http://lists.ee.ethz.ch/smokeping-users/msg00882.html ,	According to the config file ,my config file is following (/var/www/cgi-bin/smokeping/etc/config).Now I use the smokeping 1.41 version
*** General ***

owner    = chunjing Han
contact  = chjhan at cstnet.cn
mailhost = smtp.cstnet.cn
sendmail = /usr/lib/sendmail
imgcache = /var/www/html/smokeping
imgurl   = /smokeping
datadir  = /var/www/html/smokeping
piddir  = /var/www/html/smokeping
cgiurl   = http://192.168.0.10/cgi-bin/smokeping/lib/smokeping.cgi
smokemail = /var/www/cgi-bin/smokeping/etc/smokemail

# specify this to get syslog logging
# syslogfacility = local0


*** Alerts ***
to =chjhan at cstnet.cn
from = chjhan at cstnet.cn

+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 ?

+online
type = rtt
pattern = ==U,!=U
comment = Box went online

+offline
type = rtt
pattern = !=U,==U
comment = Box went offline

*** 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 = /var/www/cgi-bin/smokeping/etc/basepage.html
charset =gb2312
+ 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 ***
+ telnetIOSPing
packetsize = 56
forks = 1
 
binary = /var/www/cgi-bin/smokeping/lib/probes/telnetIOSPing.pm


*** Targets ***
probe = telnetIOSPing

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.
         
+ test
menu = Top
title = Network Latency Grapher

++ router199
menu = router
title =router
host = 192.168.1.1
+++ PROBE_CONF
iospass = ping2008
iosuser = telnetpa
target = 192.168.1.1
source = 10.1.2.1
psource =10.1.2.1
##################################################################end####################
I use the config file and run smokeping .
[root at CSTNET bin]# ./smokeping --restart
### fping seems to report in 1 milliseconds
Warning: no logging method specified. Messages will be lost.
Daemonizing ./smokeping ...
You have new mail in /var/spool/mail/root
[root at CSTNET bin]# 
##########################################################################################
But on my web page ,the graph have no data at all.
I have another question.If I use both the fping and telnetIOSPing ,Can I put the two probe in one config file?
I hope a letter in reply as soon as possible from you!  
good lucky                                            

 


¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ChunjingHan
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡chjhan at cstnet.cn
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-09-12
-- Attached file removed by Ecartis and put at URL below --
-- Type: text/x-vcard
-- Size: 309 bytes
-- URL : http://lists.ee.ethz.ch/p/03-Chunjing%20Han.vcf


--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list