summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/input/doc/extra-opts.md4
-rw-r--r--web/input/doc/faq/private-c-api.md2
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
10in the future. Perl plugins using the [Nagios::Plugin][module] module have 10in the future. Perl plugins using the [Nagios::Plugin][module] module have
11this support since version 0.16. 11this support since version 0.16.
12 12
13You can easily know if a plugin supports *extra-opts* by checking the `--help` 13You can easily know if a plugin supports *Extra-Opts* by checking the `--help`
14output for the `--extra-opts` option. Once compiled in, the `--extra-opts` 14output for the `--extra-opts` option. Once compiled in, the `--extra-opts`
15plugin option allows reading extra options from a config file. The syntax for 15plugin option allows reading extra options from a config file. The syntax for
16the command is: 16the 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}`.
64The `keyname` will have any non alphanumerics replaced with "`_`". 64The `keyname` will have any non alphanumerics replaced with "`_`".
65 65
66If `keyname` is `NULL`, will generate an SHA1 `keyname` based on the `argv` of 66If `keyname` is `NULL`, will generate an SHA1 `keyname` based on the `argv` of
67the plugin (using the [extra-opts][extra-opts] parsed version, if applicable). 67the 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
70avoid a second invocation of the plugin to use the state information from a 70avoid a second invocation of the plugin to use the state information from a