"Fake check results" should create hard state. This would allow to test the notifications
if you do this, please do it as a separate command, changing the behaviour of an existing button would be confusing.
Could be done with an additional checkbox/option in the dialogue maybe instead of an extra command
"Add "Trigger Hard State" when faking check results" (suggested by Andre Eckstein on 2022-07-05), including upvotes (4) and comments (0), was merged into this suggestion.
As NSCA will be removed in CMK 2.2....
I would like to have a way to set a service state via the checkmk api. This should be independent of whether an agent is installed or not. Some applications can call a URL with parameters in case of an event.
An example of a use case where the checkinterval of an agent is too large:
Opening and closing a door. This is faster than the 1 min check interval. Here the event would not be noticed.
You can use the multisite API to send the same commands that can be sent from the web GUI.Just look at how the “Fake Check Result” command is implemented.
merge with "Set host-/servicestate via API"
"Set host-/servicestate via API" (suggested by Doc on 2022-11-28), including upvotes (8) and comments (1), was merged into this suggestion.
Planned for Checkmk 2.3
If the number of events to be triggered could be specified, the count-up and the change from soft to hard could also be simulated. This could also be used to test event-count-dependent actions such as Alert handlers, Restrict to notification number, Throttle periodic notifications and so on.
Lars S., the count of events does not have influence on periodic notifications, these are time dependent...
Good news everyone: We are moving forward with this feature request! If you are interested in helping shape the feature, we have the perfect opportunity for you: A small usability test of the concept (30-45 minutes, remote, no installation required). Sign up here ->> https://app.useberry.com/t/5SeLYIcjF0xPqe/ (Open until Oct, 4 2023)
This feedback board is powered by Feature Upvote.
When submitting your email with a suggestion or comment, Feature Upvote uses your email to
Your email is never displayed to other users. Checkmk staff will be able to see your email address.
Feature Upvote's Acceptable Use Policy can be summarized as:
Read the full Acceptable Use Policy (in English)
We’ll email you when the status of the suggestion changes. You can unsubscribe at any time with a single click.