Info |
---|
This article details how to run active checks manually by hand. |
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.23.0P1 |
---|
|
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | Table of Contents |
---|
|
|
...
There are several ways to run an active check manually. The following are a few examples.
Using cmk -N
The first way is with cmk -N:
...
cmk -N will show you the Nagios config. Active Checks in Checkmk are based on Nagios.
Using Livestatus
A second way to access the command is via livestatus:
...
Code Block |
---|
|
OMD[mysite]:~/lib/nagios/plugins$ ./check_http '-u' 'https://www.google.com/' '--ssl' '--onredirect=follow' '-j' 'CONNECT' '--sni' '-p' 'proxy_port' 'myproxyip' 'www.google.com' |
For a detailed log, you can use --verbose at the end of the command:
Code Block |
---|
|
OMD[mysite]:~/lib/nagios/plugins$ ./check_http '-u' 'https://www.google.com/' '--ssl' '--onredirect=follow' '-j' 'CONNECT' '--sni' '-p' 'proxy_port' 'myproxyip' 'www.google.com' --verbose |
For more information, you can use --help command flag.
Code Block |
---|
|
OMD[mysite]:~/lib/nagios/plugins$ ./check_http --help |
Using Service Check Commands
For debugging reasons, it could be helpful to run the check manually. Therefore, you need to open the service site of the E-Mail service and search for 'Service check command'.

Now you can use the command for executing the check manually

...
Code Block |
---|
|
~/lib/nagios/plugins/check_mail_loop -h |
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | CON |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "howto" , "kb-how-to-article" , "active_check" ) and type = "page" and space = "KB" |
---|
labels | activate_changes |
---|
|
...