List options : os::linux::local::plugin

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

 

 

local:cmd-return

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check command returns.

 â€”manage-returns
 Set action according command exit code. Example : 0,OK,File xxx
 exist#1,CRITICAL,File xxx not exist#,UNKNOWN,Command problem

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to test (Default : none). You can use ’sh’ to use ’&&’ or
 â€™||’.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : none).


local:connections

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check tcp/udp connections (udp connections are not in total. Use option
 â€™â€”service’ to check it). ’ipx’, ’x25’ connections are not checked (need
 output to do it. If you have, you can post it in forge :)

 â€”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’, ’udp’, ’udp6’.
 Empty means all.

 <state> regexp - can use ’finWait1’, ’established’,...
 Empty means all (minus listen). For udp
 connections, there are ’established’ and
 â€™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.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’netstat’). Can be changed
 if you have output in a file. If —con-mode=’ss’, command ’ss’
 will be used.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-antu 2>&1’). If —con-mode=’ss’,
 argument default will ’-a -A tcp,udp -n’.

 â€”con-mode
 Default mode for parsing and command (Default : ’netstat’).


local:cpu

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

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 (need ’/proc/stat’ file).

 â€”warning
 Threshold warning in percent.

 â€”critical
 Threshold critical in percent.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’cat’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’/proc/stat 2>&1’).


local:cpu-detailed

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

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 average usage for each CPUs (need ’/proc/stat’ file) (User, Nice,
 System, Idle, Wait, Interrupt, SoftIRQ, Steal, Guest, GuestNice)

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

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

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’cat’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’/proc/stat 2>&1’).


local:directlvm-usage

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check directl lvm usage.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’lvs’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’—separator="," 2>&1’).

 â€”warning-*
 Threshold warning. Can be : ’data-usage’ (%), ’meta-usage’ (%).

 â€”critical-*
 Threshold critical. Can be : ’data-usage’ (%), ’meta-usage’ (%).

 â€”filter-vg
 Filter virtual group (regexp can be used).

 â€”filter-lv
 Filter logical volume (regexp can be used).


local:diskio

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

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 some disk io counters : read and writes bytes per seconds,
 milliseconds time spent reading and writing, %util (like iostat)

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’tail’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-n +1 /proc/stat /proc/diskstats
 2>&1’).

 â€”warning-bytes-read
 Threshold warning in bytes per seconds read.

 â€”critical-bytes-read
 Threshold critical in bytes per seconds read.

 â€”warning-bytes-write
 Threshold warning in bytes per seconds write.

 â€”critical-bytes-write
 Threshold critical in bytes per seconds write.

 â€”warning-utils
 Threshold warning in %utils.

 â€”critical-utils
 Threshold critical in %utils.

 â€”name Set the partition name (empty means ’check all partitions’)

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

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

 â€”bytes-per-sector
 Bytes per sector (Default : 512)

 â€”interrupt-frequency
 Linux Kernel Timer Interrupt Frequency (Default : 1000)

 â€”skip Skip partitions with 0 sectors read/write.


local:files-date

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check time (modified, creation,...) of files/directories.

 â€”files Files/Directories to check. (Shell expansion is ok)

 â€”warning
 Threshold warning in seconds for each files/directories (diff
 time).

 â€”critical
 Threshold critical in seconds for each files/directories (diff
 time).

 â€”separate-dirs
 Do not include size of subdirectories.

 â€”max-depth
 Don’t check fewer levels. (can be use —separate-dirs)

 â€”time Check another time than modified time.

 â€”exclude-du
 Exclude files/directories with ’du’ command. Values from exclude
 files/directories are not counted in parent directories. Shell
 pattern can be used.

 â€”filter-plugin
 Filter files/directories in the plugin. Values from exclude
 files/directories are counted in parent directories !!! Perl
 Regexp can be used.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command-path
 Command path (Default : none).


