[smokeping-users] Mysql Logging for SmokePing

Martin Rheumer martinr at hotkey.net.au
Wed Feb 12 23:12:32 MET 2003


I am trying to add the results of the smokeping output to a database
for "log file stats" ie. Customer would like the details of packet
loss in a file each day.
All the database stuff I can handle and add its just trying to translate
what smokeping stores.
I think I found the relevant code.

            RRDs::update ( $name.".rrd",
                   '--template',(join ":", "uptime", "loss", "median",
                                 map { "ping${_}" }
1..($cfg->{Database}{pings})),
                   "N:".$probes->{$probe}->rrdupdate_string($tree)
                 );

Has anyone tried this and could elaborate the values / columns this
outputs.

Would be much appreciated.

Thanks Martin

--
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