Appendix G. FireBrick specific SNMP objects

Table of Contents

G.1. Conventions
G.1.1. IP addresses as indices
G.2. Firebrick-specific structures for BGP
G.2.1. Structure definitions
G.2.1.1. The list of BGP peers for this Firebrick
G.2.2. Enum Definitions
G.3. Firebrick-specific structures for L2TP
G.3.1. Structure definitions
G.3.1.1. fbL2tpGeneralTunnels
G.3.1.2. fbL2tpGeneralSessions
G.3.1.3. The list of L2TP peers for this Firebrick
G.4. Firebrick CPU usage
G.4.1. Structure definitions
G.4.1.1. CPU usage for this Firebrick
G.5. Firebrick system stats
G.5.1. Structure definitions
G.5.1.1. The table of runtime stats for this Firebrick
G.6. Monitoring for general system features
G.6.1. Structure definitions
G.6.1.1. The list of readings for this Firebrick
G.7. System wide status
G.7.1. Structure definitions
G.7.1.1. fbGlobalMemory
G.7.1.2. fbGlobalBuffers
G.8. Monitoring information (deprecated)

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

G.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

G.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 G.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 G.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.