List options : os::linux::snmp::plugin

jeudi 8 mars 2018
par  Jerome ROBERT
popularité : 42%

snmp:cpu

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
Check system CPUs (HOST-RESOURCES-MIB) (The average, over the last
minute, of the percentage of time that this processor was not idle)

 â€”warning
Threshold warning in percent.

 â€”critical
Threshold critical in percent.


snmp:cpu-detailed

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Retention Options :
—memcached
Memcached server to use (only one server).

 â€”redis-server
Redis server to use (only one server).

 â€”redis-attribute
Set Redis Options (—redis-attribute="cnx_timeout=5").

 â€”memexpiration
Time to keep data in seconds (Default : 86400).

 â€”statefile-dir
Directory for statefile (Default :
’/var/lib/centreon/centplugins’).

 â€”statefile-suffix
Add a suffix for the statefile name (Default : ’’).

 â€”statefile-concat-cwd
Concat current working directory with option ’—statefile-dir’.
Useful on Windows when plugin is compiled.

 â€”statefile-storable
Use Perl Module ’Storable’ (instead Data::Dumper) to store
datas.

Mode :
Check system CPUs (UCD-SNMP-MIB) (User, Nice, System, Idle, Wait,
Kernel, Interrupt, SoftIRQ, Steal, Guest, GuestNice) An average of all
CPUs.

 â€”warning-*
Threshold warning in percent. Can be : ’user’, ’nice’, ’system’,
’idle’, ’wait’, ’kernel’, ’interrupt’, ’softirq’, ’steal’,
’guest’, ’guestnice’.

 â€”critical-*
Threshold critical in percent. Can be : ’user’, ’nice’, ’system’,
’idle’, ’wait’, ’kernel’, ’interrupt’, ’softirq’, ’steal’,
’guest’, ’guestnice’.


snmp:disk-usage

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Retention Options :
—memcached
Memcached server to use (only one server).

 â€”redis-server
Redis server to use (only one server).

 â€”redis-attribute
Set Redis Options (—redis-attribute="cnx_timeout=5").

 â€”memexpiration
Time to keep data in seconds (Default : 86400).

 â€”statefile-dir
Directory for statefile (Default :
’/var/lib/centreon/centplugins’).

 â€”statefile-suffix
Add a suffix for the statefile name (Default : ’’).

 â€”statefile-concat-cwd
Concat current working directory with option ’—statefile-dir’.
Useful on Windows when plugin is compiled.

 â€”statefile-storable
Use Perl Module ’Storable’ (instead Data::Dumper) to store
datas.

Mode :
Check usage on partitions (UCD-SNMP-MIB). Need to enable
"includeAllDisks 10%" on snmpd.conf.

 â€”warning
Threshold warning.

 â€”critical
Threshold critical.

 â€”units Units of thresholds (Default : ’%’) (’%’, ’B’).

 â€”free Thresholds are on free space left.

 â€”diskpath
Set the disk path (number expected) ex : 1, 2,... (empty means
’check all disks path’).

 â€”name Allows to use disk path name with option —diskpath instead of
disk path oid index.

 â€”regexp
Allows to use regexp to filter diskpath (with option —name).

 â€”regexp-isensitive
Allows to use regexp non case-sensitive (with —regexp).

 â€”reload-cache-time
Time in minutes before reloading cache file (default : 180).

 â€”display-transform-src
Regexp src to transform display value. (security risk !!!)

 â€”display-transform-dst
Regexp dst to transform display value. (security risk !!!)

 â€”show-cache
Display cache storage datas.

 â€”space-reservation
Some filesystem has space reserved (like ext4 for root). The
value is in percent of total (Default : none).


snmp:diskio

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Retention Options :
—memcached
Memcached server to use (only one server).

 â€”redis-server
Redis server to use (only one server).

 â€”redis-attribute
Set Redis Options (—redis-attribute="cnx_timeout=5").

 â€”memexpiration
Time to keep data in seconds (Default : 86400).

 â€”statefile-dir
Directory for statefile (Default :
’/var/lib/centreon/centplugins’).

 â€”statefile-suffix
Add a suffix for the statefile name (Default : ’’).

 â€”statefile-concat-cwd
Concat current working directory with option ’—statefile-dir’.
Useful on Windows when plugin is compiled.

 â€”statefile-storable
Use Perl Module ’Storable’ (instead Data::Dumper) to store
datas.

Mode :
Check read/write I/O disks (bytes per secondes, IOPs).

 â€”warning-*
