DenyAll SNMP
Monitoring Connector Assets​
Monitored Objects​
The Monitoring Connector DenyAll SNMP collects metrics for:
- Cpu
- Interfaces
- Load
- Memory
- Reverse-Proxy
- Storage
- Swap
Collected Metrics​
- Cpu
- Interfaces
- Load
- Memory
- Reverse-Proxy
- Storage
- Swap
Metric name | Description | Unit |
---|---|---|
cpu.utilization.percentage | CPU utilization | % |
cpuid#core.cpu.utilization.percentage | Per Core CPU utilization | % |
Metric name | Description | Unit |
---|---|---|
status | Status of the interface | |
interface_name#interface.traffic.in.bitspersecond | Incoming traffic going through the interface. | b/s |
interface_name#interface.traffic.in.percentage | Percentage of the interface's in bandwidth usage | % |
interface_name#interface.traffic.out.bitspersecond | Outgoing traffic going through the interface. | b/s |
interface_name#interface.traffic.out.percentage | Percentage of the interface's out bandwidth usage | % |
A regexp filter is available to target a specific interface identifier - ifName [--interface='^eth0$' --name
]
Metric name | Description | Unit |
---|---|---|
load1 | System load 1 minute-sample | |
load5 | System load 5 minutes-sample | |
load15 | System load 15 minutes-sample |
Metric name | Description | Unit |
---|---|---|
memory.usage.bytes | Memory usage | B |
memory.free.bytes | Free memory | B |
memory.usage.percentage | Memory usage in percentage | % |
memory.buffer.bytes | Buffered Memory allocation | B |
memory.cached.bytes | Cached Memory allocation | B |
memory.shared.bytes | Shared Memory allocation | B |
Metric name | Description | Unit |
---|---|---|
status | Status of the reverse proxy | |
reverseproxy_uid#reverse_proxy.cpu.utilization.percentage | CPU utilization | % |
reverseproxy_uid#reverse_proxy.memory.usage.bytes | Memory usage | B |
reverseproxy_uid#reverse_proxy.requests.persecond | Number of requests per second |
Metric name | Description | Unit |
---|---|---|
storage.partitions.count | Number of disk partition | |
partition_path#storage.space.usage.bytes | Used space on a disk partition | B |
Metric name | Description | Unit |
---|---|---|
swap.usage.bytes | Used swap | B |
swap.free.bytes | Free swap | B |
swap.usage.percentage | Percentage of used swap | % |
Prerequisites​
To control your DenyAll, the SNMP must be configured.
Setup​
- Online License
- Offline License
- Install the Centreon Plugin on every Poller:
yum install centreon-plugin-Network-Denyall-Snmp
- On the Centreon Web interface in Configuration > Monitoring Connector Manager, install the DenyAll SNMP Monitoring Connector
- Install the Centreon Plugin on every Poller:
yum install centreon-plugin-Network-Denyall-Snmp
- On the Centreon Central server, install the Centreon Monitoring Connector from the RPM:
yum install centreon-pack-network-denyall-snmp
- On the Centreon Web interface in Configuration > Monitoring Connector Manager, install the DenyAll SNMP Monitoring Connector
Host configuration​
- Add a new Host and fill the IP Address/FQDN, SNMP Version and SNMP Community fields according to the device's configuration
- Apply the Net-Denyall-SNMP-Custom Host Template
When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters More information in the Troubleshooting SNMP section.
Mandatory | Name | Description |
---|---|---|
SNMPEXTRAOPTIONS | Configure your own SNMPv3 credentials combo |
FAQ​
How to test the Plugin and what are the main options for?​
Once the plugin installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command:
/usr/lib/centreon/plugins/centreon_denyall_snmp.pl \
--plugin=network::denyall::snmp::plugin \
--mode=reverse-proxy \
--hostname=10.30.2.114 \
--snmp-version='2c' \
--snmp-community='denyall_ro' \
--warning-cpu-utilization='90' \
--critical-cpu-utilization='95' \
--verbose
Expected command output is shown below:
OK: All reverse proxies are ok | 'c0e7cb1b2b6f7f20a19fdbaf3296c552#reverse_proxy.cpu.utilization.percentage'=0.00%;0:90;0:95;0;100 'c0e7cb1b2b6f7f20a19fdbaf3296c552#reverse_proxy.memory.usage.bytes'=11534336B;;;0; 'c0e7cb1b2b6f7f20a19fdbaf3296c552#reverse_proxy.requests.persecond'=0.00;;;0; 'c4b59d91060c39140fcafc114e7d96e4#reverse_proxy.cpu.utilization.percentage'=0.00%;0:90;0:95;0;100 'c4b59d91060c39140fcafc114e7d96e4#reverse_proxy.memory.usage.bytes'=25165824B;;;0; 'c4b59d91060c39140fcafc114e7d96e4#reverse_proxy.requests.persecond'=0.00;;;0;
checking reverse proxy 'c0e7cb1b2b6f7f20a19fdbaf3296c552'
status: ok
cpu usage: 0.00 %
memory used: 11.00 MB
requests: 0.00/s
checking reverse proxy 'c4b59d91060c39140fcafc114e7d96e4'
status: ok
cpu usage: 0.00 %
memory used: 24.00 MB
requests: 0.00/s
The command above monitors DenyAll (--plugin=network::denyall::snmp::plugin --mode=memory
) identified
by the IP address 10.30.2.114 (--hostname=10.30.2.114
). As the Plugin is using the SNMP protocol to request the device, the related
community and version are specified (--snmp-version='2c' --snmp-community='denyall_ro'
).
This command would trigger a WARNING alarm if cpu utilization over 90%
(--warning-cpu-utilization='90'
) and a CRITICAL alarm over 95% (--critical-cpu-utilization='95'
).
All the options as well as all the available thresholds can be displayed by adding the --help
parameter to the command:
/usr/lib/centreon/plugins/centreon_denyall_snmp.pl \
--plugin=network::denyall::snmp::plugin \
--mode=reverse-proxy \
--help
Troubleshooting​
UNKNOWN: SNMP GET Request : Timeout​
If you get this message, you're probably facing one of theses issues:
- The SNMP agent of the device isn't started or is misconfigured
- An external device is blocking the request (firewall, ...)
UNKNOWN: SNMP GET Request : Cant get a single value.​
This error message often refers to the following issues:
- The agent doesn't support the MIB used by the plugin
- The targeted SNMP OID cannot be fetched because of insufficient privileges on the device. SNMP Agent must be capable of accessing to the enterprise branch: .1.3.6.1.4.1.18433.10