https://bugs.contribs.org/show_bug.cgi?id=10292
--- Comment #3 from Jean-Philippe Pialasse <[email protected]> ---
(In reply to John Crisp from comment #2)
> In that case, unless I am barking mad, it is a change from sme8admin where I
> monitored several hosts... it was simple and effective which was all I
> needed.
>
> The ping hosts box should be changed to only allow one host.
well the box indeed do not sanitize either the content, but utlimatly it should
also be done in the deamon because you can still modify the db between the
manager and the deamon ...
normally nothing has been changed from one version to the other except changing
the name. Would you have a picture of such a monitoring on sme8?
I have one at home currently running and the code is exactly the same.
my $target=$params{'PingTarget'};
my @ping=`/bin/ping -c 20 -i 0.25 -qnw 7 $target 2> /dev/null`;
Maybe it was with sysmon and not SME?admin? HEre is sysmon code:
my $hosts = db_get_prop(\%conf, 'sysmon', 'hosts') || "gateway";
$hosts =~ s/\bgateway\b/$gateway/g;
$hosts =~ s/[,:; ]+/ /g;
my @pings = `fping -C 25 -q -B1 -t1000 -r1 -p 500 $hosts 2>&1`;
it will then create a RRD file per host.
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/