Skip to main content

Patton SmartNode SNMP

Pack Assets​

Templates​

The Centreon Monitoring Connector Patton SmartNode SNMP brings a host template:

  • Net-Patton-Smartnode-SNMP-custom

It brings the following service templates:

Service AliasService TemplateService DescriptionDefault
CallNet-Patton-Smartnode-Call-SNMPCheck callsX
SystemNet-Patton-Smartnode-System-SNMPCheck system healthX

Collected metrics & status​

Metric NameUnit
gateway#gateway.calls.accumulated.count
gateway#gateway.calls.connected.count
gateway#gateway.calls.ongoing.count
isdn#isdn.calls.accumulated.count
isdn#isdn.calls.connected.count
isdn#isdn.calls.ongoing.count

Prerequisites​

SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your Patton SmartNode SNMP server. Please refer to the official documentation from Patton:

Network flow​

The target server must be reachable from the Centreon poller on the UDP/161 SNMP port.

Setup​

Monitoring Pack​

If the platform uses an online license, you can skip the package installation instruction below as it is not required to have the pack displayed within the Configuration > Monitoring Connector Manager menu. If the platform uses an offline license, install the package on the central server with the command corresponding to the operating system's package manager:

dnf install centreon-pack-network-patton-smartnode-snmp

Whatever the license type (online or offline), install the Patton SmartNode SNMP Pack through the Configuration > Monitoring Connector Manager menu.

Plugin​

Since Centreon 22.04, you can benefit from the 'Automatic plugin installation' feature. When this feature is enabled, you can skip the installation part below.

You still have to manually install the plugin on the poller(s) when:

  • Automatic plugin installation is turned off
  • You want to run a discovery job from a poller that doesn't monitor any resource of this kind yet

More information in the Installing the plugin section.

Use the commands below according to your operating system's package manager:

dnf install centreon-plugin-Network-Patton-SmartNode-Snmp

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address/DNS fields according to your Patton SmartNode SNMP server settings.
  • Apply the Net-Patton-Smartnode-SNMP-custom template to the host.

If you are using SNMP Version 3, use the SNMPEXTRAOPTIONS macro to configure

When using SNMP v3, use the SNMPEXTRAOPTIONS Macro to add specific authentication parameters. More information in the Troubleshooting SNMP section.

MandatoryMacroDescription
SNMPEXTRAOPTIONSConfigure your own SNMPv3 credentials combo

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon poller's CLI using the centreon-engine user account (su - centreon-engine) and test the plugin by running the following command:

/usr/lib/centreon/plugins//centreon_patton_smartnode.pl \
--plugin=network::patton::smartnode::snmp::plugin \
--mode=system \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-memory-usage='' \
--critical-memory-usage='' \
--warning-memory-usage-free='' \
--critical-memory-usage-free='' \
--warning-memory-usage-prct='' \
--critical-memory-usage-prct='' \
--warning-cpu-average='' \
--critical-cpu-average='' \
--warning-core-cpu-utilization='' \
--critical-core-cpu-utilization='' \
--warning-core-cpu-utilization-1m='' \
--critical-core-cpu-utilization-1m='' \
--warning-core-cpu-utilization-5m='' \
--critical-core-cpu-utilization-5m='' \
--warning-probe-temperature='' \
--critical-probe-temperature='' \
--use-new-perfdata

The expected command output is shown below:

OK: 1 CPU(s) average usage is 25.00 % - All CPU usages are ok - All memory usages are ok - All temperatures are ok | 'cpu.utilization.percentage'=25.00%;;;0;100 '1#core.cpu.utilization.percentage'=10.00%;;;0;100 '1#core.cpu.utilization.1m.percentage'=4.00%;;;0;100 '1#core.cpu.utilization.5m.percentage'=3.00%;;;0;100 '2#core.cpu.utilization.percentage'=15.00%;;;0;100 '2#core.cpu.utilization.1m.percentage'=5.00%;;;0;100 '2#core.cpu.utilization.5m.percentage'=2.00%;;;0;100 '1#memory.usage.bytes'=10997440B;;;0;400000000 '1#memory.free.bytes'=233509184B;;;0;400000000 '1#memory.usage.percentage'=2.75%;;;0;100 '2#memory.usage.bytes'=200000000B;;;0;300000000 '2#memory.free.bytes'=100000000B;;;0;300000000 '2#memory.usage.percentage'=66.67%;;;0;100 '1#probe.temperature.celsius'=47.00C;;;0;100 '2#probe.temperature.celsius'=43.00C;;;0;100

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins//centreon_patton_smartnode.pl \
--plugin=network::patton::smartnode::snmp::plugin \
--mode=system \
--help

All available modes can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins//centreon_patton_smartnode.pl \
--plugin=network::patton::smartnode::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.