Sonus SBC SNMP
Pack Assetsβ
Templatesβ
The Centreon Monitoring Connector Sonus SBC brings a host template:
- Net-Sonus-Sbc-SNMP-custom-custom
It brings the following service templates:
Service Alias | Service Template | Service Description | Default | Discovery |
---|---|---|---|---|
Swap | Net-Sonus-Sbc-Swap-SNMP | Check the rate of utilization of SWAP memory on the Sonus | X | |
Memory | Net-Sonus-Sbc-Memory-SNMP | Check the memory usage on the Sonus SBC equipment | X | |
Load | Net-Sonus-Sbc-Load-SNMP | Check the load average of the equipment | X | |
Interfaces | Net-Sonus-Sbc-Interfaces-SNMP | Check interfaces | X | X |
Dsp-Statistics | Net-Sonus-Sbc-Dsp-Statistics-SNMP | Check the statistics related to the digital signal processing module of the SBC Sonus | X | |
Disks | Net-Sonus-Sbc-Disks-SNMP | Check storage usage | X | |
Cpu-Detailed | Net-Sonus-Sbc-Cpu-Detailed-SNMP | Check the rate of utilization of CPU for the machine. This check can give further details on its utilization | X | |
Channels | Net-Sonus-Sbc-Channels-SNMP | Check state and status of channels configured on the equipment | X | |
Call-Statistics | Net-Sonus-Sbc-Call-Statistics-SNMP | Check statistics of calls managed through this equipment | X | |
Cpu | Net-Sonus-Sbc-Cpu-SNMP | Check the rate of utilization of CPU for the machine. This check can give the average CPU utilization rate and the rate per CPU for multi-core CPU |
Default services are automatically created when the host template is applied.
Services templates with the Discovery field are linked to a service discovery rule.
Discovery rulesβ
Rule Name | Description |
---|---|
Net-Sonus-Sbc-SNMP-Interface-Name | Discover network interfaces and monitor bandwidth utilization |
More information about discovering services automatically is available on the dedicated page and in the following chapter.
Collected metrics & statusβ
- Call-Statistics
- Channels
- Cpu
- Cpu-Detailed
- Disks
- Dsp-Statistics
- Interfaces
- Load
- Memory
- Swap
Metric Name | Unit |
---|---|
port_id#port.calls.current.count | |
port_id#port.calls.total.count | |
port_id#port.calls.connected.count | |
port_id#port.calls.refused.count | |
port_id#port.calls.errored.count | |
port_id#port.calls.blocked.count |
Metric Name | Unit |
---|---|
channels.total.count | |
channels.outofservice.count | |
channels.idle.count | |
channels.pending.count | |
channels.waiting_for_route.count | |
channels.action_list.count | |
channels.waiting_for_digits.count | |
channels.remote_setup.count | |
channels.peer_setup.count | |
channels.alerting.count | |
channels.inband_info.count | |
channels.connected.count | |
channels.tone_generation.count | |
channels.releasing.count | |
channels.aborting.count | |
channels.resetting.count | |
channels.up.count | |
channels.down.count | |
channel status | |
shelf_id~slot_id~port_id~channel_id#channel.lifetime.seconds |
Metric Name | Unit |
---|---|
cpu.utilization.percentage | % |
core_num#core.cpu.utilization.percentage | % |
Metric Name | Unit |
---|---|
cpu.user.utilization.percentage | % |
cpu.nice.utilization.percentage | % |
cpu.system.utilization.percentage | % |
cpu.idle.utilization.percentage | % |
cpu.wait.utilization.percentage | % |
cpu.kernel.utilization.percentage | % |
cpu.interrupt.utilization.percentage | % |
cpu.softirq.utilization.percentage | % |
cpu.steal.utilization.percentage | % |
cpu.guest.utilization.percentage | % |
cpu.guestnice.utilization.percentage | % |
Metric Name | Unit |
---|---|
storage.partitions.count | |
mount_point#storage.space.usage.bytes | B |
mount_point#storage.access.count |
Metric Name | Unit |
---|---|
dsp status | |
dsp_id#dsp.cpu.utilization.percentage | % |
dsp_id#dsp.channels.active.count |
Metric Name | Unit |
---|---|
status | |
interface_name#interface.traffic.in.bitspersecond | b/s |
interface_name#interface.traffic.out.bitspersecond | b/s |
interface_name#interface.packets.in.error.percentage | % |
interface_name#interface.packets.in.discard.percentage | % |
interface_name#interface.packets.out.error.percentage | % |
interface_name#interface.packets.out.discard.percentage | % |
Metric Name | Unit |
---|---|
load.1m.count | |
load.5m.count | |
load.15m.count |
Metric Name | Unit |
---|---|
memory.usage.bytes | B |
memory.free.bytes | B |
memory.usage.percentage | % |
memory.buffer.bytes | B |
memory.cached.bytes | B |
memory.shared.bytes | B |
Metric Name | Unit |
---|---|
swap.usage.bytes | B |
swap.free.bytes | B |
swap.usage.percentage | % |
Prerequisitesβ
SNMP Configurationβ
To use this pack, the SNMP service must be properly configured on your equipment.
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:
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- CentOS 7
- Debian 11
dnf install centreon-pack-network-sonus-sbc-snmp
dnf install centreon-pack-network-sonus-sbc-snmp
yum install centreon-pack-network-sonus-sbc-snmp
apt install centreon-pack-network-sonus-sbc-snmp
Whatever the license type (online or offline), install the Sonus SBC 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:
- Alma / RHEL / Oracle Linux 8
- Alma / RHEL / Oracle Linux 9
- CentOS 7
- Debian 11
dnf install centreon-plugin-Network-Sonus-SBC-Snmp
dnf install centreon-plugin-Network-Sonus-SBC-Snmp
yum install centreon-plugin-Network-Sonus-SBC-Snmp
apt install centreon-plugin-network-sonus-sbc-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 ressource settings.
- Apply the Net-Sonus-Sbc-SNMP-custom-custom template to the host
- Once the template is applied, fill in the corresponding macros. Some macros are mandatory.
Mandatory | Macro | Description | Default |
---|---|---|---|
SNMPEXTRAOPTIONS | Any extra option you may want to add to every command line (eg. a --verbose flag) |
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_sonus_sbc_snmp.pl \
--plugin=network::sonus::sbc::snmp::plugin \
--mode=channels \
--hostname=10.0.0.1 \
--snmp-version='2c' \
--snmp-community='my-snmp-community' \
--filter-shelf-id=1 \
--filter-port-id=1 \
--verbose
The expected command output is shown below:
OK: All channels are ok | 'channels.total.count'=40;;;0; 'channels.outofservice.count'=0;;;0; 'channels.idle.count'=40;;;0; 'channels.pending.count'=0;;;0; 'channels.waiting_for_route.count'=0;;;0; 'channels.action_list.count'=0;;;0; 'channels.waiting_for_digits.count'=0;;;0; 'channels.remote_setup.count'=0;;;0; 'channels.peer_setup.count'=0;;;0; 'channels.alerting.count'=0;;;0; 'channels.inband_info.count'=0;;;0; 'channels.connected.count'=0;;;0; 'channels.tone_generation.count'=0;;;0; 'channels.releasing.count'=0;;;0; 'channels.aborting.count'=0;;;0; 'channels.resetting.count'=0;;;0; 'channels.up.count'=0;;;0; 'channels.down.count'=0;;;0; 'shelf1~slot0~port1~channel1#channel.lifetime.seconds'=371s;;;0; 'shelf1~slot0~port1~channel10#channel.lifetime.seconds'=856s;;;0; 'shelf1~slot0~port1~channel11#channel.lifetime.seconds'=961s;;;0; 'shelf1~slot0~port1~channel12#channel.lifetime.seconds'=461s;;;0; 'shelf1~slot0~port1~channel13#channel.lifetime.seconds'=667s;;;0; 'shelf1~slot0~port1~channel14#channel.lifetime.seconds'=330s;;;0; 'shelf1~slot0~port1~channel15#channel.lifetime.seconds'=489s;;;0; 'shelf1~slot0~port1~channel16#channel.lifetime.seconds'=797s;;;0; 'shelf1~slot0~port1~channel17#channel.lifetime.seconds'=1436s;;;0; 'shelf1~slot0~port1~channel18#channel.lifetime.seconds'=1029s;;;0; 'shelf1~slot0~port1~channel19#channel.lifetime.seconds'=405s;;;0; 'shelf1~slot0~port1~channel2#channel.lifetime.seconds'=1559s;;;0; 'shelf1~slot0~port1~channel20#channel.lifetime.seconds'=618s;;;0; 'shelf1~slot0~port1~channel21#channel.lifetime.seconds'=929s;;;0; 'shelf1~slot0~port1~channel22#channel.lifetime.seconds'=807s;;;0; 'shelf1~slot0~port1~channel23#channel.lifetime.seconds'=748s;;;0; 'shelf1~slot0~port1~channel24#channel.lifetime.seconds'=767s;;;0; 'shelf1~slot0~port1~channel25#channel.lifetime.seconds'=783s;;;0; 'shelf1~slot0~port1~channel26#channel.lifetime.seconds'=703s;;;0; 'shelf1~slot0~port1~channel27#channel.lifetime.seconds'=1293s;;;0; 'shelf1~slot0~port1~channel28#channel.lifetime.seconds'=2405s;;;0; 'shelf1~slot0~port1~channel29#channel.lifetime.seconds'=1371s;;;0; 'shelf1~slot0~port1~channel3#channel.lifetime.seconds'=1701s;;;0; 'shelf1~slot0~port1~channel30#channel.lifetime.seconds'=653s;;;0; 'shelf1~slot0~port1~channel31#channel.lifetime.seconds'=400s;;;0; 'shelf1~slot0~port1~channel32#channel.lifetime.seconds'=876s;;;0; 'shelf1~slot0~port1~channel33#channel.lifetime.seconds'=780s;;;0; 'shelf1~slot0~port1~channel34#channel.lifetime.seconds'=2461s;;;0; 'shelf1~slot0~port1~channel35#channel.lifetime.seconds'=1382s;;;0; 'shelf1~slot0~port1~channel36#channel.lifetime.seconds'=1595s;;;0; 'shelf1~slot0~port1~channel37#channel.lifetime.seconds'=2531s;;;0; 'shelf1~slot0~port1~channel38#channel.lifetime.seconds'=1604s;;;0; 'shelf1~slot0~port1~channel39#channel.lifetime.seconds'=2160s;;;0; 'shelf1~slot0~port1~channel4#channel.lifetime.seconds'=340s;;;0; 'shelf1~slot0~port1~channel40#channel.lifetime.seconds'=1487s;;;0; 'shelf1~slot0~port1~channel5#channel.lifetime.seconds'=1130s;;;0; 'shelf1~slot0~port1~channel6#channel.lifetime.seconds'=2739s;;;0; 'shelf1~slot0~port1~channel7#channel.lifetime.seconds'=1688s;;;0; 'shelf1~slot0~port1~channel8#channel.lifetime.seconds'=1909s;;;0; 'shelf1~slot0~port1~channel9#channel.lifetime.seconds'=336s;;;0;
channel '1/0/1/1' oper status: idle, lifetime: 371 seconds
channel '1/0/1/10' oper status: idle, lifetime: 856 seconds
channel '1/0/1/11' oper status: idle, lifetime: 961 seconds
channel '1/0/1/12' oper status: idle, lifetime: 461 seconds
channel '1/0/1/13' oper status: idle, lifetime: 667 seconds
channel '1/0/1/14' oper status: idle, lifetime: 330 seconds
channel '1/0/1/15' oper status: idle, lifetime: 489 seconds
channel '1/0/1/16' oper status: idle, lifetime: 797 seconds
channel '1/0/1/17' oper status: idle, lifetime: 1436 seconds
channel '1/0/1/18' oper status: idle, lifetime: 1029 seconds
channel '1/0/1/19' oper status: idle, lifetime: 405 seconds
channel '1/0/1/2' oper status: idle, lifetime: 1559 seconds
channel '1/0/1/20' oper status: idle, lifetime: 618 seconds
channel '1/0/1/21' oper status: idle, lifetime: 929 seconds
channel '1/0/1/22' oper status: idle, lifetime: 807 seconds
channel '1/0/1/23' oper status: idle, lifetime: 748 seconds
channel '1/0/1/24' oper status: idle, lifetime: 767 seconds
channel '1/0/1/25' oper status: idle, lifetime: 783 seconds
channel '1/0/1/26' oper status: idle, lifetime: 703 seconds
channel '1/0/1/27' oper status: idle, lifetime: 1293 seconds
channel '1/0/1/28' oper status: idle, lifetime: 2405 seconds
channel '1/0/1/29' oper status: idle, lifetime: 1371 seconds
channel '1/0/1/3' oper status: idle, lifetime: 1701 seconds
channel '1/0/1/30' oper status: idle, lifetime: 653 seconds
channel '1/0/1/31' oper status: idle, lifetime: 400 seconds
channel '1/0/1/32' oper status: idle, lifetime: 876 seconds
channel '1/0/1/33' oper status: idle, lifetime: 780 seconds
channel '1/0/1/34' oper status: idle, lifetime: 2461 seconds
channel '1/0/1/35' oper status: idle, lifetime: 1382 seconds
channel '1/0/1/36' oper status: idle, lifetime: 1595 seconds
channel '1/0/1/37' oper status: idle, lifetime: 2531 seconds
channel '1/0/1/38' oper status: idle, lifetime: 1604 seconds
channel '1/0/1/39' oper status: idle, lifetime: 2160 seconds
channel '1/0/1/4' oper status: idle, lifetime: 340 seconds
channel '1/0/1/40' oper status: idle, lifetime: 1487 seconds
channel '1/0/1/5' oper status: idle, lifetime: 1130 seconds
channel '1/0/1/6' oper status: idle, lifetime: 2739 seconds
channel '1/0/1/7' oper status: idle, lifetime: 1688 seconds
channel '1/0/1/8' oper status: idle, lifetime: 1909 seconds
channel '1/0/1/9' oper status: idle, lifetime: 336 seconds
Available modesβ
All available modes can be displayed by adding the --list-mode
parameter to
the command:
/usr/lib/centreon/plugins/centreon_sonus_sbc_snmp.pl \
--plugin=network::sonus::sbc::snmp::plugin \
--list-mode
The plugin brings the following modes:
Mode | Template |
---|---|
call-statistics | Net-Sonus-Sbc-Call-Statistics-SNMP |
channels | Net-Sonus-Sbc-Channels-SNMP |
cpu | Net-Sonus-Sbc-Cpu-SNMP |
cpu-detailed | Net-Sonus-Sbc-Cpu-Detailed-SNMP |
dsp-stats | Net-Sonus-Sbc-Dsp-Statistics-SNMP |
interfaces | Net-Sonus-Sbc-Interfaces-SNMP |
list-interfaces | Used for service discovery |
load | Net-Sonus-Sbc-Load-SNMP |
memory | Net-Sonus-Sbc-Memory-SNMP |
storage | Net-Sonus-Sbc-Disks-SNMP |
swap | Net-Sonus-Sbc-Swap-SNMP |
Available optionsβ
Global optionsβ
All global options are listed here:
Option | Description | Type |
---|---|---|
--mode | Choose a mode. | Global |
--dyn-mode | Specify a mode with the path (separated by '::'). | Global |
--list-mode | List available modes. | Global |
--mode-version | Check minimal version of mode. If not, unknown error. | Global |
--version | Display plugin version. | Global |
--pass-manager | Use a password manager. | Global |
--verbose | Display long output. | Output |
--debug | Display also debug messages. | Output |
--filter-perfdata | Filter perfdata that match the regexp. | Output |
--filter-perfdata-adv | Advanced perfdata filter. Eg: --filter-perfdata-adv='not (%(value) == 0 and %(max) eq "")' | Output |
--explode-perfdata-max | Put max perfdata (if it exist) in a specific perfdata (without values: same with '_max' suffix) (Multiple options) | Output |
--change-perfdata --extend-perfdata | Change or extend perfdata. Syntax: --extend-perfdata=searchlabel,newlabel,target[,[newuom],[min],[m ax]] Common examples: Change storage free perfdata in used: --change-perfdata=free,used,invert() Change storage free perfdata in used: --change-perfdata=used,free,invert() Scale traffic values automaticaly: --change-perfdata=traffic,,scale(auto) Scale traffic values in Mbps: --change-perfdata=traffic_in,,scale(Mbps),mbps Change traffic values in percent: --change-perfdata=traffic_in,,percent() | Output |
--extend-perfdata-group | Extend perfdata from multiple perfdatas (methods in target are: min, max, average, sum) Syntax: --extend-perfdata-group=searchlabel,newlabel,target[,[newuom],[m in],[max]] Common examples: Sum wrong packets from all interfaces (with interface need --units-errors=absolute): --extend-perfdata-group=',packets_wrong,sum(packets_(discard |error)_(in|out))' Sum traffic by interface: --extend-perfdata-group='traffic_in_(.*),traffic_$1,sum(traf fic_(in|out)_$1)' | Output |
--change-short-output --change-long-output | Change short/long output display: --change-short-output=pattern~replace~modifier | Output |
--change-exit | Change exit code: --change-exit=unknown=critical | Output |
--range-perfdata | Change perfdata range thresholds display: 1 = start value equals to '0' is removed, 2 = threshold range is not display. | Output |
--filter-uom | Filter UOM that match the regexp. | Output |
--opt-exit | Optional exit code for an execution error (i.e. wrong option provided, SSH connection refused, timeout, etc) (Default: unknown). | Output |
--output-ignore-perfdata | Remove perfdata from output. | Output |
--output-ignore-label | Remove label status from output. | Output |
--output-xml | Display output in XML format. | Output |
--output-json | Display output in JSON format. | Output |
--output-openmetrics | Display metrics in OpenMetrics format. | Output |
--output-file | Write output in file (can be used with json and xml options) | Output |
--disco-format | Display discovery arguments (if the mode manages it). | Output |
--disco-show | Display discovery values (if the mode manages it). | Output |
--float-precision | Set the float precision for thresholds (Default: 8). | Output |
--source-encoding | Set encoding of monitoring sources (In some case. Default: 'UTF-8'). | Output |
--hostname | Hostname to query (required). | Snmp |
--snmp-community | Read community (defaults to public). | Snmp |
--snmp-version | Version: 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3. | Snmp |
--snmp-port | Port (default: 161). | Snmp |
--snmp-timeout | Timeout in secondes (default: 1) before retries. | Snmp |
--snmp-retries | Set the number of retries (default: 5) before failure. | Snmp |
--maxrepetitions | Max repetitions value (default: 50) (only for SNMP v2 and v3). | Snmp |
--subsetleef | How many oid values per SNMP request (default: 50) (for get_leef method. Be cautious when you set it. Prefer to let the default value). | Snmp |
--snmp-autoreduce | Auto reduce SNMP request size in case of SNMP errors (By default, the divisor is 2). | Snmp |
--snmp-force-getnext | Use snmp getnext function (even in snmp v2c and v3). | Snmp |
--snmp-username | Security name (only for SNMP v3). | Snmp |
--authpassphrase | Authentication protocol pass phrase. | Snmp |
--authprotocol | Authentication protocol: MD5|SHA. Since net-snmp 5.9.1: SHA224|SHA256|SHA384|SHA512. | Snmp |
--privpassphrase | Privacy protocol pass phrase | Snmp |
--privprotocol | Privacy protocol: DES|AES. Since net-snmp 5.9.1: AES192|AES192C|AES256|AES256C. | Snmp |
--contextname | Context name | Snmp |
--contextengineid | Context engine ID | Snmp |
--securityengineid | Security engine ID | Snmp |
--snmp-errors-exit | Exit code for SNMP Errors (default: unknown) | Snmp |
--snmp-tls-transport | TLS Transport communication used (can be: 'dtlsudp', 'tlstcp'). | Snmp |
--snmp-tls-our-identity | Our X.509 identity to use, which should either be a fingerprint or the filename that holds the certificate. | Snmp |
--snmp-tls-their-identity | The remote server's identity to connect to, specified as either a fingerprint or a file name. Either this must be specified, or the hostname below along with a trust anchor. | Snmp |
--snmp-tls-their-hostname | The remote server's hostname that is expected. If their certificate was signed by a CA then their hostname presented in the certificate must match this value or the connection fails to be established (to avoid man-in-the-middle attacks). | Snmp |
--snmp-tls-trust-cert | A trusted certificate to use as trust anchor (like a CA certificate) for verifying a remote server's certificate. If a CA certificate is used to validate a certificate then the TheirHostname parameter must also be specified to ensure their presented hostname in the certificate matches. | Snmp |
Modes optionsβ
All modes specific options are listed here:
- Call-Statistics
- Channels
- Cpu
- Cpu-Detailed
- Disks
- Dsp-Statistics
- Interfaces
- Load
- Memory
- Swap
Option | Description | Type |
---|---|---|
--memcached | Memcached server to use (only one server). | Retention |
--redis-server | Redis server to use (only one server). SYntax: address[:port] | Retention |
--redis-attribute | Set Redis Options (--redis-attribute="cnx_timeout=5"). | Retention |
--redis-db | Set Redis database index. | Retention |
--failback-file | Failback on a local file if redis connection failed. | Retention |
--memexpiration | Time to keep data in seconds (Default: 86400). | Retention |
--statefile-dir | Directory for statefile (Default: '/var/lib/centreon/centplugins'). | Retention |
--statefile-suffix | Add a suffix for the statefile name (Default: ''). | Retention |
--statefile-concat-cwd | Concat current working directory with option '--statefile-dir'. Useful on Windows when plugin is compiled. | Retention |
--statefile-format | Format used to store cache (can be: 'dumper', 'storable', 'json'). | Retention |
--statefile-key | Key to encrypt/decrypt cache. | Retention |
--statefile-cipher | Cipher to encrypt cache (Default: 'AES'). | Retention |
--warning- --critical- | Thresholds. Can be: 'current', 'total', 'connected', 'refused', 'errored', 'blocked'. | Mode |
Option | Description | Type |
---|---|---|
--filter-counters | Only display some counters. | Mode |
--filter-shelf-id | Filter channels by shelf id (can be a regexp). | Mode |
--filter-slot-id | Filter channels by slot id (can be a regexp). | Mode |
--filter-port-id | Filter channels by port id (can be a regexp). | Mode |
--filter-channel-id | Filter channels by channel id (can be a regexp). | Mode |
--warning-status | Set warning threshold for status. Can used special variables like: %{admstatus}, %{opstatus}, %{display} | Mode |
--critical-status | Set critical threshold for status. Can used special variables like: %{admstatus}, %{opstatus}, %{display} | Mode |
--warning- --critical- | Thresholds. Can be: 'channels-total', 'channels-outofservice', 'channels-idle', 'channels-pending', 'channels-waitingforroute', 'channels-actionlist', 'channels-waitingfordigits', 'channels-remotesetup', 'channels-peersetup', 'channels-alerting', 'channels-inbandinfo', 'channels-connected', 'channels-tonegeneration', 'channels-releasing', 'channels-aborting', 'channels-resetting', 'channels-up', 'channels-down', 'channel-lifetime'. | Mode |
Option | Description | Type |
---|---|---|
--use-ucd | Use UCD mib for cpu average. | Mode |
--warning-average | Warning threshold average CPU utilization. | Mode |
--critical-average | Critical threshold average CPU utilization. | Mode |
--warning-core | Warning thresholds for each CPU core | Mode |
--critical-core | Critical thresholds for each CPU core | Mode |
Option | Description | Type |
---|---|---|
--memcached | Memcached server to use (only one server). | Retention |
--redis-server | Redis server to use (only one server). SYntax: address[:port] | Retention |
--redis-attribute | Set Redis Options (--redis-attribute="cnx_timeout=5"). | Retention |
--redis-db | Set Redis database index. | Retention |
--failback-file | Failback on a local file if redis connection failed. | Retention |
--memexpiration | Time to keep data in seconds (Default: 86400). | Retention |
--statefile-dir | Directory for statefile (Default: '/var/lib/centreon/centplugins'). | Retention |
--statefile-suffix | Add a suffix for the statefile name (Default: ''). | Retention |
--statefile-concat-cwd | Concat current working directory with option '--statefile-dir'. Useful on Windows when plugin is compiled. | Retention |
--statefile-format | Format used to store cache (can be: 'dumper', 'storable', 'json'). | Retention |
--statefile-key | Key to encrypt/decrypt cache. | Retention |
--statefile-cipher | Cipher to encrypt cache (Default: 'AES'). | Retention |
--warning-* | Threshold warning in percent. Can be: 'user', 'nice', 'system', 'idle', 'wait', 'kernel', 'interrupt', 'softirq', 'steal', 'guest', 'guestnice'. | Mode |
--critical-* | Threshold critical in percent. Can be: 'user', 'nice', 'system', 'idle', 'wait', 'kernel', 'interrupt', 'softirq', 'steal', 'guest', 'guestnice'. | Mode |
Option | Description | Type |
---|---|---|
--memcached | Memcached server to use (only one server). | Retention |
--redis-server | Redis server to use (only one server). SYntax: address[:port] | Retention |
--redis-attribute | Set Redis Options (--redis-attribute="cnx_timeout=5"). | Retention |
--redis-db | Set Redis database index. | Retention |
--failback-file | Failback on a local file if redis connection failed. | Retention |
--memexpiration | Time to keep data in seconds (Default: 86400). | Retention |
--statefile-dir | Directory for statefile (Default: '/var/lib/centreon/centplugins'). | Retention |
--statefile-suffix | Add a suffix for the statefile name (Default: ''). | Retention |
--statefile-concat-cwd | Concat current working directory with option '--statefile-dir'. Useful on Windows when plugin is compiled. | Retention |
--statefile-format | Format used to store cache (can be: 'dumper', 'storable', 'json'). | Retention |
--statefile-key | Key to encrypt/decrypt cache. | Retention |
--statefile-cipher | Cipher to encrypt cache (Default: 'AES'). | Retention |
--warning-usage | Threshold warning. | Mode |
--critical-usage | Threshold critical. | Mode |
--warning-access | Threshold warning. | Mode |
--critical-access | Threshold critical. Check if storage is readOnly: --critical-access=readOnly | Mode |
--add-access | Check storage access (readOnly, readWrite). | Mode |
--units | Units of thresholds (Default: '%') ('%', 'B'). | Mode |
--free | Thresholds are on free space left. | Mode |
--storage | Set the storage (number expected) ex: 1, 2,... (empty means 'check all storage'). | Mode |
--name | Allows to use storage name with option --storage instead ofstorage oid index. | Mode |
--regexp | Allows to use regexp to filter storage (with option --name). | Mode |
--regexp-isensitive | Allows to use regexp non case-sensitive (with --regexp). | Mode |
--path-best-match | Allows to select best path mount point (with --name). | Mode |
--reload-cache-time | Time in minutes before reloading cache file (default: 180). | Mode |
--oid-filter | Choose OID used to filter storage (default: hrStorageDescr) (values: hrStorageDescr, hrFSMountPoint). | Mode |
--oid-display | Choose OID used to display storage (default: hrStorageDescr) (values: hrStorageDescr, hrFSMountPoint). | Mode |
--display-transform-src | Regexp src to transform display value. (security risk!!!) | Mode |
--display-transform-dst | Regexp dst to transform display value. (security risk!!!) | Mode |
--show-cache | Display cache storage datas. | Mode |
--space-reservation | Some filesystem has space reserved (like ext4 for root). The value is in percent of total (Default: none) (results like 'df' command). | Mode |
--filter-duplicate | Filter duplicate storages (in used size and total size). | Mode |
--filter-storage-type | Filter storage types with a regexp (Default: '^(hrStorageFixedDisk|hrStorageNetworkDisk|hrFSBerkeleyFFS)$'). | Mode |
Option | Description | Type |
---|---|---|
--warning- --critical- | Thresholds. Can be: 'cpu-utilization', 'channels-active'. | Mode |
--warning-status | Set warning threshold for status. Can used special variables like: %{state}, %{display} | Mode |
--critical-status | Set critical threshold for status (Default: '%{state} eq "down"'). Can used special variables like: %{state}, %{display} | Mode |
Option | Description | Type |
---|---|---|
--memcached | Memcached server to use (only one server). | Retention |
--redis-server | Redis server to use (only one server). SYntax: address[:port] | Retention |
--redis-attribute | Set Redis Options (--redis-attribute="cnx_timeout=5"). | Retention |
--redis-db | Set Redis database index. | Retention |
--failback-file | Failback on a local file if redis connection failed. | Retention |
--memexpiration | Time to keep data in seconds (Default: 86400). | Retention |
--statefile-dir | Directory for statefile (Default: '/var/lib/centreon/centplugins'). | Retention |
--statefile-suffix | Add a suffix for the statefile name (Default: ''). | Retention |
--statefile-concat-cwd | Concat current working directory with option '--statefile-dir'. Useful on Windows when plugin is compiled. | Retention |
--statefile-format | Format used to store cache (can be: 'dumper', 'storable', 'json'). | Retention |
--statefile-key | Key to encrypt/decrypt cache. | Retention |
--statefile-cipher | Cipher to encrypt cache (Default: 'AES'). | Retention |
--add-global | Check global port statistics (By default if no --add-* option is set). | Mode |
--add-status | Check interface status. | Mode |
--add-duplex-status | Check duplex status (with --warning-status and --critical-status). | Mode |
--add-traffic | Check interface traffic. | Mode |
--add-errors | Check interface errors. | Mode |
--add-cast | Check interface cast. | Mode |
--add-speed | Check interface speed. | Mode |
--add-volume | Check interface data volume between two checks (not supposed to be graphed, useful for BI reporting). | Mode |
--check-metrics | If the expression is true, metrics are checked (Default: '%{opstatus} eq "up"'). | Mode |
--warning-status | Set warning threshold for status. Can used special variables like: %{admstatus}, %{opstatus}, %{duplexstatus}, %{display} | Mode |
--critical-status | Set critical threshold for status (Default: '%{admstatus} eq "up" and %{opstatus} ne "up"'). Can used special variables like: %{admstatus}, %{opstatus}, %{duplexstatus}, %{display} | Mode |
--warning- --critical- | Thresholds. Can be: 'total-port', 'total-admin-up', 'total-admin-down', 'total-oper-up', 'total-oper-down', 'in-traffic', 'out-traffic', 'in-error', 'in-discard', 'out-error', 'out-discard', 'in-ucast', 'in-bcast', 'in-mcast', 'out-ucast', 'out-bcast', 'out-mcast', 'speed' (b/s). | Mode |
--units-traffic | Units of thresholds for the traffic (Default: 'percent_delta') ('percent_delta', 'bps', 'counter'). | Mode |
--units-errors | Units of thresholds for errors/discards (Default: 'percent_delta') ('percent_delta', 'percent', 'delta', 'counter'). | Mode |
--units-cast | Units of thresholds for communication types (Default: 'percent_delta') ('percent_delta', 'percent', 'delta', 'counter'). | Mode |
--nagvis-perfdata | Display traffic perfdata to be compatible with nagvis widget. | Mode |
--interface | Set the interface (number expected) ex: 1,2,... (empty means 'check all interface'). | Mode |
--name | Allows to use interface name with option --interface instead ofinterface oid index (Can be a regexp) | Mode |
--speed | Set interface speed for incoming/outgoing traffic (in Mb). | Mode |
--speed-in | Set interface speed for incoming traffic (in Mb). | Mode |
--speed-out | Set interface speed for outgoing traffic (in Mb). | Mode |
--map-speed-dsl | Get interface speed configuration for interface type 'adsl' and 'vdsl2'. Syntax: --map-speed-dsl=interface-src-name,interface-dsl-name E.g: --map-speed-dsl=Et0.835,Et0-vdsl2 | Mode |
--force-counters64 | Force to use 64 bits counters only. Can be used to improve performance. | Mode |
--force-counters32 | Force to use 32 bits counters (even in snmp v2c and v3). Should be used when 64 bits counters are buggy. | Mode |
--reload-cache-time | Time in minutes before reloading cache file (default: 180). | Mode |
--oid-filter | Choose OID used to filter interface (default: ifName) (values: ifDesc, ifAlias, ifName, IpAddr). | Mode |
--oid-display | Choose OID used to display interface (default: ifName) (values: ifDesc, ifAlias, ifName, IpAddr). | Mode |
--oid-extra-display | Add an OID to display. | Mode |
--display-transform-src | Regexp src to transform display value. | Mode |
--display-transform-dst | Regexp dst to transform display value. | Mode |
--show-cache | Display cache interface datas. | Mode |
Option | Description | Type |
---|---|---|
--warning | Threshold warning (1min,5min,15min). | Mode |
--critical | Threshold critical (1min,5min,15min). | Mode |
--average | Load average for the number of CPUs. | Mode |
Option | Description | Type |
---|---|---|
--units | Units of thresholds (Default: '%') ('%', 'absolute')(Deprecated. Please use new counters directly) | Mode |
--free | Thresholds are on free space left (Deprecated. Please use newcounters directly) | Mode |
--swap | Check swap also. | Mode |
--warning- --critical- | Thresholds. Can be: 'usage' (B), 'usage-free' (B), 'usage-prct' (%), 'swap' (B), 'swap-free' (B), 'swap-prct' (%), 'buffer' (B), 'cached' (B), 'shared' (B). | Mode |
Option | Description | Type |
---|---|---|
--no-swap | Threshold if no active swap (default: 'critical'). | Mode |
--warning- --critical- | Thresholds. Can be: 'usage' (B), 'usage-free' (B), 'usage-prct' (%). | Mode |
All available options for a given mode can be displayed by adding the
--help
parameter to the command:
/usr/lib/centreon/plugins/centreon_sonus_sbc_snmp.pl \
--plugin=network::sonus::sbc::snmp::plugin \
--mode=channels \
--help
Troubleshootingβ
Please find the troubleshooting documentation for Centreon Plugins typical issues.