Use this Knowledge Script to enable firewalls on host ESX servers to allow SNMP traffic. This script raises an event if the operation succeeds or fails. This Knowledge Script replaces the VirtualCenter_EnableSNMPTraffic Knowledge Script.
Enable the Security Profile and Firewall permission to run this Knowledge Script.
For more information, see “Configuring vCenter Connection Credentials” in the AppManager for VMware vSphere Management Guide.
For more information, see Section 2.7, Configuring vCenter Connection Credentials.
Enable the Security Profile and Firewall permission to run this Knowledge Script.
For more information, see Section 2.7, Configuring vCenter Connection Credentials.
vSphere ESX or ESXi host
By default, this script runs once.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Event Notification |
|
Raise event when host does not support firewall configuration? |
Select Yes to raise an event when a host does not support firewall configuration. The default is Yes. |
Event severity when host does not support firewall configuration |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which a host does not support firewall configuration. The default is 15. |
Event severity when host server no longer connected to VirtualCenter |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the selected host server has been removed from vCenter. The default is 35. |
Event severity when failed to get metrics |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which AppManager failed to retrieve metrics from vCenter. The default is 15. |
Event severity when AppManager failed to log in |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which AppManager failed to log in to vCenter. The default is 5. |
Event severity when ConfigureHostTraffic job fails unexpectedly |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the ConfigureHostTraffic job fails unexpectedly. The default is 5. |
Host inbound traffic settings |
|
Enable SNMP traffic? |
Select Yes to raise an event when the SNMP inbound traffic is enabled successfully. The default is Yes. |
Event severity when SNMP inbound traffic enabled successfully |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the SNMP inbound traffic is enabled successfully. The default is 25. |
Event severity when SNMP inbound traffic is already enabled |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which inbound traffic is already enabled. The default is 35. |
Event severity when SNMP inbound traffic failed to be enabled |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the SNMP inbound traffic failed to be enabled. The default is 5. |