From b54e8b6cbfb91919b2e136fda9400bd413dcf0d0 Mon Sep 17 00:00:00 2001 From: parix Date: Mon, 14 Dec 2009 20:19:20 +0000 Subject: [PATCH] Added Attribute "IODEVSTATS" -> Log IODEVSTATs like RSSI,MSGCOUNT git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@509 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/rrd/95_RRD_Log.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/rrd/95_RRD_Log.pm b/fhem/contrib/rrd/95_RRD_Log.pm index d28122b19..c2e8de9ce 100644 --- a/fhem/contrib/rrd/95_RRD_Log.pm +++ b/fhem/contrib/rrd/95_RRD_Log.pm @@ -256,9 +256,9 @@ sub RRD_Log_Notify() { Log $ll,"RRDLOG|IODEVSTATS|RAWMSGCOUNT|$LASTIODev|RRD_Log_disptach_reading: $self,$LASTIODev,$iostat_reading ,$iodev_msgcnt,$timestamp"; $cul_rssi_return = &RRD_Log_disptach_reading($self,$LASTIODev,$iostat_reading ,$iodev_msgcnt,$timestamp); $data{RRD_LOG}{RAWMSGCOUNT}{$LASTIODev}{TSECS} = $tsecs; - $data{RRD_LOG}{RAWMSGCOUNT}{$LASTIODev}{CNT} = $defs{$LASTIODev}{RAWMSGCOUNT}; + $data{RRD_LOG}{RAWMSGCOUNT}{$LASTIODev}{CNT} = $defs{$LASTIODev}{"${LASTIODev}_MSGCNT"}; $data{RRD_LOG}{RAWMSGCOUNT}{$LASTIODev}{LAST} = $iodev_msgcnt; - Log $ll,"RRDLOG|IODEVSTATS|RAWMSGCOUNT|$LASTIODev|Update: $tsecs|" . $defs{$LASTIODev}{RAWMSGCOUNT} . "|$iodev_msgcnt"; + Log $ll,"RRDLOG|IODEVSTATS|RAWMSGCOUNT|$LASTIODev|Update: $tsecs|" . $defs{$LASTIODev}{"${LASTIODev}_MSGCNT"} . "|$iodev_msgcnt"; } } #RAWMSGCOUNT