<?xml version="1.0" encoding="utf-8"?>
<!-- version 1.1 -->
<!-- date 03-Aout-2011 -->
<!-- Author Fabien Bizet -->
<!-- Contact tokiess(at)gmail dot com --> 
<!-- describ : multiple environnement BlueCoat -->
<!--  1.1  separe CPU and MEMORY for simply graph -->
<!-- OIDS CISCO
# "sensor" monitors the following OID's:
# deviceSensorCode OID 1.3.6.1.4.1.3417.2.1.1.1.1.1.6
ok (1)
unknown (2)

not-installed (3)
voltage-low-warning (4)
voltage-low-critical (5)
no-power (6)
voltage-high-warning (7)
voltage-high-critical (8)
voltage-high-severe (9)
temperature-high-warning (10)
temperature-high-critical (11)

temperature-high-severe (12)
fan-slow-warning (13)
fan-slow-critical (14)
fan-stopped (15)

# deviceSensorName 	1.3.6.1.4.1.3417.2.1.1.1.1.1.9


# deviceDiskStatus   1.3.6.1.4.1.3417.2.2.1.1.1.1.3
present (1)
initializing (2)
inserted (3)
offline (4)
removed (5)
not-present (6)
empty (7)
bad (8)
unknown (9)

# deviceDiskProduct   1.3.6.1.4.1.3417.2.2.1.1.1.1.6


# deviceAttackStatus 1.3.6.1.4.1.3417.2.3.1.1.1.1.3
no-attack (1)
under-attack (2)

# deviceAttackName    1.3.6.1.4.1.3417.2.3.1.1.1.1.2

# deviceUsagePercent   1.3.6.1.4.1.3417.2.4.1.1.1.4
# deviceUsageName     1.3.6.1.4.1.3417.2.4.1.1.1.3

# MemoryPressure   1.3.6.1.4.1.3417.2.11.2.3.4

#ClientConnections 1.3.6.1.4.1.3417.2.11.3.1.3.1
# ClientConnectionsActive 1.3.6.1.4.1.3417.2.11.3.1.3.2
# ServerConnections  1.3.6.1.4.1.3417.2.11.3.1.3.4
# ServerConnectionsActive  1.3.6.1.4.1.3417.2.11.3.1.3.5

# ClientErrors    1.3.6.1.4.1.3417.2.11.3.1.1.5
# ServersErrors 1.3.6.1.4.1.3417.2.11.3.1.2.2


-->
<DATA>
<table name="global_oids">
  <sysObjectID>1.3.6.1.2.1.1.2</sysObjectID>
  <deviceSensorCode>1.3.6.1.4.1.3417.2.1.1.1.1.1.6</deviceSensorCode>
  <deviceSensorName>1.3.6.1.4.1.3417.2.1.1.1.1.1.9</deviceSensorName>
  <deviceDiskStatus>1.3.6.1.4.1.3417.2.2.1.1.1.1.3</deviceDiskStatus>
  <deviceDiskProduct>1.3.6.1.4.1.3417.2.2.1.1.1.1.6</deviceDiskProduct>
  <deviceAttackStatus>1.3.6.1.4.1.3417.2.3.1.1.1.1.3</deviceAttackStatus>
  <deviceAttackName>1.3.6.1.4.1.3417.2.3.1.1.1.1.2</deviceAttackName>
  <deviceUsagePercent>1.3.6.1.4.1.3417.2.4.1.1.1.4</deviceUsagePercent>
  <deviceUsageName>1.3.6.1.4.1.3417.2.4.1.1.1.3</deviceUsageName>
  <sgProxyMemoryPressure>1.3.6.1.4.1.3417.2.11.2.3.4</sgProxyMemoryPressure>
  <ClientConnections>1.3.6.1.4.1.3417.2.11.3.1.3.1</ClientConnections>
  <ClientConnectionsActive>1.3.6.1.4.1.3417.2.11.3.1.3.2</ClientConnectionsActive>
  <ServerConnections>1.3.6.1.4.1.3417.2.11.3.1.3.4</ServerConnections>
  <ServerConnectionsActive>1.3.6.1.4.1.3417.2.11.3.1.3.4</ServerConnectionsActive>
  <ClientConnectionsSG510>1.3.6.1.4.1.3417.2.11.3.1.3.1</ClientConnectionsSG510>
  <ClientConnectionsActiveSG510>1.3.6.1.4.1.3417.2.11.3.1.3.2</ClientConnectionsActiveSG510>
  <ServerConnectionsSG510>1.3.6.1.4.1.3417.2.11.3.1.3.4</ServerConnectionsSG510>
  <ServerConnectionsActiveSG510>1.3.6.1.4.1.3417.2.11.3.1.3.5</ServerConnectionsActiveSG510>
  <ClientErrors>1.3.6.1.4.1.3417.2.11.3.1.1.5</ClientErrors>
  <ServersErrors>1.3.6.1.4.1.3417.2.11.3.1.2.2</ServersErrors>
