update documentation

This commit is contained in:
Kevin Duret 2015-01-02 14:17:33 +01:00
parent 5e9529d66b
commit c845968e75

View File

@ -134,13 +134,13 @@ A description of the plugin is needed to generate the documentation :
Mode creation Mode creation
------------- -------------
Once **plugin.pm** is created and modes are declared in it, create modes in the **mode directory** : Once **plugin.pm** is created and modes are declared in it, create modes in the **mode** directory:
:: ::
cd mode cd mode
touch mode1.pm touch mode1.pm
Then, edit mode1.pm to add **license terms** by copying it from an other plugin. Don't forget to put your name at the end of it : Then, edit mode1.pm to add **license terms** by copying it from an other mode. Don't forget to put your name at the end of it:
.. code-block:: perl .. code-block:: perl
@ -254,7 +254,7 @@ This is an example to check a snmp value :
$self->{output}->exit(); $self->{output}->exit();
} }
In this example, we check a snmp OID that we compare to wargning and critical thresholds. In this example, we check a snmp OID that we compare to warning and critical thresholds.
There are the methods which we use: There are the methods which we use:
* get_leef : get a snmp value from an OID * get_leef : get a snmp value from an OID