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

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

 

 

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


Navigation

Articles de la rubrique

Statistiques

Dernière mise à jour

jeudi 6 septembre 2018

Publication

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

Visites

248 aujourd’hui
375 hier
631452 depuis le début
5 visiteurs actuellement connectés