Skip to main content

Informix DB SNMP

Pack Assets​

Templates​

The Centreon Monitoring Connector Informix DB SNMP brings 1 host template:

  • App-DB-Informix-SNMP-custom

It brings the following Service Templates:

Service AliasService TemplateDefault
Archivelevel0App-DB-Informix-Archivelevel0-SNMPX
Chunk-StatusApp-DB-Informix-Chunk-Status-SNMPX
Dbspace-UsageApp-DB-Informix-Dbspace-Usage-SNMPX
Global-CacheApp-DB-Informix-Global-Cache-SNMPX
Lock-StatsApp-DB-Informix-Lock-Stats-SNMPX
Logfile-UsageApp-DB-Informix-Logfile-Usage-SNMPX
SessionsApp-DB-Informix-Sessions-SNMPX

Collected metrics & status​

Metric NameDescriptionUnit
secondsNumber of seconds elapsed since last backups

Prerequisites​

SNMP Configuration​

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

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 Informix SNMP resources:
yum install centreon-plugin-Applications-Databases-Informix-Snmp
  1. On the Centreon Web interface, install the Informix DB SNMP Centreon Monitoring Connector 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 Informix SNMP server settings
  • Select the App-DB-Informix-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
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 CLI using the centreon-engine user account and test the Plugin by running the following command:

/usr/lib/centreon/plugins//centreon_informix_snmp.pl \
--plugin=database::informix::snmp::plugin \
--mode=sessions \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--warning-sessions='10' \
--critical-sessions='20' \
--use-new-perfdata

The expected command output is shown below:

OK: 7 client sessions | sessions=7;10;20;0;;

This command would trigger a WARNING alarm if the number of sessions is reported as over 10 (--warning-sessions='10') and a CRITICAL alarm over 20 (--critical-sessions='20').

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

/usr/lib/centreon/plugins//centreon_informix_snmp.pl \
--plugin=database::informix::snmp::plugin \
--mode=sessions \
--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_informix_snmp.pl \
--plugin=database::informix::snmp::plugin \
--list-mode

Troubleshooting​

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