diff --git a/docs/user/guide.rst b/docs/user/guide.rst index 205c3b43b..a4240304f 100644 --- a/docs/user/guide.rst +++ b/docs/user/guide.rst @@ -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