local:files-size

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check size of files/directories.

 â€”files Files/Directories to check. (Shell expansion is ok)

 â€”warning-one
 Threshold warning in bytes for each files/directories.

 â€”critical-one
 Threshold critical in bytes for each files/directories.

 â€”warning-total
 Threshold warning in bytes for all files/directories.

 â€”critical-total
 Threshold critical in bytes for all files/directories.

 â€”separate-dirs
 Do not include size of subdirectories.

 â€”max-depth
 Don’t check fewer levels. (can be use —separate-dirs)

 â€”all-files
 Add files when you check directories.

 â€”exclude-du
 Exclude files/directories with ’du’ command. Values from exclude
 files/directories are not counted in parent directories. Shell
 pattern can be used.

 â€”filter-plugin
 Filter files/directories in the plugin. Values from exclude
 files/directories are counted in parent directories !!! Perl
 Regexp can be used.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command-path
 Command path (Default : none).


local:inodes

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check Inodes space usage on partitions.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’df’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-P -i -T 2>&1’).

 â€”warning-usage
 Threshold warning in percent.

 â€”critical-usage
 Threshold critical in percent.

 â€”name Set the storage mount point (empty means ’check all storages’)

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

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

 â€”filter-type
 Filter filesystem type (regexp can be used).

 â€”filter-fs
 Filter filesystem (regexp can be used).


local:list-interfaces

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 List storages.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’ifconfig’). Can be changed
 if you have output in a file.

 â€”command-path
 Command path (Default : ’/sbin’).

 â€”command-options
 Command options (Default : ’-a 2>&1’).

 â€”filter-name
 Filter interface name (regexp can be used).

 â€”filter-state
 Filter state (regexp can be used). Can be : ’R’ (running), ’U’
 (up).

 â€”no-loopback
 Don’t display loopback interfaces.

 â€”skip-novalues
 Filter interface without in/out byte values.


local:list-partitions

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 List partitions.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’cat’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’/proc/partitions 2>&1’).

 â€”filter-name
 Filter partition name (regexp can be used).


local:list-storages

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 List storages.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’df’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-P -k -T 2>&1’).

 â€”filter-type
 Filter filesystem type (regexp can be used).

 â€”filter-fs
 Filter filesystem (regexp can be used).

 â€”filter-mount
 Filter mount point (regexp can be used).


local:load

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check system load-average. (need ’/proc/loadavg’ file).

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

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

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

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’tail’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-n +1 /proc/loadavg /proc/stat
 2>&1’).


local:memory

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check physical memory (need ’/proc/meminfo’ file).

 â€”warning
 Threshold warning in percent.

 â€”critical
 Threshold critical in percent.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’cat’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’/proc/meminfo 2>&1’).


local:packet-errors

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

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 packets errors and discards on interfaces.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’ifconfig’). Can be changed
 if you have output in a file.

 â€”command-path
 Command path (Default : ’/sbin’).

 â€”command-options
 Command options (Default : ’-a 2>&1’).

 â€”warning-*
 Threshold warning in percent of total packets. Can be : in-error,
 out-error, in-discard, out-discard

 â€”critical-*
 Threshold critical in percent of total packets. Can be :
 in-error, out-error, in-discard, out-discard

 â€”name Set the interface name (empty means ’check all interfaces’)

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

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

 â€”filter-state
 Filter filesystem type (regexp can be used).

 â€”skip Skip errors on interface status (not up and running).

 â€”no-loopback
 Don’t display loopback interfaces.


local:paging

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

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 paging informations.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’cat’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’/proc/vmstat 2>&1’).

 â€”warning-*
 Threshold warning. Can be : ’pgpgin’, ’pgpgout’, ’pswpin’,
 â€™pswpout’, ’pgfault’, ’pgmajfault’.

 â€”critical-*
 Threshold critical. Can be : ’pgpgin’, ’pgpgout’, ’pswpin’,
 â€™pswpout’, ’pgfault’, ’pgmajfault’.


local:process

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check linux processes. Can filter on commands, arguments and states.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’ps’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-e -o etime,pid,ppid,state,comm,args
 -w 2>&1’).

 â€”warning
 Threshold warning (in absolute of processes count. After
 filters).

 â€”critical
 Threshold critical (in absolute of processes count. After
 filters).

 â€”warning-time
 Threshold warning (in seconds). On each processes filtered.

 â€”critical-time
 Threshold critical (in seconds). On each processes filtered.

 â€”filter-command
 Filter process commands (regexp can be used).

 â€”filter-arg
 Filter process arguments (regexp can be used).

 â€”filter-ppid
 Filter process ppid (regexp can be used).

 â€”filter-state
 Filter process states (regexp can be used). You can use :
 â€™zombie’, ’dead’, ’paging’, ’stopped’, ’InterrupibleSleep’,
 â€™running’, ’UninterrupibleSleep’.


