<!--
   MODIFIED    (MM/DD/YY)
      ajayshar  08/29/05 - bug 4520865 - Reduced Response schedule from 5 min. to 2 min.
      ajayshar  03/22/05 - Modified Messages(MESSAGE) and added Clear messages(CLEAR_MESSAGE).
      ajayshar  09/30/04 - Commented all the Metrics related to Nortel Switch.         
 -->
<TargetCollection TYPE="slb" >
  <CollectionItem NAME="Response" UPLOAD="2">
    <Schedule>
      <IntervalSchedule INTERVAL="2" TIME_UNIT="Min" />
    </Schedule>
    <Condition COLUMN_NAME="Status"
     CRITICAL="0"
     OPERATOR="EQ"
     OCCURRENCES="2"
     MESSAGE="Load Balancer Switch is down" MESSAGE_NLSID="slb_response_status"/>
  </CollectionItem>
  <CollectionItem NAME = "Switch">
     <Schedule>
        <IntervalSchedule INTERVAL = "10" TIME_UNIT = "Min"/>
     </Schedule>
     <Condition COLUMN_NAME="cpu_utilization_percentage"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="CPU Utilization percentage of Load Balancer Switch is %value%%% ,crossed warning (%warning_threshold%%%) or critical (%critical_threshold%%%) threshold."
      MESSAGE_NLSID="slb_switch_cpu_utilization_percentage"
      CLEAR_MESSAGE="CPU Utilization percentage of Load Balancer Switch is %value%%% ,fallen below warning (%warning_threshold%%%) and critical (%critical_threshold%%%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_switch_cpu_utilization_percentage_clear"/>
      
     <Condition COLUMN_NAME="memory_utilization_percentage"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Memory utilization of Load Balancer Switch is %value%%% , crossed warning (%warning_threshold%%%) or critical (%critical_threshold%%%) threshold."
      MESSAGE_NLSID="slb_switch_memory_utilization_percentage"
      CLEAR_MESSAGE="Memory utilization of Load Balancer Switch is %value%%% , fallen below warning (%warning_threshold%%%) and critical (%critical_threshold%%%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_switch_memory_utilization_percentage_clear"/>
      
     <Condition COLUMN_NAME="current_connections"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Load Balancer Switch currently has %value% open connections ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_switch_current_connections"
      CLEAR_MESSAGE="Load Balancer Switch currently has %value% open connections ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_switch_current_connections_clear"/>
      
     <Condition COLUMN_NAME="connections_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Load Balancer Switch is currently serving %value% connections per second , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_switch_connections_sec"
      CLEAR_MESSAGE="Load Balancer Switch is currently serving %value% connections per second , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_switch_connections_sec_clear"/>
      
     <Condition COLUMN_NAME="bits_in_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Load Balancer Switch is currently receiving %value% Kilobits per second from the network ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_switch_bits_in_sec"
      CLEAR_MESSAGE="Load Balancer Switch is currently receiving %value% Kilobits per second from the network ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_switch_bits_in_sec_clear"/>
      
     <Condition COLUMN_NAME="bits_out_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Load Balancer Switch is currently sending %value% Kilobits per second to the network , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_switch_slb_switch_bits_out_sec"
      CLEAR_MESSAGE="Load Balancer Switch is currently sending %value% Kilobits per second to the network , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_switch_slb_switch_bits_out_sec_clear"/>
      
     <Condition COLUMN_NAME="active_to_standby"
      WARNING="1"
      OPERATOR="EQ"
      MESSAGE="Load Balancer Switch has changed from Active mode to Standby mode."  MESSAGE_NLSID="slb_switch_active_to_standby"/>
     <Condition COLUMN_NAME="standby_to_active"
      WARNING="1"
      OPERATOR="EQ"
      MESSAGE="Load Balancer Switch has changed from Standby mode to Active mode."  MESSAGE_NLSID="slb_switch_standby_to_active"/>
  </CollectionItem>
  <CollectionItem NAME = "Physical Interfaces" UPLOAD="3">
     <Schedule>
        <IntervalSchedule INTERVAL = "10" TIME_UNIT = "Min"/>
     </Schedule>
     <Condition COLUMN_NAME="bits_in_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Physical Interface %description% is currently receiving %value% Kilobits per second from the network ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_physical_interfaces_bits_in_sec"
      CLEAR_MESSAGE="Physical Interface %description% is currently receiving %value% Kilobits per second from the network ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_physical_interfaces_bits_in_sec_clear"/>
      
     <Condition COLUMN_NAME="bits_out_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Physical Interface %description% is currently sending %value% Kilobits per second to the network ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_physical_interfaces_bits_out_sec"
      CLEAR_MESSAGE="Physical Interface %description% is currently sending %value% Kilobits per second to the network ,fallen below warning (%warning_threshold%) or critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_physical_interfaces_bits_out_sec_clear"/>
      
     <Condition COLUMN_NAME="status"
      CRITICAL="NotDefined"
      OPERATOR="EQ"
      MESSAGE="Physical Interface %description% is down" 
      MESSAGE_NLSID="slb_physical_interfaces_status"
      CLEAR_MESSAGE="Physical Interface %description% is up" 
      CLEAR_MESSAGE_NLSID="slb_physical_interfaces_status_clear"/>
      
  </CollectionItem>
  <!-- Nortel Collection commented
  <CollectionItem NAME = "Switch Ports" UPLOAD="3">
     <Schedule>
        <IntervalSchedule INTERVAL = "10" TIME_UNIT = "Min"/>
     </Schedule>
  </CollectionItem>
  -->

  <CollectionItem NAME = "VirtualServerEntities" UPLOAD="3">
     <Schedule>
        <IntervalSchedule INTERVAL = "10" TIME_UNIT = "Min"/>
     </Schedule>
  <!-- Nortel Metric commented    
  <MetricColl NAME = "Virtual IPs">
     # If entity has 0 total conns, it is assumed that is it not configured, so an alert is not generated. commenting out alert generation for such condition <Filter COLUMN_NAME="total_connections" OPERATOR="NE" AFTER_SEVERITY_CHECKING="TRUE">0</Filter> #
     <Filter COLUMN_NAME="total_connections" OPERATOR="NE">0</Filter>
  </MetricColl>
  -->
    <MetricColl NAME = "Virtual Servers">
     <Filter COLUMN_NAME="total_connections" OPERATOR="NE">0</Filter>
     <Condition COLUMN_NAME="bits_in_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Virtual Server %address%:%port% is currently receiving %value% Kilobits per second from the network , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_virtual_servers_bits_in_sec"
      CLEAR_MESSAGE="Virtual Server %address%:%port% is currently receiving %value% Kilobits per second from the network , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_virtual_servers_bits_in_sec_clear"/>
      
     <Condition COLUMN_NAME="bits_out_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Virtual Server %address%:%port% is currently sending %value% Kilobits per second to the network , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_virtual_servers_bits_out_sec"
      CLEAR_MESSAGE="Virtual Server %address%:%port% is currently sending %value% Kilobits per second to the network , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_virtual_servers_bits_out_sec_clear"/>
     
     <Condition COLUMN_NAME="current_connections"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Virtual Server %address%:%port% currently has %value% open connections , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_virtual_servers_current_connections"
      CLEAR_MESSAGE="Virtual Server %address%:%port% currently has %value% open connections , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_virtual_servers_current_connections_clear"/>
     
     <Condition COLUMN_NAME="connections_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Virtual Server %address%:%port% is currently serving %value% connections per second , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_virtual_servers_connections_sec"
      CLEAR_MESSAGE="Virtual Server %address%:%port% is currently serving %value% connections per second , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_virtual_servers_connections_sec_clear"/>
     
     <Condition COLUMN_NAME="current_connections_percentage"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Virtual Server %address%:%port% has reached %value%%% of permissible connection limit , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_virtual_servers_current_connections_percentage"
      CLEAR_MESSAGE="Virtual Server %address%:%port% has reached %value%%% of permissible connection limit , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_virtual_servers_current_connections_percentage_clear"/>
    
    <Condition COLUMN_NAME="status"
      CRITICAL="3" WARNING="NotDefined"
      OPERATOR="EQ"
      MESSAGE="Virtual Server %address%:%port% is down"  
      MESSAGE_NLSID="slb_virtual_servers_status"
      CLEAR_MESSAGE="Virtual Server %address%:%port% is up" 
      CLEAR_MESSAGE_NLSID="slb_virtual_servers_status_clear"/>
    
    <Condition COLUMN_NAME="octets_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Virtual Server %address%:%port% has Bandwidth Utilization of %value% Kilobits per second , crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_virtual_servers_octets_sec"
      CLEAR_MESSAGE="Virtual Server %address%:%port% has Bandwidth Utilization of %value% Kilobits per second , fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_virtual_servers_octets_sec_clear"/>
      
    </MetricColl>

    <MetricColl NAME = "Server Pools">
     <Filter COLUMN_NAME="total_connections" OPERATOR="NE">0</Filter>
    
    <Condition COLUMN_NAME="bits_in_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% is currently receiving %value% Kilobits per second from the network ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_server_pools_bits_in_sec"
      CLEAR_MESSAGE="Server Group %name% is currently receiving %value% Kilobits per second from the network ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_server_pools_bits_in_sec_clear"/>
   
   <Condition COLUMN_NAME="bits_out_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% is currently sending %value% Kilobits per second to the network ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_server_pools_bits_out_sec"
      CLEAR_MESSAGE="Server Group %name% is currently sending %value% Kilobits per second to the network ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_server_pools_bits_out_sec_clear"/>
    
    <Condition COLUMN_NAME="current_connections"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% currently has %value% open connections ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_server_pools_current_connections"
      CLEAR_MESSAGE="Server Group %name% currently has %value% open connections ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_server_pools_current_connections_clear"/>
    
    <Condition COLUMN_NAME="connections_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% is currently serving %value% connections per second ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_server_pools_connections_sec"
      CLEAR_MESSAGE="Server Group %name% is currently serving %value% connections per second ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_server_pools_connections_sec_clear"/>
    
    <Condition COLUMN_NAME="octets_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% has Bandwidth Utilization of %value% Kilobits per second ,crossed warning (%warning_threshold%) or critical (%critical_threshold%) threshold."
      MESSAGE_NLSID="slb_server_pools_octets_sec"
      CLEAR_MESSAGE="Server Group %name% has Bandwidth Utilization of %value% Kilobits per second ,fallen below warning (%warning_threshold%) and critical (%critical_threshold%) thresholds." 
      CLEAR_MESSAGE_NLSID="slb_server_pools_octets_sec_clear"/>
      
    </MetricColl>
    
    <!-- Nortel Metrics commented
    <MetricColl NAME = "Server Groups">
     <Filter COLUMN_NAME="total_connections" OPERATOR="NE">0</Filter>
     <Condition COLUMN_NAME="current_connections"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% currently has %value% open connections"  MESSAGE_NLSID="slb_server_groups_total_connections"/>
     <Condition COLUMN_NAME="connections_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% is currently serving %value% connections per second"  MESSAGE_NLSID="slb_server_groups_connections_sec"/>
     <Condition COLUMN_NAME="octets_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% has Bandwidth Utilization of %value% Kilobits per second"  MESSAGE_NLSID="slb_server_groups_octets_sec"/>
    </MetricColl>
    -->
    
    <MetricColl NAME = "Server Group Members">
     <Filter COLUMN_NAME="total_connections" OPERATOR="NE">0</Filter>
    
    <Condition COLUMN_NAME="status"
      CRITICAL="2" WARNING="NotDefined"
      OPERATOR="EQ"
      MESSAGE="Real Server %address%:%port% belonging to Server Group %group_name% is down"
      MESSAGE_NLSID="slb_server_group_members_status"
      CLEAR_MESSAGE="Real Server %address%:%port% belonging to Server Group %group_name% is up" 
      CLEAR_MESSAGE_NLSID="slb_server_group_members_status_clear"/>
     
     <Condition COLUMN_NAME="address_status"
      CRITICAL="10" WARNING="NotDefined"
      OPERATOR="EQ"
      MESSAGE="Real Server address %address% belonging to Server Group %group_name% is down"
      MESSAGE_NLSID="slb_server_group_members_address_status"
      CLEAR_MESSAGE="Real Server address %address% belonging to Server Group %group_name% is up" 
      CLEAR_MESSAGE_NLSID="slb_server_group_members_address_status_clear"/>
      
    </MetricColl>
    <MetricColl NAME = "Nodes">
     <Filter COLUMN_NAME="total_connections" OPERATOR="NE">0</Filter>
    </MetricColl>
    
    <!-- Nortel Metrics commented
    <MetricColl NAME = "Real Servers">
     <Condition COLUMN_NAME="current_connections"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% currently has %value% open connections"  MESSAGE_NLSID="slb_real_servers_current_connections"/>
     <Condition COLUMN_NAME="connections_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% is currently serving %value% connections per second"  MESSAGE_NLSID="slb_real_servers_connections_sec"/>
     <Condition COLUMN_NAME="octets_sec"
      WARNING="NotDefined" CRITICAL="NotDefined"
      OPERATOR="GT"
      MESSAGE="Server Group %name% has Bandwidth Utilization of %value% Kilobits per second"  MESSAGE_NLSID="slb_real_servers_octets_sec"/>
     <Condition COLUMN_NAME="status"
      CRITICAL="3" WARNING="NotDefined"
      OPERATOR="EQ"
      MESSAGE="Real Server %address% is down"  MESSAGE_NLSID="slb_real_servers_status"/>
     <Filter COLUMN_NAME="total_connections" OPERATOR="NE">0</Filter>
  </MetricColl>
  -->
  </CollectionItem>
  
  <!-- Nortel Collections commented
  <CollectionItem NAME = "Real Servers Config" UPLOAD="NO">
     <Schedule>
        <IntervalSchedule INTERVAL = "10" TIME_UNIT = "Min"/>
     </Schedule>
  </CollectionItem>
  
  <CollectionItem NAME = "Real Servers Info" UPLOAD="NO">
     <Schedule>
        <IntervalSchedule INTERVAL = "10" TIME_UNIT = "Min"/>
     </Schedule>
  </CollectionItem>
  -->

  <CollectionItem NAME="AddressMap" UPLOAD="NO"> 
    <Schedule OFFSET_TYPE="INCREMENTAL">
      <IntervalSchedule INTERVAL="24" TIME_UNIT="Hr" />
    </Schedule>
  </CollectionItem>
</TargetCollection>
