# FNG Schema Statistics

The FNG schema provides operational statistics that can be used for monitoring and troubleshooting the Femto Network Gateway.
This schema provides the following types of statistics:

- Counter: A counter records incremental data cumulatively and rolls over when the counter limit is reached. All counter statistics are cumulative and reset only by one of the following methods: roll-over when limit is reached, after a system restart, or after a clear command is performed. The limit depends upon the data type.
- Gauge: A gauge statistic indicates a single value; a snapshot representation of a single point in time within a defined time frame. The gauge changes to a new value with each snapshot though a value may repeat from one period to the next. The limit depends upon the data type.
- Information: This type of statistic provides information, often intended to differentiate sets of statistics; for example, a VPN name or IP address. The type of information provided depends upon the data type.

The data type defines the format of the data for the value provided by the statistic. The following data types are used in statistics for this schema:

- Int32/Int64: An integer, either 32-bit or 64-bit: For statistics with the Int32 data type, the roll-over to zero limit is 4,294,967,295. For statistics with the Int64 data type, the roll-over to zero limit is 18,446,744,073,709,551,615.
- Float: A numeric value that can be represented fractionally; for example, 1.345.
- String: A series of ASCII alphanumeric characters in a single grouping, usually pre-configured.

IMPORTANT:

Unless otherwise indicated, all statistics are counters and all statistics are standards-based.

Key Variables: Every schema has some variables which are typically referred to as 'key variables'. These key variables provide index markers to identify which object the statistics apply to. For example, in the card schema, the card number (variable %card%) uniquely identifies a card. For an HA service, the keys would be "%vpnname%" plus "%servname%", as the combination uniquely identifies an HA service. So, in a given measurement interval, one row of statistics will be generated per unique key. The schema keys are identified in the Description section of the table.
Table 1. Bulk Statistic Variables in the FNG Schema

Variables | Description | Data Type
--- | --- | ---
vpnname | Description: The name of the context currently facilitating the service processing the subscriber session. This is a key variable. | String
vpnid | Description: The identification number of the context currently facilitating the service processing the subscriber session. This is an internal reference number. This is a key variable. | Int32
svcname | Description: Service name for which FNG statistics are being displayed. This is a key variable. | String
svcid | Description: Service ID for which FNG statistics are being displayed. This is a key variable. | Int32
bindaddress | Description: The bind IP address for this FNG service. | String
state | Description: System-wide FNG state identified by the following codes: unknown inservice: At least one FNG service is available. outofservice: No FNG service is currently active, but one or more FNG services are configured. | String
sess-curinprog | Description: Number of FNG sessions in progress (including transient ones). | Int32
sess-curact | Description: Number of currently active FNG sessions. | Int32
sess-curdorm | Description: Number of currently dormant FNG sessions. | Int32
sess-curactipv4 | Description: Number of currently active IPV4 sessions. | Int32
sess-ttlsetup | Description: Total number of FNG session setups. | Int32
sess-ttlattempt | Description: Total number of FNG session attempts. | Int32
sess-ttlattemptfail | Description: Total number of FNG session attempts failed. | Int32
sess-ttlrel | Description: Total number of FNG sessions released. | Int32
sess-ttlrellocal | Description: Total number of FNG sessions released locally. | Int32
sess-ttlrelremote | Description: Total number of FNG sessions released remotely. | Int32
sess-remaining | Description: Number of FNG sessions remaining. | Int32
sess-limit | Description: Session limit. | Int32
sess-discbeforeconn | Description: Number of FNG sessions disconnected by remote before being connected. | Int32
sess-discipsec | Description: Number of FNG sessions terminated because of IPSec. | Int32
sess-discadmin | Description: Number of FNG sessions terminated because of administrator release. | Int32
sess-discidletimeout | Description: Number of FNG sessions terminated because of idle timer timeout. | Int32
sess-discabstimeout | Description: Number of FNG sessions terminated because of absolute timeout. | Int32
sess-disclongdur | Description: Number of FNG sessions terminated because of long duration timer timeout. | Int32
sess-discsesssetuptimeout | Description: Number of FNG sessions terminated because of Session Manager session setup timeout. | Int32
sess-discnoresource | Description: Number of FNG sessions terminated because of no resources. | Int32
sess-discauthfail | Description: Number of FNG sessions terminated because of AAA authentication failure. | Int32
sess-discflowaddfail | Description: Number of FNG sessions terminated because of flow add failure. | Int32
sess-discinvdestctx | Description: Number of FNG sessions terminated because of invalid destination context. | Int32
sess-discsourceviol | Description: Number of FNG sessions terminated because of source IP address violation. | Int32
sess-discdupreq | Description: Number of FNG sessions terminated because of a duplicated request. | Int32
sess-discaddrfail | Description: Number of FNG sessions terminated because of an address failure. | Int32
sess-discmisc | Description: Number of FNG sessions terminated for miscellaneous reasons. | Int32
eap-rxttlsrvrpassthru | Description: Total number of EAP messages received from the EAP server in pass-through mode. | Int32
eap-rxchalsrvrpassthru | Description: Total number of EAP challenge messages sent to the EAP server in pass-through mode. | Int32
eap-rxsuccsrvrpassthru | Description: Total number of EAP success messages received from the EAP server in pass-through mode. | Int32
eap-rxfailsrvrpassthru | Description: Total number of EAP failure messages received from the EAP server in pass-through mode. | Int32
eap-txttlsrvrpassthru | Description: Total number of EAP messages transmitted to the EAP server in pass-through mode. | Int32
eap-txinitreqsrvrpassthru | Description: Total number of EAP messages transmitted to the EAP server in pass-through mode for initial request. | Int32
eap-txfwdreqsrvrpassthru | Description: Total number of EAP messages transmitted to the EAP server in pass-through mode for forward request. | Int32
ipsec-txpacket | Description: Number of IPSec packets transmitted. | Int64
ipsec-txoctet | Description: Number of IPSec bytes transmitted. | Int64
ipsec-rxpacket | Description: Number of IPSec packets received. | Int64
ipsec-rxoctet | Description: Number of IPSec bytes received. | Int64
IMPORTANT: For information on statistics that are common to all schema see the Statistics and Counters Overview chapter.