</table>

<table name="system_types">
  
  <sensor>deviceSensorCode</sensor>
  <disk>deviceDiskStatus</disk>
  <attack>deviceAttackStatus</attack>
  <use>deviceUsagePercent</use>
  <use>sgProxyMemoryPressure</use>
  <proxy>ClientConnections</proxy>
  <proxy>ClientConnectionsActive</proxy>
  <proxy>ServerConnections</proxy>
  <proxy>ServerConnectionsActive</proxy>
  <proxy-error>ClientErrors</proxy-error>
  <proxy-error>ServersErrors</proxy-error>
  <proxy-sg510>ClientConnectionsSG510</proxy-sg510>
  <proxy-sg510>ClientConnectionsActiveSG510</proxy-sg510>
  <proxy-sg510>ServerConnectionsSG510</proxy-sg510>
  <proxy-sg510>ServerConnectionsActiveSG510</proxy-sg510>
  
  
</table>

<table name="seuil_counter">
  <ClientErrors>
    <warning>100</warning>
    <critical>200</critical>
    <type>simple</type>
  </ClientErrors>
   <ServersErrors>
    <warning>1000</warning>
    <critical>2000</critical>
    <type>simple</type>
  </ServersErrors>
</table>


<table name="seuil">
  <deviceUsagePercent>
    <WARNING>85</WARNING>
    <CRITICAL>95</CRITICAL>
    <type>up</type>
  </deviceUsagePercent>
  <sgProxyMemoryPressure>
    <WARNING>85</WARNING>
    <CRITICAL>95</CRITICAL>
    <type>up</type>
  </sgProxyMemoryPressure>
  <ClientConnections>
    <WARNING>1250</WARNING>
    <CRITICAL>1500</CRITICAL>
    <type>up</type>
  </ClientConnections>
  <ClientConnectionsActive>
    <WARNING>1000</WARNING>
    <CRITICAL>1250</CRITICAL>
    <type>up</type>
  </ClientConnectionsActive>
  <ServerConnections>
    <WARNING>4750</WARNING>
    <CRITICAL>5000</CRITICAL>
    <type>up</type>
  </ServerConnections>
  <ServerConnectionsActive>
    <WARNING>4000</WARNING>
    <CRITICAL>4250</CRITICAL>
    <type>up</type>
  </ServerConnectionsActive>

  <ClientConnectionsSG510>
    <WARNING>800</WARNING>
    <CRITICAL>1000</CRITICAL>
    <type>up</type>
  </ClientConnectionsSG510>
  <ClientConnectionsActiveSG510>
    <WARNING>450</WARNING>
    <CRITICAL>500</CRITICAL>
    <type>up</type>
  </ClientConnectionsActiveSG510>
  <ServerConnectionsSG510>
    <WARNING>3500</WARNING>
    <CRITICAL>4000</CRITICAL>
    <type>up</type>
  </ServerConnectionsSG510>
  <ServerConnectionsActiveSG510>
    <WARNING>450</WARNING>
    <CRITICAL>500</CRITICAL>
    <type>up</type>
  </ServerConnectionsActiveSG510>

  
