Use this Knowledge Script to monitor network data received/transmitted for a vSphere host. This script raises an event if the rate of network data received/transmitted exceeds the threshold you set.
Use this Knowledge Script to monitor the following metrics for a vCenter host:
Network data received - The rate at which data is received across each physical NIC instance on the host
Network data transmitted - The rate at which data is written to each LUN (logical unit number) on the host
NOTE:
When a host goes into maintenance mode all VirtualCenter_Host* Knowledge Scripts, except for the VirtualCenter_HostConnected Knowledge Script, suppress events and data.
In rare situations, queries to the ESX host might fail with timeouts because the ESX host stops responding. This issue affects all VirtualCenter_Host* Knowledge Scripts. You can work around this issue by restarting the management service on the ESX host.
vSphere ESX or ESXi host
By default, this script runs every 15 minutes.
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
Event Notification |
|
Raise event when network data received exceeds the threshold? |
Select Yes to raise an event if the rate of network data received exceeds the threshold you set. The default is Yes. |
Event severity when network data received exceeds the threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the rate of network data received exceeds the threshold. The default is 15. |
Raise event when individual network data received exceeds the threshold? |
Select Yes to raise an event if the rate of individual network data received exceeds the threshold you set. The default is unselected. |
Event severity when individual network data received exceeds the threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the rate of individual network data received exceeds the threshold. The default is 15. |
Raise event when network data transmitted exceeds the threshold? |
Select Yes to raise an event if the rate of network data transmitted exceeds the threshold you set. The default is Yes. |
Event severity when network data transmitted exceeds the threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the rate of individual network data transmitted exceeds the threshold. The default is 15. |
Raise event when individual network data transmitted exceeds the threshold? |
Select Yes to raise an event if the rate of individual network data transmitted exceeds the threshold you set. The default is unselected. |
Event severity when individual network data transmitted exceeds the threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the rate of individual network data transmitted exceeds the threshold. The default is 15. |
Raise event when network IO metrics are not available? |
Select Yes to raise an event if the network IO metrics are not available. The default is Yes. |
Event severity when network IO metrics are not available |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the network IO metrics are not available. The default is 15. |
Event severity when AppManager 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 HostNetworkIO job fails unexpectedly |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the HostNetworkIO job fails unexpectedly. The default is 5. |
Data Collection |
|
Collect data for network data received? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the rate of network data received in megabytes per second. The default is unselected. |
Collect data for individual network data received? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the rate of individual network data received in megabytes per second. The default is unselected. |
Collect data for network data transmitted? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the rate of network data transmitted in megabytes per second. The default is unselected. |
Collect data for individual network data transmitted? |
Select Yes to collect data for charts and reports. When enabled, data collection returns the rate of individual network data transmitted in megabytes per second. The default is unselected. |
Monitoring |
|
Maximum threshold for network data received |
Specify the maximum rate of network data received that can occur before an event is raised. The default is 2 megabytes per second. |
Maximum threshold for individual network data received |
Specify the maximum rate of individual network data received that can occur before an event is raised. The default is 2 megabytes per second. |
Maximum threshold for network data transmitted |
Specify the maximum rate of network data transmitted that can occur before an event is raised. The default is 2 megabytes per second. |
Maximum threshold for individual network data transmitted |
Specify the maximum rate of individual network data transmitted that can occur before an event is raised. The default is 2 megabytes per second. |