<!--startmeta
custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/collector/snmp/npm-catalog/integrations/mcafee_web_gateway.md"
meta_yaml: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/collector/snmp/npm-catalog/metadata.yaml"
sidebar_label: "Mcafee WEB Gateway"
learn_status: "Published"
learn_rel_path: "Network Performance Monitoring/Device Metrics/Integrations"
keywords: ['mcafee', 'web', 'gateway', 'snmp', 'network device', 'npm']
message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE NPM CATALOG metadata.yaml FILE"
endmeta-->

<!-- markdownlint-disable-file -->

# Mcafee WEB Gateway


<img src="https://netdata.cloud/img/SNMP.png" width="150"/>


Plugin: go.d.plugin
Module: snmp

<img src="https://img.shields.io/badge/maintained%20by-Netdata-%2300ab44" />

## Overview

Monitor Mcafee WEB Gateway (network device) with Netdata over SNMP. Netdata recognizes the device automatically by its `sysObjectID` (recognized across 1 device identifiers) and collects the metrics this profile declares — on top of the generic SNMP baseline — with no manual OID configuration.

Netdata's SNMP collector matches the device to the **mcafee-web-gateway.yaml** profile via `sysObjectID`/`sysDescr`, then polls the OIDs it declares.

This integration is supported on all platforms.

This integration supports multiple instances configured side-by-side.


### Default Behavior

#### Auto-Detection

Auto-detected as Mcafee WEB Gateway via sysObjectID/sysDescr.

#### Limits

The default configuration for this integration does not impose any limits.

#### Performance Impact

The default configuration for this integration is not expected to impose a significant performance impact on the system.

## Setup


You can configure the **snmp** collector in two ways:

