SNMP for Security Group Members
|
Important - This topic described the steps to get SNMP data from a specific Security Group Member. To get aggregated SNMP data from all Security Group Members, see SNMP for Security Groups. |
Background
By default, when you query a Security Group over SNMP, you can get only these data:
-
SNMP data only from the Security Group Member that accepted the SNMP connections:
-
If the connection arrives at the "Mgmt" port assigned to the Security Group, then the Single Management Object (SMO) Security Group Member accepts it.
-
If the connection arrives at one of the Data ports assigned to the Security Group, then one of the Security Group Members accepts it (based on the Source IP Address / Port and the Destination IP Address / Port).
-
-
Aggregated SNMP data from all Security Group Members (with the SNMP OID branch "
asg
").
To get SNMP data from a specific Security Group Member , we use the SNMPv3 proxy feature "ContextName
".
SNMP flow:
-
An SNMP client sends the required SNMP query to the Security Group for the specified Security Group Member.
-
A Security Group Member that accepts the SNMP connection forwards it to the specified Security Group Member over the internal synchronization network.
-
The specified Security Group Member responds with the SNMP data (over the internal synchronization network) to the Security Group Member that accepted the SNMP connection.
-
The Security Group Member that accepted the SNMP connection, responds with the SNMP data to the SNMP client.
The SNMP Client is unaware of this SNMP proxy feature on the Security Group Member. From the SNMP Client point of view, the SNMP connection is established directly the specified Security Group Member.
Limitations
-
This feature supports a maximum of 10 Security Group Members in a Security Group.
-
In the Traditional VSX mode, it is not supported to send SNMP queries to the IP addresses of Virtual Systems other than VS0 (the SNMP VS mode "
vs-direct-access
" is not supported). This is because the internal synchronization interface is not available in the context of Virtual Systems other than VS0.
Enabling SNMP for Specific Security Group Members
Procedure
Step |
Instructions |
|||
---|---|---|---|---|
1 |
Connect to the command line on the Security Group. |
|||
2 |
Log in to Gaia gClish. |
|||
3 |
Enable SNMP per Security Group Member:
|
|||
4 |
Examine the state of the SNMP per Security Group Member feature:
The command must return " |
|||
5 |
Run the applicable SNMPv3 query:
Example for the Security Group Member 1_2 and the Check Point SNMP OID "
|
CLI Syntax for SNMP configuration
|
show snmp snmp-per-member {mode
| state
| user}
|

Parameter |
Description |
---|---|
|
Specifies the mode for the SNMP per Security Group Member feature. Press the TAB key to see the available options. |
|
Specifies the SNMPv3 USM User you created in Gaia OS. See Prerequisites. |
CLI Syntax for SNMP query (based on 'snmpwalk')
|

Parameter |
Description |
---|---|
|
Specifies the SNMPv3 USM User you created in Gaia OS. See Prerequisites. |
|
Specifies the SNMPv3 Authentication Level. This feature requires " |
|
Specifies the SNMPv3 Authentication Protocol. |
|
Specifies the SNMPv3 Authentication Passphrase. |
|
Specifies the SNMPv3 Privacy Protocol. |
|
Specifies the SNMPv3 Privacy Passphrase. |
|
Specifies the IP address of the Security Group / ElasticXL Cluster. |
|
Specifies the Security Group Member to query. You must use the correct string as listed below. On Site 1:
On Site 2:
|
|
Specifies the SNMP OID to query. |
Files
-
/var/log/snmp_per_member.log
Log file.
-
/etc/snmp/scalable_platform.conf
Internal configuration file.
Important:
-
Do not edit this file manually.
Use only the Gaia gClish command "
set snmp snmp-per-member
". -
Gaia OS also saves the required settings in its database.
To see these settings, run in the Expert mode:
dbget -rva snmp:per_member
-