James Baldwin wrote: > I'm having trouble configuring smokeping to utilize RemoteFPing from > multiple source addresses. I'm fairly certain this is just my > misunderstanding how the config file is parsed rather than any inherent > problems with the tools. > > The environment I'm setting this up in is a multihomed wide area > network. I am wishing to setup smokeping on a central monitoring host > and have it measure latency between each gateway and our uplink, as > well as measure latency between our vpn endpoints. > > I am attempting to configure smokeping to measure from 10.0.0.1 to > 5.5.5.5 and to measure from 10.0.1.1 to 6.6.6.6. > > However, my config is yielding interesting results. smokeping --debug > shows me that the RemoteFPing is using the line > > RemoteFPing: query=/usr/bin/ssh -1 -l monitor 10.0.1.1 > /usr/local/sbin/fping -b1024 -C 20 -q -B1 -i10 -r1 5.5.5.5 6.6.6.6 > > This appears to be incorrect as I was expecting something more similar > to > > ssh -1 -l monitor 10.0.0.1 /usr/local/sbin/fping -b1024 -C 20 -q -B1 > -i10 -r1 5.5.5.5 > > and > > ssh -1 -l monitor 10.0.1.1 /usr/local/sbin/fping -b1024 -C 20 -q -B1 > -i10 -r1 6.6.6.6 > > Any help? > > The targets section of my config reads: > > probe = RemoteFPing > menu = Overview > title = Network Overview > > +Probe_CONF > ruser = monitor > rbinary = /usr/local/sbin/fping > > +global > menu = Global > title = Global Network > > ++local > menu = Local > title = Local Network > > +++PROBE_CONF > rhost = 10.0.0.1 > > +++local-gwy > menu = local uplink > title = Local gateway to uplink > host = 5.5.5.5 > > ++remote > menu = Remote > title = Remote Network > > +++PROBE_CONF > rhost = 10.0.1.1 > > +++remote-gwy > menu = remote uplink > title = remote gateway to uplink > host = 6.6.6.6 > > -- > Unsubscribe mailto:[EMAIL PROTECTED] > Help mailto:[EMAIL PROTECTED] > Archive http://www.ee.ethz.ch/~slist/smokeping-users > WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi >
James, It looks like your config is wrong.. Here is a sample of what I have I'm testing from pinghost to pingtarget Keep in mind that you need a new copy of the remotefping for each pinghost... copy and modify the top line to reflect the new name.. -Keith ..snip... +++ OracleMonitor menu = Oracle Monitor title = Oracle Monitor ++++ oratestpsmc probe = RemoteFPingSSHbrkx86 menu = orapsmc title = Oracle Test -> Psmc host = pingtarget alerts = rttdetect300,lossdetect email = Patton, Keith <[EMAIL PROTECTED]> +++++ PROBE_CONF rhost = pinghost ruser = nettest rbinary = /usr/local/sbin/fping ...snip.... -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/smokeping-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