| Method                | Best for                                                                                 | How to                                                                                                                                 |
|-----------------------|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| [**UI**](#via-ui)     | Fast setup without editing files                                                         | Go to **Nodes → Configure this node → Collectors → Jobs**, search for **snmp**, then click **+** to add a job. |
| [**File**](#via-file) | If you prefer configuring via file, or need to automate deployments (e.g., with Ansible) | Edit `go.d/snmp.conf` and add a job.                                                                        |

:::important

UI configuration requires paid Netdata Cloud plan.

:::


### Prerequisites

#### SNMP access

SNMP must be enabled on the device and reachable from the Netdata Agent acting as the site's SNMP hub.


### Configuration

#### Options

Configure the SNMP collector with the device hostname and SNMP credentials. See the SNMP collector reference for all options.


#### via UI

Configure the **snmp** collector from the Netdata web interface:

1. Go to **Nodes**.
2. Select the node **where you want the snmp data-collection job to run** and click the :gear: (**Configure this node**). That node will run the data collection.
3. The **Collectors → Jobs** view opens by default.
4. In the Search box, type _snmp_ (or scroll the list) to locate the **snmp** collector.
5. Click the **+** next to the **snmp** collector to add a new job.
6. Fill in the job fields, then click **Test** to verify the configuration and **Submit** to save.
    - **Test** runs the job with the provided settings and shows whether data can be collected.
    - If it fails, an error message appears with details (for example, connection refused, timeout, or command execution errors), so you can adjust and retest.


#### via File

The configuration file name for this integration is `go.d/snmp.conf`.

The file format is YAML. Generally, the structure is:

```yaml
update_every: 1
autodetection_retry: 0
jobs:
  - name: some_name1
  - name: some_name2
```
You can edit the configuration file using the [`edit-config`](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#edit-configuration-files) script from the
Netdata [config directory](https://github.com/netdata/netdata/blob/master/docs/netdata-agent/configuration/README.md#locate-your-config-directory).

```bash
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config go.d/snmp.conf
```

##### Examples
There are no configuration examples.



## Alerts

There are no alerts configured by default for this integration.



## Metrics

On top of the **generic SNMP baseline** (the *Generic SNMP Device* integration — interfaces, system, IP/TCP/UDP, host resources), this Mcafee WEB Gateway profile adds the metrics below. Each is collected **only where the device exposes the matching OID** — inclusion means the profile requests it; availability depends on the device model and software.

**38 metrics** in 15 groups; each row is a chart context usable in alerts.

| Group | Metrics |
|---|---|
| Network / Connection | 1 |
| Network / DNS | 1 |
| Network / FTP | 5 |
| Network / HTTP | 6 |
| Network / HTTPS | 6 |
| Network / Interface | 4 |
| Network / Socket | 1 |
| Security / Connection | 5 |
| Security / Filter | 3 |
| Security / Malware | 1 |
| Security / RuleEngine | 1 |
| System / CPU | 1 |
| System / Memory | 1 |
| System / Transaction | 1 |
| System / Uptime | 1 |

### Network / Connection

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stClientCount` | `{client}` | device | Currently connected clients |

### Network / DNS

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stResolveHostViaDNS` | `ms` | device | Time to resolve DNS in ms |

### Network / FTP

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stFtpBytesFromClient` | `By/s` | device | Number of bytes tranferred from proxy to client(s) using the FTP protocol |
| `snmp.device_prof_mcafee_mwg_stFtpBytesFromServer` | `By/s` | device | Number of bytes tranferred from server(s) to proxy using the FTP protocol |
| `snmp.device_prof_mcafee_mwg_stFtpBytesToClient` | `By/s` | device | Number of bytes tranferred from proxy to client(s) using the FTP protocol |
| `snmp.device_prof_mcafee_mwg_stFtpBytesToServer` | `By/s` | device | Number of bytes tranferred from proxy to server(s) using the FTP protocol |
| `snmp.device_prof_mcafee_mwg_stFtpTraffic` | `By/s` | device | Number of bytes transmitted between proxy and server(s) using the FTP protocol |

### Network / HTTP

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stHttpBytesFromClient` | `By/s` | device | Number of bytes transferred from client to proxy using the HTTP protocol |
| `snmp.device_prof_mcafee_mwg_stHttpBytesFromServer` | `By/s` | device | Number of bytes transferred from server to proxy using the HTTP protocol |
| `snmp.device_prof_mcafee_mwg_stHttpBytesToClient` | `By/s` | device | Number of bytes transferred from proxy to client(s) using the HTTP protocol |
| `snmp.device_prof_mcafee_mwg_stHttpBytesToServer` | `By/s` | device | Number of bytes transferred from proxy to server(s) using the HTTP protocol |
| `snmp.device_prof_mcafee_mwg_stHttpRequests` | `{request}/s` | device | Number of HTTP requests |
| `snmp.device_prof_mcafee_mwg_stHttpTraffic` | `By/s` | device | Number of bytes tranferred between proxy and server(s) using the HTTP protocol |

### Network / HTTPS

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stHttpsBytesFromClient` | `By/s` | device | Number of bytes tranferred from client(s) to proxy using the HTTPS protocol |
| `snmp.device_prof_mcafee_mwg_stHttpsBytesFromServer` | `By/s` | device | Number of bytes tranferred from server(s) to proxy using the HTTPS protocol |
| `snmp.device_prof_mcafee_mwg_stHttpsBytesToClient` | `By/s` | device | Number of bytes tranferred from proxy to client(s) and proxy using the HTTPS protocol |
| `snmp.device_prof_mcafee_mwg_stHttpsBytesToServer` | `By/s` | device | Number of bytes tranferred from proxy to server(s) and proxy using the HTTPS protocol |
| `snmp.device_prof_mcafee_mwg_stHttpsRequests` | `{request}/s` | device | Number of HTTPS requests |
| `snmp.device_prof_mcafee_mwg_stHttpsTraffic` | `By/s` | device | Number of bytes tranferred between proxy and server(s) using the HTTPS protocol |

### Network / Interface

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_ifAdminStatus` | `{status}` | per interface, interface | Current administrative state of the interface |
| `snmp.device_prof_ifHighSpeed` | `bit/s` | per interface, interface | Estimate of the interface's current bandwidth |
| `snmp.device_prof_ifNumber` | `{interface}` | device | Number of network interfaces regardless of their current state present on this system |
| `snmp.device_prof_ifOperStatus` | `{status}` | per interface, interface | Current operational state of the interface |

### Network / Socket

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stConnectedSockets` | `{socket}` | device | Number of open network sockets in use by the proxy |

### Security / Connection

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stBlockedByAntiMalware` | `{connection}/s` | device | Number of connections blocked by Anti-Malware |
| `snmp.device_prof_mcafee_mwg_stBlockedByMediaFilter` | `{connection}/s` | device | Number of connections that have been blocked by the Media-Type filter |
| `snmp.device_prof_mcafee_mwg_stBlockedByURLFilter` | `{connection}/s` | device | Number of connection that have been blocked by the URL filter |
| `snmp.device_prof_mcafee_mwg_stConnectionsBlocked` | `{connection}/s` | device | Number of blocked connections |
| `snmp.device_prof_mcafee_mwg_stConnectionsLegitimate` | `{connection}/s` | device | Number of connections that not have been blocked |

### Security / Filter

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stCategories` | `{category}/s` | device | Number of categories detected by the URL filter |
| `snmp.device_prof_mcafee_mwg_stCategoryCount` | `{occurrence}/s` | per mcafee_mwg_st_category_name | Number of times the URL filter detected this category |
| `snmp.device_prof_mcafee_mwg_stMimeType` | `{media_type}/s` | device | Number of media types detected by the Media Type filter |

### Security / Malware

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stMalwareDetected` | `{infection}/s` | device | Number of infections detected by the McAfee Gateway Antimalware Engine |

### Security / RuleEngine

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stTimeConsumedByRuleEngine` | `ms` | device | Average time used by the rule engine in ms |

### System / CPU

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_cpu_usage` | `%` | device | The current CPU utilization |

### System / Memory

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_memory_usage` | `%` | device | Virtual memory consumption of the main processes divided by RAM + half of SWAP space. Projected to 0-100. |

### System / Transaction

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_mcafee_mwg_stTimeForTransaction` | `ms` | device | Average time for transaction in ms |

### System / Uptime

| Metric (chart context) | Unit | Scope | Description |
|---|---|---|---|
| `snmp.device_prof_systemUptime` | `s` | device | Time since the system was last rebooted or powered on. |