Threshold warning. Can be : ’read’, ’write’, ’read-iops’,
’write-iops’, ’total-read’, ’total-write’, ’total-read-iops’,
’total-write-iops’, ’sum-read-write’, ’sum-read-write-iops’.

 â€”critical-*
Threshold critical. Can be : ’read’, ’write’, ’read-iops’,
’write-iops’, ’total-read’, ’total-write’, ’total-read-iops’,
’total-write-iops’, ’sum-read-write’, ’sum-read-write-iops’.

 â€”device
Set the device (number expected) ex : 1, 2,... (empty means
’check all devices’).

 â€”name Allows to use device name with option —device instead of devoce
oid index.

 â€”regexp
Allows to use regexp to filter devices (with option —name).

 â€”regexp-isensitive
Allows to use regexp non case-sensitive (with —regexp).


snmp:inodes

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
Check Inodes space usage on partitions. Need to enable "includeAllDisks
10%" on snmpd.conf.

 â€”warning-usage
Threshold warning in percent.

 â€”critical-usage
Threshold critical in percent.

 â€”diskpath
Set the disk path (number expected) ex : 1, 2,... (empty means
’check all disks path’).

 â€”name Allows to use disk path name with option —diskpath instead of
disk path oid index.

 â€”regexp
Allows to use regexp to filter diskpath (with option —name).

 â€”regexp-isensitive
Allows to use regexp non case-sensitive (with —regexp).

 â€”display-transform-src
Regexp src to transform display value. (security risk !!!)

 â€”display-transform-dst
Regexp dst to transform display value. (security risk !!!)

 â€”filter-device
Filter device name (Can be a regexp).


snmp:interfaces

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Retention Options :
—memcached
Memcached server to use (only one server).

 â€”redis-server
Redis server to use (only one server).

 â€”redis-attribute
Set Redis Options (—redis-attribute="cnx_timeout=5").

 â€”memexpiration
Time to keep data in seconds (Default : 86400).

 â€”statefile-dir
Directory for statefile (Default :
’/var/lib/centreon/centplugins’).

 â€”statefile-suffix
Add a suffix for the statefile name (Default : ’’).

 â€”statefile-concat-cwd
Concat current working directory with option ’—statefile-dir’.
Useful on Windows when plugin is compiled.

 â€”statefile-storable
Use Perl Module ’Storable’ (instead Data::Dumper) to store
datas.

Mode :
Check interfaces.

 â€”add-global
Check global port statistics (By default if no —add-* option is
set).

 â€”add-status
Check interface status.

 â€”add-traffic
Check interface traffic.

 â€”add-errors
Check interface errors.

 â€”add-cast
Check interface cast.

 â€”warning-status
Set warning threshold for status. Can used special variables
like : %admstatus, %opstatus, %display

 â€”critical-status
Set critical threshold for status (Default : ’%admstatus eq
"up" and %opstatus ne "up"’). Can used special variables like :
%admstatus, %opstatus, %display

 â€”warning-*
Threshold warning. 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’
(%).

 â€”critical-*
Threshold critical. 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’
(%).

 â€”units-traffic
Units of thresholds for the traffic (Default : ’%’) (’%’, ’b/s’).

 â€”units-errors
Units of thresholds for errors/discards (Default : ’%’) (’%’,
’absolute’).

 â€”nagvis-perfdata
Display traffic perfdata to be compatible with nagvis widget.

 â€”interface
Set the interface (number expected) ex : 1,2,... (empty means
’check all interface’).

 â€”name Allows to use interface name with option —interface instead of
interface oid index (Can be a regexp)

 â€”speed Set interface speed for incoming/outgoing traffic (in Mb).

 â€”speed-in
Set interface speed for incoming traffic (in Mb).

 â€”speed-out
Set interface speed for outgoing traffic (in Mb).

 â€”no-skipped-counters
Don’t skip counters when no change.

 â€”force-counters32
Force to use 32 bits counters (even in snmp v2c and v3). Should
be used when 64 bits counters are buggy.

 â€”reload-cache-time
Time in minutes before reloading cache file (default : 180).

 â€”oid-filter
Choose OID used to filter interface (default : ifName) (values :
ifDesc, ifAlias, ifName).

 â€”oid-display
Choose OID used to display interface (default : ifName) (values :
ifDesc, ifAlias, ifName).

 â€”oid-extra-display
Add an OID to display.

 â€”display-transform-src
Regexp src to transform display value.

 â€”display-transform-dst
Regexp dst to transform display value.

 â€”show-cache
Display cache interface datas.


