Skip to main content

Microsens G6 SNMP

Pack Assets​

Templates​

The Centreon Pack Microsens G6 SNMP brings 1 host template:

  • Net-Microsens-G6-SNMP-custom

It brings the following Service Templates:

Service AliasService TemplateDefaultDiscovery
Cpu-DetailedNet-Microsens-G6-Cpu-Detailed-SNMPX
HardwareNet-Microsens-G6-Hardware-SNMPX
InterfacesNet-Microsens-G6-Interfaces-SNMPX
LoadNet-Microsens-G6-Load-SNMPX
MemoryNet-Microsens-G6-Memory-SNMPX
SfpNet-Microsens-G6-Sfp-SNMPX
UptimeNet-Microsens-G6-Uptime-SNMPX

Discovery rules​

Rule nameDescription
Net-Microsens-G6-SNMP-Interface-NameDiscover network interfaces and monitor utilization
Net-Microsens-G6-SNMP-Sfp-PortDiscover sfp ports and monitor utilization

Collected metrics & status​

Metric nameDescriptionUnit
cpu.user.utilization.percentageCPU User utilization%
cpu.nice.utilization.percentageCPU Nice utilization%
cpu.system.utilization.percentageCPU System utilization%
cpu.idle.utilization.percentageCPU Idle utilization%
cpu.wait.utilization.percentageCPU Wait utilization%
cpu.kernel.utilization.percentageCPU Kernel utilization%
cpu.interrupt.utilization.percentageCPU Interrupt utilization%
cpu.softirq.utilization.percentageCPU SoftIrq utilization%
cpu.steal.utilization.percentageCPU Steal utilization%
cpu.guest.utilization.percentageCPU Guest utilization%
cpu.guestnice.utilization.percentageCPU Guest Nice utilization%

Prerequisites​

SNMP Configuration​

To use this pack, the SNMP service must be properly configured on your Microsens device:

Network flow​

The target server 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 Microsens G6 SNMP resources:
yum install centreon-plugin-Network-Microsens-G6-Snmp
  1. On the Centreon Web interface, install the Microsens G6 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 Microsens G6 SNMP server settings
  • Select the network-microsens-g6-snmp-custom template to apply to the Host

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 CLI using the centreon-engine user account and test the Plugin by running the following command:

/usr/lib/centreon/plugins/centreon_microsens_g6_snmp.pl \
--plugin=network::microsens::g6::snmp::plugin \
--mode=sfp \
--hostname='10.0.0.1' \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--filter-port='^(2|4)$' \
--warning-status='' \
--critical-status='' \
--warning-temperature='' \
--critical-temperature='' \
--warning-input-power='' \
--critical-input-power='' \
--warning-output-power='' \
--critical-output-power='' \
--verbose

The expected command output is shown below:

OK: All sfp ports are ok | '2#port.input.power.dbm'=1.3dBm;;;; '2#port.output.power.dbm'=0.3dBm;;;; '2#port.temperature.celsius'=65.9C;;;; '4#port.input.power.dbm'=1.4dBm;;;; '4#port.output.power.dbm'=0.7dBm;;;; '4#port.temperature.celsius'=66.3C;;;;
checking sfp port '2'
status: laserDisabled
input power: 1.3 dBm, output power: 0.3 dBm
temperature: 65.90 C
checking sfp port '4'
status: laserDisabled
input power: 1.4 dBm, output power: 0.7 dBm
temperature: 66.30 C

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

/usr/lib/centreon/plugins/centreon_microsens_g6_snmp.pl \
--plugin=network::microsens::g6::snmp::plugin \
--mode=sfp \
--help

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

/usr/lib/centreon/plugins/centreon_microsens_g6_snmp.pl \
--plugin=network::microsens::g6::snmp::plugin \
--list-mode

Troubleshooting​

Please find all the troubleshooting documentation for the Centreon Plugins in the dedicated page