fix documentation code
This commit is contained in:
parent
df3eb6aae0
commit
b95a5750c6
|
@ -411,6 +411,7 @@ You can check the version of plugins and modes with option ``--version``:
|
|||
|
||||
You can also use the option ``--mode-version`` to execute the mode only if there is the good version.
|
||||
For example, we want to execute the mode only if the version >= 2.x:
|
||||
::
|
||||
|
||||
$ perl centreon_plugins.pl --plugin=os::linux::snmp::plugin --mode=storage --hostname=127.0.0.1 --snmp-version=2c --snmp-community=public --verbose --mode-version='2.x'
|
||||
UNKNOWN: Not good version for plugin mode. Excepted at least: 2.x. Get: 1.0
|
||||
|
|
Loading…
Reference in New Issue