snmp:list-diskspath

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
List disk path (UCD-SNMP-MIB). Need to enable "includeAllDisks 10%" on
snmpd.conf.

 â€”diskpath
Set the disk path (number expected) ex : 1, 2,... (empty means
’check all disks path’).

 â€”name Allows to use disk path name with option —diskpath instead of
disk path oid index.

 â€”regexp
Allows to use regexp to filter diskpath (with option —name).

 â€”regexp-isensitive
Allows to use regexp non case-sensitive (with —regexp).

 â€”display-transform-src
Regexp src to transform display value. (security risk !!!)

 â€”display-transform-dst
Regexp dst to transform display value. (security risk !!!)

 â€”skip-total-size-zero
Filter partitions with total size equals 0.


snmp:list-interfaces

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
—interface
Set the interface (number expected) ex : 1,2,... (empty means
’check all interface’).

 â€”name Allows to use interface name with option —interface instead of
interface oid index (Can be a regexp)

 â€”speed Set interface speed (in Mb).

 â€”skip-speed0
Don’t display interface with speed 0.

 â€”filter-status
Display interfaces matching the filter (example : ’up’).

 â€”use-adminstatus
Display interfaces with AdminStatus ’up’.

 â€”oid-filter
Choose OID used to filter interface (default : ifName) (values :
ifDesc, ifAlias, ifName).

 â€”oid-display
Choose OID used to display interface (default : ifName) (values :
ifDesc, ifAlias, ifName).

 â€”display-transform-src
Regexp src to transform display value. (security risk !!!)

 â€”display-transform-dst
Regexp dst to transform display value. (security risk !!!)

 â€”add-extra-oid
Display an OID. Example :
—add-extra-oid=’alias,.1.3.6.1.2.1.31.1.1.1.18’ or
—add-extra-oid=’vlan,.1.3.6.1.2.1.31.19,%instance\..*’


snmp:list-storages

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
—storage
Set the storage (number expected) ex : 1, 2,... (empty means
’check all storage’).

 â€”name Allows to use storage name with option —storage instead of
storage oid index.

 â€”regexp
Allows to use regexp to filter storage (with option —name).

 â€”regexp-isensitive
Allows to use regexp non case-sensitive (with —regexp).

 â€”oid-filter
Choose OID used to filter storage (default : hrStorageDescr)
(values : hrStorageDescr, hrFSMountPoint).

 â€”oid-display
Choose OID used to display storage (default : hrStorageDescr)
(values : hrStorageDescr, hrFSMountPoint).

 â€”display-transform-src
Regexp src to transform display value. (security risk !!!)

 â€”display-transform-dst
Regexp dst to transform display value. (security risk !!!)

 â€”filter-storage-type
Filter storage types with a regexp (Default :
’^(hrStorageFixedDisk|hrStorageNetworkDisk|hrFSBerkeleyFFS)$’).


snmp:load

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
Check system load-average.

 â€”warning
Threshold warning (1min,5min,15min).

 â€”critical
Threshold critical (1min,5min,15min).

 â€”average
Load average for the number of CPUs.


snmp:memory

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
Check physical memory (UCD-SNMP-MIB).

 â€”warning
Threshold warning in percent.

 â€”critical
Threshold critical in percent.

 â€”swap Check swap also.

 â€”warning-swap
Threshold warning in percent.

 â€”critical-swap
Threshold critical in percent.

 â€”no-swap
Threshold if no active swap (default : ’critical’).


snmp:processcount

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Retention Options :
—memcached
Memcached server to use (only one server).

 â€”redis-server
Redis server to use (only one server).

 â€”redis-attribute
Set Redis Options (—redis-attribute="cnx_timeout=5").

 â€”memexpiration
Time to keep data in seconds (Default : 86400).

 â€”statefile-dir
Directory for statefile (Default :
’/var/lib/centreon/centplugins’).

 â€”statefile-suffix
Add a suffix for the statefile name (Default : ’’).

 â€”statefile-concat-cwd
Concat current working directory with option ’—statefile-dir’.
Useful on Windows when plugin is compiled.

 â€”statefile-storable
Use Perl Module ’Storable’ (instead Data::Dumper) to store
datas.

Mode :
Check system number of processes. Can also check memory usage and cpu
usage.

 â€”warning
Threshold warning (process count).

 â€”critical
Threshold critical (process count).

 â€”warning-mem-total
Threshold warning in Bytes of total memory usage processes.

 â€”critical-mem-total
Threshold warning in Bytes of total memory usage processes.

 â€”warning-mem-avg
Threshold warning in Bytes of average memory usage processes.

 â€”critical-mem-avg
