Cavisson's network monitoring component constantly monitors a network for slow or failing components, visualizes the networking data & notifies the stakeholders (via email, SMS, or other alarms) in case of outages or performance spikes.

The following metric groups are covered under the Network monitoring module:

- Ethernet Stats
- Network Delay
- TCP Connection Stats
- TCP Queue Stats
- ICMP Msg Stats
- ICMP Stats
- NetChannel Tunnel Stats
- Network Bandwidth
- Socket Stats
- TCP Listen Queue Stats
- TCP Stats
- UDP Stats

Note: You can see the monitor information for specific monitors by clicking on the Information icon provided alongside the monitor type.

## Platform/OS Supported

- Ubuntu 16
- Ubuntu 20
- RHEL
- SUSE

## Pre-Requisites

1. The machine agent (CMON) should be running on the target server i.e. the machine from where you want to get OS related data.

To check the CMON status, execute the following command:
/etc/init.d/cmon status

If CMON is running successfully, you will get an output like this: cmon is running with PID(<pid_number>)

## Monitor Group Configuration

### Common Configuration

All metrics in both monitors have the following common fields which are optional:

- Frequency: Each sample will come in a selected frequency in the graph. It can be 10 secs, 10 minutes, 1 hour, 4 hours, or 1 day.
- Other Arguments: It is for enabling debug mode or passing any extra argument JSON.

## Monitor Group-Specific Configuration

The following monitor groups have additional configuration fields, described below:

- Network Delay: It has the following fields:
  - Server Type: Select the server type from one of these i.e. Specified server and Any one server of selected tier (Anyone server of selected tier group).
  - Advance Settings
    - Packet Count: A number of packets that are to be transmitted from source to destination and Packet count by default 10.
    - Packet Size(Bytes): Specifies the number of data bytes to be sent. The default is 64.
- TCP Connection Stats: It has the following fields:
  - Instance name: The instance name is the node under which the monitors are shown in the metric tree. It is user-defined.
  - Local IP Port: Local IP/port where CMON and agent are installed should be entered.
  - Foreign IP Port: Foreign IP port refers to the combination of a remote IP address and a port number. Monitoring foreign IP ports helps analyze network traffic, identify security risks, and troubleshoot connectivity issues.
  - Exclude IP Port: Provide the IP/Port that you want to exclude while monitoring the TCP connection.

Note: In case of the same IP, we will give port only.

- TCP Queue Stats: It has the following fields:
  - Local IP Port: Provide an IP port from where you want to capture TCP queue stats.
  - Foreign IP Port: Provide a destination address where the application is deployed that you want to capture TCP queue stats.
- Network Bandwidth: It has the following fields:
  - Host: Provide the NetCloud hostname.
  - Port: Provide the corresponding NC port for the NC host.

## Deploy Monitors

Deploy the configured monitors using our machine agent. The following fields need to be filled in to deploy:

- Tier: Tier is used to select the tier on which the monitor(s) will be deployed. Select the required tier from the drop-down list.
- Server: You can select the server(s) of the selected tier on which the configured monitor(s) will get deployed.

Based on the requirement, you can select any one of the following:

- All: Deploy the configured monitors on all the servers of the selected tier.
- Any: Select any one of the servers where monitors will be deployed.
- Specified Server: Select one or multiple servers of the chosen tier on which the monitor(s) will be deployed. It means that with monitors whether we require all servers, any server, or a specified server.
- Exclude Server: In this field, you have to select one or more servers which you want to exclude.
- Exclude Tier: In this field, you have to select one or more tiers that you want to exclude.

Notes:

- If you want to add more tiers and servers, then you can click on the Add Agent Tier-Server
- Once you have selected all the fields, you have to click on the Add Add button to add the tier and server.
- On clicking the add button, the tier server will be added in the table.
- You can perform the following actions in the table which are listed below:
  1. Edit: In edit option, you can edit the configuration. To perform this operation, you have to click on the Edit Monitor Configuration Once you have edited the configuration, you have to click on the Update Update button to update the table. You can also click on the
     Cancel Cancel button if you don’t want to edit the window.
  2. Delete: In delete, you can delete the configuration. To perform this operation, you have to click on the Delete button
  3. Test Monitor:
     - In test monitor, you have to select tier, server, frequency, and duration from the dialog box and then click on the Test Monitor Once you click on the test button, the test will start and the Open Dashboard Open Dashboard button will be enabled and the monitor log will be displayed.
     - Once you click on the open dashboard button, a new dashboard will open in a separate tab where you can see the data.

## Validation

Once the network monitors are configured, you can validate by either checking the monitor homepage where a section for Network monitors along with details like total, running, and failed monitors is given, or check for the configured monitors from the metric tree, against the tier/server/instance for which this metric is configured.