Use this Knowledge Script to monitor network activity in managedĀ .NET applications.
This script raises an event if one of the following conditions exists:
The number of bytes sent during a process, through all socket connections, exceeds a specified threshold. The number of bytes includes data as well as non-TCP/IP protocol information.
The number of bytes received during a process, through all socket connections, exceeds a specified threshold. The number of bytes includes data as well as non-TCP/IP protocol information.
NOTE:The monitored .NET applications must be running at the time of discovery so their resource objects can discovered. The applications must also be running for this script to collect data.
The default schedule for this script is Every 5 minutes.
Networking Managed Applications folder
Networking Managed Applications object
Set the following parameters as needed:
Parameter |
How to Set It |
---|---|
General Settings |
|
Raise event if application not running? |
Set to Yes to raise an event if the managed application is not running. The default is Yes. |
Event severity when application not running |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the managed application is not running. The default is 20 (yellow event indicator). |
Monitor Network Traffic |
|
Event Notification |
|
Raise event if network bytes sent exceed threshold? |
Set to Yes to raise an event if the number of bytes sent during a process exceeds the threshold you set. The default is Yes. |
Threshold - Maximum number of network bytes sent |
Specify the maximum number of bytes that can be sent during a process before an event is raised. The default is 1000000 bytes. |
Event severity when network bytes sent exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of bytes sent during a process exceeds the threshold. The default is 15 (yellow event indicator). |
Raise event if network bytes received exceed threshold? |
Set to Yes to raise an event if the number of bytes received during a process exceeds a specified threshold. The default is Yes. |
Threshold - Maximum number of network bytes received |
Specify the maximum number of bytes that can be received during a process before an event is raised. The default is 1000000 bytes. |
Event severity when network bytes received exceed threshold |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which the number of bytes received during a process exceeds the threshold. The default is 15 (yellow event indicator). |
Data Collection |
|
Collect data for network byte sent? |
Set to Yes to collect data for charts and reports. When enabled, data collection returns the number of bytes sent during the monitoring interval. The default is unselected. |
Collect data for network byte received? |
Set to Yes to collect data for charts and reports. When enabled, data collection returns the number of bytes received during the monitoring interval. The default is unselected. |