Appendix H. FireBrick specific SNMP objects

Table of Contents

H.1. Conventions
H.1.1. IP addresses as indices
H.2. Firebrick-specific structures for BGP
H.2.1. Structure definitions
H.2.1.1. The list of BGP peers for this Firebrick
H.2.2. Enum Definitions
H.3. Firebrick-specific structures for IPSec
H.3.1. Structure definitions
H.3.1.1. fbIPsecGeneral
H.3.1.2. The list of IPsec connections for this Firebrick
H.3.2. Enum Definitions
H.4. Firebrick-specific structures for L2TP
H.4.1. Structure definitions
H.4.1.1. fbL2tpGeneralTunnels
H.4.1.2. fbL2tpGeneralSessions
H.4.1.3. The list of L2TP peers for this Firebrick
H.5. Firebrick CPU usage
H.5.1. Structure definitions
H.5.1.1. CPU usage for this Firebrick
H.6. Firebrick system stats
H.6.1. Structure definitions
H.6.1.1. The table of runtime stats for this Firebrick
H.7. Monitoring for general system features
H.7.1. Structure definitions
H.7.1.1. The list of readings for this Firebrick
H.8. System wide status
H.8.1. Structure definitions
H.8.1.1. fbGlobalMemory

This appendix details the SNMP objects that are specific to the FireBrick.

H.1. Conventions

To avoid writing out very repetitive (and long) OIDs this appendix uses a substitution notation when describing structures. The OIDs contain the names of indices and an X representing the structure field number given by the matching column in the following table. So if the OID given in the manual is iso.1.2.3.4.X.anIndex then the OID for the first item described in the table row with column X = 3 would be: iso.1.2.3.4.3.1

H.1.1. IP addresses as indices

In some structures IP addresses may be used as indices into SNMP tables. When this is the case the IP must be encoded into the OID for the resource. This encoding consists of the following separated by dots:

  1. The IP type: 1 for IPv4, 2 for IPv6.
  2. A length prefixed array of the bytes of the address in network order.

Example H.1. 

For the IPv4 address 10.0.1.12 the IP type is 1 and the length is 4. Therefore the OID fragment 1.4.10.0.1.12 could be used as an index.

Example H.2. 

For the IPv6 address 2001::32 the IP type is 2 and the length is 16. Therefore the OID fragment 2.16.32.1.0.0.0.0.0.0.0.0.0.0.0.0.0.50 could be used as an index.