diff options
Diffstat (limited to 'web/input')
-rw-r--r-- | web/input/doc/extra-opts.md | 4 | ||||
-rw-r--r-- | web/input/doc/faq/private-c-api.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/input/doc/extra-opts.md b/web/input/doc/extra-opts.md index 06fc5b7..7e68264 100644 --- a/web/input/doc/extra-opts.md +++ b/web/input/doc/extra-opts.md | |||
@@ -10,7 +10,7 @@ at compile-time for now (`--enable-extra-opts`) and will be enabled by default | |||
10 | in the future. Perl plugins using the [Nagios::Plugin][module] module have | 10 | in the future. Perl plugins using the [Nagios::Plugin][module] module have |
11 | this support since version 0.16. | 11 | this support since version 0.16. |
12 | 12 | ||
13 | You can easily know if a plugin supports *extra-opts* by checking the `--help` | 13 | You can easily know if a plugin supports *Extra-Opts* by checking the `--help` |
14 | output for the `--extra-opts` option. Once compiled in, the `--extra-opts` | 14 | output for the `--extra-opts` option. Once compiled in, the `--extra-opts` |
15 | plugin option allows reading extra options from a config file. The syntax for | 15 | plugin option allows reading extra options from a config file. The syntax for |
16 | the command is: | 16 | the command is: |
@@ -32,7 +32,7 @@ Some examples: | |||
32 | $ ./check_stuff --extra-opts=@/etc/myconfig.ini | 32 | $ ./check_stuff --extra-opts=@/etc/myconfig.ini |
33 | 33 | ||
34 | * Read `check_stuff` section of default config file and use additional | 34 | * Read `check_stuff` section of default config file and use additional |
35 | arguments along with the other specified arguments (*extra-opts* arguments | 35 | arguments along with the other specified arguments (*Extra-Opts* arguments |
36 | are always processed first no matter where `--extra-opts` appears on the | 36 | are always processed first no matter where `--extra-opts` appears on the |
37 | command line): | 37 | command line): |
38 | 38 | ||
diff --git a/web/input/doc/faq/private-c-api.md b/web/input/doc/faq/private-c-api.md index 585ca42..c814d8c 100644 --- a/web/input/doc/faq/private-c-api.md +++ b/web/input/doc/faq/private-c-api.md | |||
@@ -64,7 +64,7 @@ state file to be `.../{keyname}`. | |||
64 | The `keyname` will have any non alphanumerics replaced with "`_`". | 64 | The `keyname` will have any non alphanumerics replaced with "`_`". |
65 | 65 | ||
66 | If `keyname` is `NULL`, will generate an SHA1 `keyname` based on the `argv` of | 66 | If `keyname` is `NULL`, will generate an SHA1 `keyname` based on the `argv` of |
67 | the plugin (using the [extra-opts][extra-opts] parsed version, if applicable). | 67 | the plugin (using the [Extra-Opts][extra-opts] parsed version, if applicable). |
68 | 68 | ||
69 | *Note:* The `keyname` should be uniquely defined for a particular service, to | 69 | *Note:* The `keyname` should be uniquely defined for a particular service, to |
70 | avoid a second invocation of the plugin to use the state information from a | 70 | avoid a second invocation of the plugin to use the state information from a |