</table>

<table name="seuil_oid">
</table>

<table name="relation_oid">
  <deviceSensorCode>deviceSensorName</deviceSensorCode>
  <deviceDiskStatus>deviceDiskProduct</deviceDiskStatus>
  <deviceAttackStatus>deviceAttackName</deviceAttackStatus>
  <deviceUsagePercent>deviceUsageName</deviceUsagePercent>

</table>

<table name="value_statuscode">
  <deviceAttackStatus>
    <no-attack>OK</no-attack>
    <under-attack>WARNING</under-attack>
  </deviceAttackStatus>


  <deviceDiskStatus>
    <present>OK</present>
    <initializing>UNKNOWN</initializing>
    <inserted>UNKNOWN</inserted>
    <offline>CRITICAL</offline>
    <removed>CRITICAL</removed>
    <not-present>WARNING</not-present>
    <empty>WARNING</empty>
    <bad>CRITICAL</bad>
    <unknown>UNKNOWN</unknown>
    
  </deviceDiskStatus>



  <deviceSensorCode>
    <ok>OK</ok>
    <unknown>UNKNOWN</unknown>
    <not-installed>OK</not-installed>
    <voltage-low-warning>WARNING</voltage-low-warning>
    <voltage-low-critical>CRITICAL</voltage-low-critical>
    <no-power>CRITICAL</no-power>
    <voltage-high-warning>WARNING</voltage-high-warning>
    <voltage-high-critical>CRITICAL</voltage-high-critical>
    <voltage-high-severe>CRITICAL</voltage-high-severe>
    <temperature-high-warning>WARNING</temperature-high-warning>
    <temperature-high-critical>CRITICAL</temperature-high-critical>
    <temperature-high-severe>CRITICAL</temperature-high-severe>
    <fan-slow-warning>WARNING</fan-slow-warning>
    <fan-slow-critical>CRITICAL</fan-slow-critical>
    <fan-stopped>CRITICAL</fan-stopped>
    
  </deviceSensorCode>

</table>

<table name="correspond">

 <deviceAttackStatus>
   <value index="1">no-attack</value>
   <value index="2">under-attack</value>
 </deviceAttackStatus>

  <deviceSensorCode>
   <value index="1">ok</value>
   <value index="2">unknown</value>
   <value index="3">not-installed</value>
   <value index="4">voltage-low-warning</value>
   <value index="5">voltage-low-critical</value>
   <value index="6">no-power</value>
   <value index="7">voltage-high-warning</value>
   <value index="8">voltage-high-critical</value>
   <value index="9">voltage-high-severe</value>
   <value index="10">temperature-high-warning</value>
   <value index="11">temperature-high-critical</value>
   <value index="12">temperature-high-severe</value>
   <value index="13">fan-slow-warning</value>
   <value index="14">fan-slow-critical</value>
   <value index="15">fan-stopped</value>
  </deviceSensorCode>

  <deviceDiskStatus>
   <value index="1">present</value>
   <value index="2">initializing</value>
   <value index="3">inserted</value>
   <value index="4">offline</value>
   <value index="5">removed</value>
   <value index="6">not-present</value>
   <value index="7">empty</value>
   <value index="8">bad</value>
   <value index="9">unknown</value>
  </deviceDiskStatus>

    
</table>

<table name="option">
  <option_type>sensor|disk|attack|use</option_type>
  <option_type_describ>This allows to use pre-defined system type
        Currently support systems types are:
        test (tries all OID's in verbose mode can be used to generate new system type)
        sensor (sensor status)
        disk (disk status)
        use (% system use)
		proxy (connection clients and servers)
		proxy-error (clients and servers errors) only in v2 snmp
		proxy-sg510 (perform for SG 510)
        </option_type_describ>
  
</table>


</DATA>
