update documentation
This commit is contained in:
parent
5e9529d66b
commit
c845968e75
|
@ -134,13 +134,13 @@ A description of the plugin is needed to generate the documentation :
|
|||
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
|
||||
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
|
||||
|
||||
|
@ -254,7 +254,7 @@ This is an example to check a snmp value :
|
|||
$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:
|
||||
|
||||
* get_leef : get a snmp value from an OID
|
||||
|
|
Loading…
Reference in New Issue