Threshold warning in Bytes of average memory usage processes.

 â€”warning-cpu-total
Threshold warning in percent of cpu usage for all processes
(sum). CPU usage is in % of one cpu, so maximum can be 100% *
number of CPU and a process can have a value greater than 100%.

 â€”critical-cpu-total
Threshold critical in percent of cpu usage for all processes
(sum). CPU usage is in % of one cpu, so maximum can be 100% *
number of CPU and a process can have a value greater than 100%.

 â€”process-name
Check process name.

 â€”regexp-name
Allows to use regexp to filter process name (with option
—process-name).

 â€”process-path
Check process path.

 â€”regexp-path
Allows to use regexp to filter process path (with option
—process-path).

 â€”process-args
Check process args.

 â€”regexp-args
Allows to use regexp to filter process args (with option
—process-args).

 â€”process-status
Check process status (Default : ’running|runnable’). Can be a
regexp.

 â€”memory
Check memory.

 â€”cpu Check cpu usage. Should be used with fix processes. if processes
pid changes too much, the plugin can compute values.

 â€”top Enable top memory usage display.

 â€”top-num
Number of processes in the top (Default : 5).

 â€”top-size
Minimum memory usage to be in the top (Default : 52428800 -> 50
MB).


snmp:storage

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Retention Options :
—memcached
Memcached server to use (only one server).

 â€”redis-server
Redis server to use (only one server).

 â€”redis-attribute
Set Redis Options (—redis-attribute="cnx_timeout=5").

 â€”memexpiration
Time to keep data in seconds (Default : 86400).

 â€”statefile-dir
Directory for statefile (Default :
’/var/lib/centreon/centplugins’).

 â€”statefile-suffix
Add a suffix for the statefile name (Default : ’’).

 â€”statefile-concat-cwd
Concat current working directory with option ’—statefile-dir’.
Useful on Windows when plugin is compiled.

 â€”statefile-storable
Use Perl Module ’Storable’ (instead Data::Dumper) to store
datas.

Mode :
—warning-usage
Threshold warning.

 â€”critical-usage
Threshold critical.

 â€”units Units of thresholds (Default : ’%’) (’%’, ’B’).

 â€”free Thresholds are on free space left.

 â€”storage
Set the storage (number expected) ex : 1, 2,... (empty means
’check all storage’).

 â€”name Allows to use storage name with option —storage instead of
storage oid index.

 â€”regexp
Allows to use regexp to filter storage (with option —name).

 â€”regexp-isensitive
Allows to use regexp non case-sensitive (with —regexp).

 â€”reload-cache-time
Time in minutes before reloading cache file (default : 180).

 â€”oid-filter
Choose OID used to filter storage (default : hrStorageDescr)
(values : hrStorageDescr, hrFSMountPoint).

 â€”oid-display
Choose OID used to display storage (default : hrStorageDescr)
(values : hrStorageDescr, hrFSMountPoint).

 â€”display-transform-src
Regexp src to transform display value. (security risk !!!)

 â€”display-transform-dst
Regexp dst to transform display value. (security risk !!!)

 â€”show-cache
Display cache storage datas.

 â€”space-reservation
Some filesystem has space reserved (like ext4 for root). The
value is in percent of total (Default : none) (results like ’df’
command).

 â€”filter-storage-type
Filter storage types with a regexp (Default :
’^(hrStorageFixedDisk|hrStorageNetworkDisk|hrFSBerkeleyFFS)$’).


snmp:swap

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
Check swap memory (UCD-SNMP-MIB).

 â€”warning
Threshold warning in percent.

 â€”critical
Threshold critical in percent.

 â€”no-swap
Threshold if no active swap (default : ’critical’).


snmp:tcpcon

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
Check tcp connections.

 â€”warning
Threshold warning for total connections.

 â€”critical
Threshold critical for total connections.

 â€”service
Check tcp connections following rules :
tag,[type],[state],[port-src],[port-dst],[filter-ip-src],[filter
-ip-dst],[threshold-warning],[threshold-critical]

 Example to test SSH connections on the server :
—service="ssh,,,22,,,,10,20"

 <tag> Name to identify service (must be unique and
couldn’t be ’total’).

 <type> regexp - can use ’ipv4’, ’ipv6’. Empty means
all.

 <state> regexp - can use ’finWait1’, ’established’,...
Empty means all (minus listen).

 <filter-ip-*> regexp - can use to exclude or include some IPs.

 <threshold-*> nagios-perfdata - number of connections.

 â€”application
