Release Notes - Fixes and Enhancements - NerveCenter 3.8.05 - IfErrorRates -
Previous: NerveCenter 3.8.05     Next: IfLoadRates

IfErrorRates

To correct the Poll Condition for IfErrorRates, add the bold lines to the Poll Condition.


   my $all_errors = (delta( ifEntry.ifInErrors )+delta( ifEntry.ifInDiscards )+
   delta( ifEntry.ifOutErrors )+delta( ifEntry.ifOutDiscards ));
   my $total_traffic = (delta( ifEntry.ifInErrors )+delta( ifEntry.ifInDiscards )+
   delta( ifEntry.ifInUcastPkts )+delta( ifEntry.ifInNUcastPkts )+
   delta( ifEntry.ifOutUcastPkts )+delta( ifEntry.ifOutNUcastPkts ));
   my $data_to_log = ifEntry.ifDescr ; # get ifDescr for logging
--> if ( $total_traffic != 0 )
--> {
   if ($all_errors / $total_traffic > .05)
   {
   FireTrigger("HighErrorRate");
   }
   elsif (($all_errors / $total_traffic <= .05) and
   ($all_errors / $total_traffic >= .01))
   {
   FireTrigger("MediumErrorRate");
   }
   elsif ($all_errors / $total_traffic < .01)
   {
   FireTrigger("LowErrorRate");
   }
--> }


Previous: NerveCenter 3.8.05 Next: IfLoadRates
This file was last updated on 20 February 2004