diff options
Diffstat (limited to 'doc/developer-guidelines.sgml')
| -rw-r--r-- | doc/developer-guidelines.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 0afa733b..8288b897 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml | |||
| @@ -23,9 +23,9 @@ | |||
| 23 | 23 | ||
| 24 | 24 | ||
| 25 | <preface id="preface"><title>Preface</title> | 25 | <preface id="preface"><title>Preface</title> |
| 26 | <para>The purpose of this guidelines is to provide a reference for | 26 | <para>The purpose of these guidelines is to provide a reference for |
| 27 | the plugin developers and encourage the standardization of the | 27 | the plugin developers and encourage the standardization of the |
| 28 | different kind of plugins: C, shell, perl, python, etc.</para> | 28 | different kinds of plugins: C, shell, perl, python, etc.</para> |
| 29 | 29 | ||
| 30 | <para>Monitoring Plugins Development Guidelines Copyright (C) 2000-2024 | 30 | <para>Monitoring Plugins Development Guidelines Copyright (C) 2000-2024 |
| 31 | (Monitoring Plugins Team)</para> | 31 | (Monitoring Plugins Team)</para> |
| @@ -68,7 +68,7 @@ | |||
| 68 | 68 | ||
| 69 | <para>You should always print something to STDOUT that tells if the | 69 | <para>You should always print something to STDOUT that tells if the |
| 70 | service is working or why it is failing. Try to keep the output short - | 70 | service is working or why it is failing. Try to keep the output short - |
| 71 | probably less that 80 characters. Remember that you ideally would like | 71 | probably less than 80 characters. Remember that you ideally would like |
| 72 | the entire output to appear in a pager message, which will get chopped | 72 | the entire output to appear in a pager message, which will get chopped |
| 73 | off after a certain length.</para> | 73 | off after a certain length.</para> |
| 74 | 74 | ||
| @@ -214,7 +214,7 @@ | |||
| 214 | back a numerical value, or metric, which is then compared to the warning and | 214 | back a numerical value, or metric, which is then compared to the warning and |
| 215 | critical thresholds. Use the get_status(double, thresholds *) function to | 215 | critical thresholds. Use the get_status(double, thresholds *) function to |
| 216 | compare the value against the thresholds.</para> | 216 | compare the value against the thresholds.</para> |
| 217 | <para>This is the generalised format for ranges:</para> | 217 | <para>This is the generalized format for ranges:</para> |
| 218 | 218 | ||
| 219 | <literallayout> | 219 | <literallayout> |
| 220 | [@]start:end | 220 | [@]start:end |
| @@ -474,7 +474,7 @@ | |||
| 474 | </listitem> | 474 | </listitem> |
| 475 | 475 | ||
| 476 | <listitem><para>If writing to a file (perhaps recording | 476 | <listitem><para>If writing to a file (perhaps recording |
| 477 | performance data) explicitly close close it. The plugin never | 477 | performance data) explicitly close it. The plugin never |
| 478 | calls <emphasis role="strong">exit</emphasis>; that is caught by | 478 | calls <emphasis role="strong">exit</emphasis>; that is caught by |
| 479 | p1.pl, so output streams are never closed.</para> | 479 | p1.pl, so output streams are never closed.</para> |
| 480 | </listitem> | 480 | </listitem> |
