+ Fix #568
This commit is contained in:
parent
1b3bd1e11b
commit
ef2a29eee2
|
@ -42,6 +42,7 @@ sub new {
|
||||||
"username:s" => { name => 'username' },
|
"username:s" => { name => 'username' },
|
||||||
"password:s" => { name => 'password' },
|
"password:s" => { name => 'password' },
|
||||||
"proxyurl:s" => { name => 'proxyurl' },
|
"proxyurl:s" => { name => 'proxyurl' },
|
||||||
|
"header:s@" => { name => 'header' },
|
||||||
"warning:s" => { name => 'warning' },
|
"warning:s" => { name => 'warning' },
|
||||||
"critical:s" => { name => 'critical' },
|
"critical:s" => { name => 'critical' },
|
||||||
"timeout:s" => { name => 'timeout' },
|
"timeout:s" => { name => 'timeout' },
|
||||||
|
@ -143,6 +144,10 @@ Specify password for basic authentification (Mandatory if --credentials is speci
|
||||||
|
|
||||||
Threshold for HTTP timeout
|
Threshold for HTTP timeout
|
||||||
|
|
||||||
|
=item B<--header>
|
||||||
|
|
||||||
|
Set HTTP headers (Multiple option)
|
||||||
|
|
||||||
=item B<--warning>
|
=item B<--warning>
|
||||||
|
|
||||||
Warning Threshold for CpuLoad
|
Warning Threshold for CpuLoad
|
||||||
|
|
|
@ -43,6 +43,7 @@ sub new {
|
||||||
"username:s" => { name => 'username' },
|
"username:s" => { name => 'username' },
|
||||||
"password:s" => { name => 'password' },
|
"password:s" => { name => 'password' },
|
||||||
"proxyurl:s" => { name => 'proxyurl' },
|
"proxyurl:s" => { name => 'proxyurl' },
|
||||||
|
"header:s@" => { name => 'header' },
|
||||||
"warning:s" => { name => 'warning' },
|
"warning:s" => { name => 'warning' },
|
||||||
"critical:s" => { name => 'critical' },
|
"critical:s" => { name => 'critical' },
|
||||||
"warning-bytes:s" => { name => 'warning_bytes' },
|
"warning-bytes:s" => { name => 'warning_bytes' },
|
||||||
|
@ -232,6 +233,10 @@ Specify password for basic authentification (Mandatory if --credentials is speci
|
||||||
|
|
||||||
Threshold for HTTP timeout
|
Threshold for HTTP timeout
|
||||||
|
|
||||||
|
=item B<--header>
|
||||||
|
|
||||||
|
Set HTTP headers (Multiple option)
|
||||||
|
|
||||||
=item B<--warning>
|
=item B<--warning>
|
||||||
|
|
||||||
Warning Threshold for Request per seconds
|
Warning Threshold for Request per seconds
|
||||||
|
|
|
@ -43,6 +43,7 @@ sub new {
|
||||||
"username:s" => { name => 'username' },
|
"username:s" => { name => 'username' },
|
||||||
"password:s" => { name => 'password' },
|
"password:s" => { name => 'password' },
|
||||||
"proxyurl:s" => { name => 'proxyurl' },
|
"proxyurl:s" => { name => 'proxyurl' },
|
||||||
|
"header:s@" => { name => 'header' },
|
||||||
"warning:s" => { name => 'warning' },
|
"warning:s" => { name => 'warning' },
|
||||||
"critical:s" => { name => 'critical' },
|
"critical:s" => { name => 'critical' },
|
||||||
"timeout:s" => { name => 'timeout' },
|
"timeout:s" => { name => 'timeout' },
|
||||||
|
@ -139,6 +140,10 @@ Proxy URL if any
|
||||||
|
|
||||||
Threshold for HTTP timeout
|
Threshold for HTTP timeout
|
||||||
|
|
||||||
|
=item B<--header>
|
||||||
|
|
||||||
|
Set HTTP headers (Multiple option)
|
||||||
|
|
||||||
=item B<--unknown-status>
|
=item B<--unknown-status>
|
||||||
|
|
||||||
Threshold warning for http response code
|
Threshold warning for http response code
|
||||||
|
|
|
@ -204,6 +204,7 @@ sub new {
|
||||||
"username:s" => { name => 'username' },
|
"username:s" => { name => 'username' },
|
||||||
"password:s" => { name => 'password' },
|
"password:s" => { name => 'password' },
|
||||||
"proxyurl:s" => { name => 'proxyurl' },
|
"proxyurl:s" => { name => 'proxyurl' },
|
||||||
|
"header:s@" => { name => 'header' },
|
||||||
"timeout:s" => { name => 'timeout' },
|
"timeout:s" => { name => 'timeout' },
|
||||||
"units:s" => { name => 'units', default => '%' },
|
"units:s" => { name => 'units', default => '%' },
|
||||||
});
|
});
|
||||||
|
@ -356,6 +357,10 @@ Specify password for basic authentification (Mandatory if --credentials is speci
|
||||||
|
|
||||||
Threshold for HTTP timeout
|
Threshold for HTTP timeout
|
||||||
|
|
||||||
|
=item B<--header>
|
||||||
|
|
||||||
|
Set HTTP headers (Multiple option)
|
||||||
|
|
||||||
=item B<--units>
|
=item B<--units>
|
||||||
|
|
||||||
Threshold unit (Default: '%'. Can be: '%' or 'absolute')
|
Threshold unit (Default: '%'. Can be: '%' or 'absolute')
|
||||||
|
|
|
@ -42,6 +42,7 @@ sub new {
|
||||||
"username:s" => { name => 'username' },
|
"username:s" => { name => 'username' },
|
||||||
"password:s" => { name => 'password' },
|
"password:s" => { name => 'password' },
|
||||||
"proxyurl:s" => { name => 'proxyurl' },
|
"proxyurl:s" => { name => 'proxyurl' },
|
||||||
|
"header:s@" => { name => 'header' },
|
||||||
"warning:s" => { name => 'warning' },
|
"warning:s" => { name => 'warning' },
|
||||||
"critical:s" => { name => 'critical' },
|
"critical:s" => { name => 'critical' },
|
||||||
"timeout:s" => { name => 'timeout' },
|
"timeout:s" => { name => 'timeout' },
|
||||||
|
@ -147,6 +148,10 @@ Specify password for basic authentification (Mandatory if --credentials is speci
|
||||||
|
|
||||||
Threshold for HTTP timeout
|
Threshold for HTTP timeout
|
||||||
|
|
||||||
|
=item B<--header>
|
||||||
|
|
||||||
|
Set HTTP headers (Multiple option)
|
||||||
|
|
||||||
=item B<--warning>
|
=item B<--warning>
|
||||||
|
|
||||||
Warning Threshold (%) of busy workers
|
Warning Threshold (%) of busy workers
|
||||||
|
|
Loading…
Reference in New Issue