add command in help nrpe
This commit is contained in:
parent
3d10a20f58
commit
131f445938
|
@ -100,6 +100,7 @@ Trigger commands against NRPE/NSClient agent.
|
|||
=item B<--command>
|
||||
|
||||
Set command.
|
||||
In nrpe use following command to get server version: --command='_NRPE_CHECK'
|
||||
|
||||
=item B<--arg>
|
||||
|
||||
|
|
|
@ -45,14 +45,14 @@ sub new {
|
|||
|
||||
if (!defined($options{noptions})) {
|
||||
$options{options}->add_options(arguments => {
|
||||
"nrpe-version:s" => { name => 'nrpe_version', default => 2 },
|
||||
"nrpe-port:s" => { name => 'nrpe_port', default => 5666 },
|
||||
"nrpe-payload:s" => { name => 'nrpe_payload', default => 1024 },
|
||||
"nrpe-bindaddr:s" => { name => 'nrpe_bindaddr' },
|
||||
"nrpe-use-ipv4" => { name => 'nrpe_use_ipv4' },
|
||||
"nrpe-use-ipv6" => { name => 'nrpe_use_ipv6' },
|
||||
"nrpe-timeout:s" => { name => 'nrpe_timeout', default => 10 },
|
||||
"ssl-opt:s@" => { name => 'ssl_opt' },
|
||||
'nrpe-version:s' => { name => 'nrpe_version', default => 2 },
|
||||
'nrpe-port:s' => { name => 'nrpe_port', default => 5666 },
|
||||
'nrpe-payload:s' => { name => 'nrpe_payload', default => 1024 },
|
||||
'nrpe-bindaddr:s' => { name => 'nrpe_bindaddr' },
|
||||
'nrpe-use-ipv4' => { name => 'nrpe_use_ipv4' },
|
||||
'nrpe-use-ipv6' => { name => 'nrpe_use_ipv6' },
|
||||
'nrpe-timeout:s' => { name => 'nrpe_timeout', default => 10 },
|
||||
'ssl-opt:s@' => { name => 'ssl_opt' },
|
||||
});
|
||||
}
|
||||
$options{options}->add_help(package => __PACKAGE__, sections => 'NRPE CLASS OPTIONS');
|
||||
|
|
Loading…
Reference in New Issue