- #(yes I know its bad/redundant, but it makes in easier elsewhere)
- update_counter( $hash, $timestamp, "bits" , $bytes*8);
- update_counter( $hash, $timestamp, "pkts" , $pkts);
- update_counter( $hash, $timestamp, "dropped" , $dropped);
- update_counter( $hash, $timestamp, "overlimits", $overlimits);
- # Not a counter value...
- $classes_data{$hash}{backlog} = $backlog;
- #
- # Extra HFSC counters
- $classes_data{$hash}{hfsc_period} = $period;
- update_counter( $hash, $timestamp, "hfsc_work" , $work);
- update_counter( $hash, $timestamp, "hfsc_rtwork" , $rtwork);
-
-
- # HFSC - Update the info data
- # (remember to update the "type" first)
- update_info( $hash, $timestamp, "type" , $type);
- update_info( $hash, $timestamp, "parent", $parent);
- update_info( $hash, $timestamp, "leaf" , $leaf);
- #
- # Extra HFSC information
- update_info( $hash, $timestamp, "level" , $level);
- update_info( $hash, $timestamp, "realtime_m1", $realtime_m1);
- update_info( $hash, $timestamp, "realtime_d" , $realtime_d);
- update_info( $hash, $timestamp, "realtime_m2", $realtime_m2);
-
- update_info( $hash, $timestamp, "linkshare_m1", $linkshare_m1);
- update_info( $hash, $timestamp, "linkshare_d" , $linkshare_d);
- update_info( $hash, $timestamp, "linkshare_m2", $linkshare_m2);
-
- update_info( $hash, $timestamp, "upperlimit_m1", $upperlimit_m1);
- update_info( $hash, $timestamp, "upperlimit_d" , $upperlimit_d);
- update_info( $hash, $timestamp, "upperlimit_m2", $upperlimit_m2);
-