Check tcp connections of mutiple services :
tag,[services],[threshold-warning],[threshold-critical]

 Example : —application="web,http|https,100,200"

 <tag> Name to identify application (must be unique).

 <services> List of services (used the tag name. Separated
by ’|’).

 <threshold-*> nagios-perfdata - number of connections.


snmp:time

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Mode :
Check time offset of server with ntp server. Use local time if ntp-host
option is not set. SNMP gives a date with second precision (no
milliseconds). Time precision is not very accurate. Use threshold with
(+-) 2 seconds offset (minimum).

 â€”warning
Threshold warning.

 â€”critical
Threshold critical.

 â€”ntp-hostname
Set the ntp hostname (if not set, localtime is used).

 â€”ntp-port
Set the ntp port (Default : 123).

 â€”timezone
Set the timezone of distant server. For Windows, you need to set
it. Can use format : ’Europe/London’ or ’+0100’.


snmp:uptime

Plugin Description :
Check Linux operating systems in SNMP.

Output Options :
—verbose
Display long output.

 â€”debug Display also debug messages.

 â€”filter-perfdata
Filter perfdata that match the regexp.

 â€”explode-perfdata-max
Put max perfdata (if it exist) in a specific perfdata (without
values : same with ’_max’ suffix) (Multiple options)

 â€”change-perfdata
Change perfdata name (Multiple option) Syntax :
regexp_matching,regexp_substitute

 â€”range-perfdata
Change perfdata range thresholds display : 1 = start value equals
to ’0’ is removed, 2 = threshold range is not display.

 â€”filter-uom
Filter UOM that match the regexp.

 â€”opt-exit
Exit code for an option error, usage (default : unknown).

 â€”output-xml
Display output in XML Format.

 â€”output-json
Display output in JSON Format.

 â€”output-file
Write output in file (can be used with json and xml options)

 â€”disco-format
Display discovery arguments (if the mode manages it).

 â€”disco-show
Display discovery values (if the mode manages it).

Snmp Options :
—hostname
Hostname to query (required).

 â€”snmp-community
Read community (defaults to public).

 â€”snmp-version
Version : 1 for SNMP v1 (default), 2 for SNMP v2c, 3 for SNMP v3.

 â€”snmp-port
Port (default : 161).

 â€”snmp-timeout
Timeout in secondes (default : 1) before retries.

 â€”snmp-retries
Set the number of retries (default : 5) before failure.

 â€”maxrepetitions
Max repetitions value (default : 50) (only for SNMP v2 and v3).

 â€”subsetleef
How many oid values per SNMP request (default : 50) (for get_leef
method. Be cautious whe you set it. Prefer to let the default
value).

 â€”snmp-force-getnext
Use snmp getnext function (even in snmp v2c and v3).

 â€”snmp-username
Security name (only for SNMP v3).

 â€”authpassphrase
Authentication protocol pass phrase.

 â€”authprotocol
Authentication protocol (MD5|SHA)

 â€”privpassphrase
Privacy protocol pass phrase

 â€”privprotocol
Privacy protocol (DES|AES)

 â€”contextname
Context name

 â€”contextengineid
Context engine ID

 â€”securityengineid
Security engine ID

 â€”snmp-errors-exit
Exit code for SNMP Errors (default : unknown)

Retention Options :
—memcached
Memcached server to use (only one server).

 â€”redis-server
Redis server to use (only one server).

 â€”redis-attribute
Set Redis Options (—redis-attribute="cnx_timeout=5").

 â€”memexpiration
Time to keep data in seconds (Default : 86400).

 â€”statefile-dir
Directory for statefile (Default :
’/var/lib/centreon/centplugins’).

 â€”statefile-suffix
Add a suffix for the statefile name (Default : ’’).

 â€”statefile-concat-cwd
Concat current working directory with option ’—statefile-dir’.
Useful on Windows when plugin is compiled.

 â€”statefile-storable
Use Perl Module ’Storable’ (instead Data::Dumper) to store
datas.

Mode :
Check system uptime.

 â€”warning
Threshold warning in seconds.

 â€”critical
Threshold critical in seconds.

 â€”force-oid
Can choose your oid (numeric format only).

 â€”check-overload
Uptime counter limit is 4294967296 and overflow. With that
option, we manage the counter going back. But there is a few
chance we can miss a reboot.
 

 


Statistiques

Dernière mise à jour

mardi 9 novembre 2021

Publication

275 Articles
Aucun album photo
Aucune brève
6 Sites Web
2 Auteurs

Visites

179 aujourd’hui
148 hier
856059 depuis le début
4 visiteurs actuellement connectés