First of all, thanks for the hint Niko, I worked around the skel.pm module and
i'm almost done with it.
I only need to parse my output in the array. I understand the skel.pm code
almost in all its integrity but one line (which gives me a compile time error).
open(P, $cmd 2>&1 |") or croak("fork:$!); #What is the $cmd variable ?
The compile time error is :
require Smokeping::probes::Owping failed: Global symbol "$cmd" requires
explicit package name at /usr/local/smokeping/lib/Smokeping/probes/Owping.pm
line 118.
Compilation failed in require ar (eval 13) line 3.
Thank you,
Luc
-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Niko Tyni
Envoyé : 5 janvier 2007 02:34
À : [email protected]
Objet : [smokeping-users] Re: Owamp Probe creation question
On Thu, Jan 04, 2007 at 04:15:24PM -0500, Luc Moreault wrote:
> I am still trying to put up an Owping probe that could work with smokeping.
> I took exemple from the EchoPing.pm module.
> Now my question is this :
>
> Where are the smokeping config probe options taken in consideration ?
>
> Is it in the probe module or at any higher level ?
Hi,
have a look at the smokeping_extend document, this is all explained there.
The EchoPing.pm module may be a bit confusing as an example, since there's
quite a lot of inheritance between the related classes going on.
Cheers,
--
Niko
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi