0

How do you add different probes of the same type in Smokeping?

My initial attempt:

+ FPing
binary=/usr/sbin/fping

+ FPing2
binary=/usr/sbin/fping
sourceaddress=192.168.1.2

Yielded:

$ smokeping check
require Smokeping::probes::FPing2 failed: Can't locate Smokeping/probes/FPing2.pm in @INC (@INC contains: .. /usr/share/smokeping /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 22) line 2, <$fh> line 111.

I'm sure I'm overlooking something obvious!

I have consulted the Probe documentation here https://oss.oetiker.ch/smokeping/probe/index.en.html, to no avail and I'm sure that something so trivial shouldn't require a new module.

0

Yes, I was overlooking something obvious - the "Probe" section of the "Config" page in the documentation here: https://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html#___top

+ FPing
binary = /usr/sbin/fping

++ FPingA
sourceaddress = 192.168.1.2

++ FPingB
sourceaddress = 192.168.1.3

# Further down under Targets:
probe=FPingA

SImple as that!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.