[smokeping-users] SEC: UNCLASS: multiple probes, single module!?

Hand, Nathan Nathan.Hand at defence.gov.au
Mon Aug 5 08:13:34 MEST 2002


I've been using smokeping for a while and it's great for monitoring
latency/packetloss around a large network. Recently I was asked to monitor a
bunch of hosts with two different sizes of packet. I couldn't find a neat
way of doing this with the current smokeping configuration scheme. I
eventually copied FPing.pm to FPing2.pm and wrote a config like this.

	*** Probes ***

	+ FPing

	binary = /sbin/fping
	packetsize = 50

	+ FPing2

	binary = /sbin/fping
	packetsize = 1480

But I didn't feel good about copying perl modules around to do it. I was
hoping I could have written something like

	*** Probes ***

	+ SmallPing

	module = FPing
	binary = /sbin/fping
	packetsize = 50

	+ LargePing

	module = FPing
	binary = /sbin/fping
	packetsize = 1480

In other words, make the probe name (SmallPing) independent of the module
that supplies the functionality (FPing.pm).

Would this be a sensible modification to make for the smokeping
distribution? It seems to be a simple enough change to the code.

--
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://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list