Skip to main content

Libraesva SNMP

Pack Assets​

Templates​

The Centreon Pack Libraesva brings a host template:

  • Net-Libraesva-SNMP-custom

It brings the following service templates:

Service AliasService TemplateDefaultDiscovery
InterfacesNet-Libraesva-Interfaces-SNMPX
LoadNet-Libraesva-Load-SNMPX
MemoryNet-Libraesva-Memory-SNMPX
StorageNet-Libraesva-Storage-SNMPX
SwapNet-Libraesva-Swap-SNMPX
SystemNet-Libraesva-System-SNMPX

Discovery rules​

Rule nameDescription
Net-Libraesva-SNMP-Interface-NameDiscover network interfaces and monitor utilization
Net-Libraesva-SNMP-Storage-NameDiscover disks and monitor utilization

More information about discovering services automatically is available on the dedicated page and in the following chapter.

Collected metrics & status​

Metric nameDescriptionUnit
statusStatus of the interface
interface_name#interface.traffic.in.bitspersecondIncoming traffic going through the interfaceb/s
interface_name#interface.traffic.out.bitspersecondOutgoing traffic going through the interfaceb/s
interface_name#interface.packets.in.error.percentageIncoming errored packets going through the interface%
interface_name#interface.packets.in.discard.percentageIncoming discarded packets going through the interface%
interface_name#interface.packets.out.error.percentageOutgoing errored packets going through the interface%
interface_name#interface.packets.out.discard.percentageOutgoing discarded packets going through the interface%

Prerequisites​

SNMP Configuration​

To use this Pack, the SNMP service must be properly configured on your device.

Network flow​

The target equipment must be reachable from the Centreon Poller on the UDP/161 SNMP port.

Setup​

  1. Install the Centreon package on every Centreon poller expected to monitor Libraesva SNMP resources:
yum install centreon-plugin-Network-Libraesva-Snmp
  1. On the Centreon web interface, install the Libraesva SNMP Centreon Pack on the Configuration > Monitoring Connector Manager page.

Configuration​

Host​

  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address / DNS fields according to your Libraesva SNMP equipment settings.
  • Apply the Net-Libraesva-SNMP-custom template to the host.
  • Once the template is applied, fill in the corresponding macros. Some macros are mandatory.

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

MandatoryNameDescription
SNMPEXTRAOPTIONS(Default: 'Configure 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_libraesva_snmp.pl \
--plugin=network::libraesva::snmp::plugin \
--mode=memory \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community'

The expected command output is shown below:

OK: Ram Total: 7.66 GB Used (-buffers/cache): 3.23 GB (42.20%) Free: 4.43 GB (57.80%), Buffer: 252.45 MB, Cached: 3.80 GB, Shared: 396.42 MB | 'memory.usage.bytes'=3470262272B;;;0;8223875072 'memory.free.bytes'=4753612800B;;;0;8223875072 'memory.usage.percentage'=42.20%;;;0;100 'memory.buffer.bytes'=264708096B;;;0; 'memory.cached.bytes'=4079517696B;;;0; 'memory.shared.bytes'=415678464B;;;0;

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

/usr/lib/centreon/plugins/centreon_libraesva_snmp.pl \
--plugin=network::libraesva::snmp::plugin \
--mode=memory \
--help

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

/usr/lib/centreon/plugins/centreon_libraesva_snmp.pl \
--plugin=network::libraesva::snmp::plugin \
--list-mode

Troubleshooting​

Please find the troubleshooting documentation for Centreon Plugins typical issues.