Peter,

Thanks for the quick response.  We can see a successful SNMP via UDP from 
Smokeping to the router's Loopback.  However, all of our configs are done to 
use the Interface IP and that is what is sending TCP to this 1 specific router. 
 All other routers successfully go with UDP.

Here is an example of our config:

*** General ***

owner    = Network Management Services
contact  = 
[email protected]<mailto:[email protected]>
mailhost = mail.host.com
sendmail = /usr/lib/sendmail
imgcache = /usr/local/smokeping/cache
imgurl   = cache
datadir  = /opt/ens/smoke/data
piddir  = /opt/ens/smoke/var
cgiurl   = http://host.name.com/smokeping.cgi
smokemail = /usr/local/smokeping/etc/smokemail
tmail = /usr/local/smokeping/etc/tmail
# 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]<mailto:[email protected]>
from = [email protected]<mailto:[email protected]>

+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times  in a row

*** 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

 *** Presentation ***

template = /usr/local/smokeping/htdocs/basepage.html

+ charts

menu = Charts
title = The most interesting destinations

++ stddev
sorter = StdDev(entries=>4)
title = Top Standard Deviation
menu = Std Deviation
format = Stdandard Deviation %f

++ max
sorter = Max(entries=>5)
title = Top Max Roundtrip Time
menu = by Max
format = Max Roundtrip Time %f seconds

++ loss
sorter = Loss(entries=>5)
title = Top Packet Loss
menu = Loss
format = Packets Lost %f

++ median
sorter = Median(entries=>5)
title = Top Median Roundtrip Time
menu = by Median
format = Median RTT %f seconds

+ 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 30 Days"    30d
"Last 400 Days"   400d

*** Probes ***

+CiscoRTTMonEchoICMP

forks = 32
offset = 50%
step = 300
timeout = 15

# The following variables can be overridden in each target section
ioshost = 
communitystr...@homerouter_fqdn<mailto:communitystr...@homerouter_fqdn> # 
mandatory
# iosint = 10.33.22.11
packetsize = 56
pings = 5
# tos = 160
# vrf = INTERNET

+ FPing

binary = /usr/local/fping/fping

*** Slaves ***
secrets=/usr/local/smokeping/etc/smokeping_secrets
+boomer
display_name=boomer
color=0000ff
+slave2
display_name=boomer
color=0000ff

*** Targets ***

probe = FPing

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website for company name. \
         Here you will learn all about the latency of our network.

+ VPN
menu = VPN Links #
title = VPN Links #

++ WINNAME
menu = WINNAME HomeSite to RemoteSite#
title = WINNAME HomeRouter to RemoteRouter #
probe = CiscoRTTMonEchoICMP #
host = RemoteInterfaceIP # RemoteRouter
ioshost = 
communitystr...@homerouter_fqdn<mailto:communitystr...@homerouter_fqdn> # 
mandatory
iosint = HomeInterfaceIP # HomeRouter Tunnel1


Dean Schaibley



________________________________
From: Peter Kristolaitis [mailto:[email protected]]
Sent: Tuesday, February 02, 2010 12:38 PM
To: Schaibley Dean
Cc: [email protected]
Subject: Re: [smokeping-users] Forcing SNMP over TCP vs. UDP

That probe uses the Net::SNMP module to manage SNMP queries.  IIRC, Net::SNMP 
defaults to using UDP, however it will switch to TCP if it can't reach the host 
via UDP.

Can you confirm whether you can reach the router with UDP from the server 
hosting Smokeping by using other SNMP tools (e.g. snmpwalk, etc)?

- Peter


Schaibley Dean wrote:
Need some help here.  Is there a way to Force SNMP to use TCP 161 or UDP 161?  
Most all of our smokeping traffic is using UDP 161, but somehow, we do have 
some that is using TCP 161 (not sure how/why).

Our firewalls are only config'd for allowing UDP 161, so when the Smokeping 
process tries to use TCP it is failing at the firewall (and Security won't 
allow TCP without justification).

We are running Smokeping 2.3.6 with the CiscoRTTMonEchoICMP as the Probe.

Any help/tips would be greatly appreciated.


Dean Schaibley

________________________________

_______________________________________________
smokeping-users mailing list
[email protected]<mailto:[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

Reply via email to