local:quota

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check quota usage on partitions.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’repquota’). Can be changed
 if you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-a -i 2>&1’).

 â€”warning-*
 Threshold warning. Can be : ’inode-usage’, ’data-usage’.

 â€”critical-*
 Threshold critical. Can be : ’inode-usage’, ’data-usage’.

 â€”filter-user
 Filter username (regexp can be used).

 â€”filter-fs
 Filter filesystem (regexp can be used).


local:storage

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check storage usages.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’df’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-P -k -T 2>&1’).

 â€”warning-usage
 Threshold warning.

 â€”critical-usage
 Threshold critical.

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

 â€”free Thresholds are on free space left.

 â€”name Set the storage mount point (empty means ’check all storages’)

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

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

 â€”filter-type
 Filter filesystem type (regexp can be used).

 â€”filter-fs
 Filter filesystem (regexp can be used).

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


local:swap

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check swap memory (need ’/proc/meminfo’ file).

 â€”warning
 Threshold warning in percent.

 â€”critical
 Threshold critical in percent.

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

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’cat’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’/proc/meminfo 2>&1’).


local:systemd-sc-status

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check systemd services status.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’systemctl’). Can be
 changed if you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’-a —no-pager —no-legend’).

 â€”filter-name
 Filter service name (can be a regexp).

 â€”warning-*
 Threshold warning. Can be : ’total-running’, ’total-dead’,
 â€™total-exited’, ’total-failed’.

 â€”critical-*
 Threshold critical. Can be : ’total-running’, ’total-dead’,
 â€™total-exited’, ’total-failed’.

 â€”warning-status
 Set warning threshold for status. Can used special variables
 like : %display, %active, %sub, %load

 â€”critical-status
 Set critical threshold for status (Default : ’%active
 /failed/i’). Can used special variables like : %display,
 %active, %sub, %load


local:traffic

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

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 Traffic

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’ifconfig’). Can be changed
 if you have output in a file.

 â€”command-path
 Command path (Default : ’/sbin’).

 â€”command-options
 Command options (Default : ’-a 2>&1’).

 â€”warning-in
 Threshold warning in percent for ’in’ traffic.

 â€”critical-in
 Threshold critical in percent for ’in’ traffic.

 â€”warning-out
 Threshold warning in percent for ’out’ traffic.

 â€”critical-out
 Threshold critical in percent for ’out’ traffic.

 â€”units Units of thresholds (Default : ’B’) (’%’, ’B’). Percent can be
 used only if —speed is set.

 â€”name Set the interface name (empty means ’check all interfaces’)

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

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

 â€”filter-state
 Filter interfaces type (regexp can be used).

 â€”skip Skip errors on interface status (not up and running).

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

 â€”no-loopback
 Don’t display loopback interfaces.


local:uptime

Plugin Description :
 Check Linux through local commands (the plugin can use SSH).

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).

Mode :
 Check system uptime. (need ’/proc/uptime’ file).

 â€”warning
 Threshold warning in seconds.

 â€”critical
 Threshold critical in seconds.

 â€”seconds
 Display uptime in seconds.

 â€”remote
 Execute command remotely in ’ssh’.

 â€”hostname
 Hostname to query (need —remote).

 â€”ssh-option
 Specify multiple options like the user (example :
 â€”ssh-option=’-l=centreon-engine’ —ssh-option=’-p=52’).

 â€”ssh-path
 Specify ssh command path (default : none)

 â€”ssh-command
 Specify ssh command (default : ’ssh’). Useful to use ’plink’.

 â€”timeout
 Timeout in seconds for the command (Default : 30).

 â€”sudo Use ’sudo’ to execute the command.

 â€”command
 Command to get information (Default : ’cat’). Can be changed if
 you have output in a file.

 â€”command-path
 Command path (Default : none).

 â€”command-options
 Command options (Default : ’/proc/uptime 2>&1’).


Statistiques

Dernière mise à jour

mercredi 4 octobre 2023

Publication

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

Visites

33 aujourd’hui
213 hier
864522 depuis le début
10 visiteurs actuellement connectés