vibeMK
v0.6.4Query and configure CheckMK monitoring: hosts, services, rules, downtimes, metrics
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vibemk_debug_checkmk_connection CheckMK connection diagnostics
π CheckMK connection diagnostics - Test server connectivity and API access
vibemk_debug_url_detection Debug URL detection
π Debug URL detection - Show all tested URL patterns and results
vibemk_test_direct_url Test direct URL
π§ͺ Test direct URL - Send a GET to a URL under the configured CheckMK API and show the raw response. URLs on other hosts or outside the API path are refused.
| Parameter | Type | Description |
|---|---|---|
test_url * | string | Full URL to test (e.g., http://localhost:8080/cmk/check_mk/api/1.0/version) |
vibemk_test_all_endpoints Test all API endpoints
π§ͺ Test all API endpoints - Comprehensive endpoint availability check
vibemk_get_checkmk_version Get CheckMK version
π Get CheckMK version - Show version information and system details
vibemk_get_checkmk_hosts List hosts
π₯οΈ List hosts - Show all monitored hosts with optional folder filtering
| Parameter | Type | Description |
|---|---|---|
effective_attributes | boolean | Include effective attributes |
folder | string | Folder path to filter hosts |
vibemk_get_host_status Get host status
π Get host status - Show current monitoring status of a specific host
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
vibemk_get_host_details Host details
π Host details - Get comprehensive host information
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
vibemk_get_host_config Get host configuration
βοΈ Get host configuration - Show host configuration with attributes
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
vibemk_create_host Create host(s)
β Create host(s) - Add one or multiple hosts to monitoring (automatically uses bulk API for multiple hosts)
| Parameter | Type | Description |
|---|---|---|
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
attributes | object | Host attributes - ipaddress, etc. (single host mode) |
bake_agent | boolean | Whether to bake agents after creation (bulk mode only) |
folder | string | Folder path (single host mode) |
host_name | string | Name of the new host (single host mode) |
hosts | array | List of hosts to create (multiple hosts mode - automatically uses bulk API) |
vibemk_bulk_create_hosts Bulk create hosts
β Bulk create hosts - Create multiple hosts in a single operation
| Parameter | Type | Description |
|---|---|---|
entries * | array | List of hosts to create |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
bake_agent | boolean | Whether to bake agents after creation (CheckMK Enterprise Edition only) |
vibemk_update_host Update host
π Update host - Modify host configuration with flexible attribute management
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
attributes | object | Updated attributes |
remove_attributes | array | List of attribute names to remove (used with remove mode) |
update_mode | string | Update mode: 'update' (merge), 'overwrite' (replace), 'remove' (delete attributes) |
vibemk_delete_host Delete host
ποΈ Delete host - Remove host from monitoring
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_move_host Move host
π Move host - Move host to different folder
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
target_folder * | string | Target folder path |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_rename_host Rename host
βοΈ Rename host - Rename a host in CheckMK (starts a background job)
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Current host name |
new_name * | string | New host name (FQDN) |
vibemk_bulk_update_hosts Bulk update hosts
π Bulk update hosts - Update multiple hosts at once
| Parameter | Type | Description |
|---|---|---|
entries * | array | One entry per host to change |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_create_cluster_host Create cluster host
π’ Create cluster host - Create a cluster host with multiple nodes
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the cluster host |
nodes * | array | List of node hostnames for the cluster |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
attributes | object | Additional host attributes |
folder | string | Folder path |
vibemk_validate_host_config Validate host config
β Validate host config - Validate host configuration before applying changes
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host to validate |
attributes | object | Host attributes to validate |
folder | string | Folder path |
operation | string | Operation type (create, update) |
vibemk_compare_host_states Compare host states
π Compare host states - Compare current vs desired host configuration
| Parameter | Type | Description |
|---|---|---|
desired_attributes * | object | Desired host attributes |
host_name * | string | Name of the host |
vibemk_get_host_effective_attributes Get effective host attributes
π Get effective host attributes - Show host attributes including inherited values
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
vibemk_get_checkmk_services List services
π§ List services - Show services with optional host filtering
| Parameter | Type | Description |
|---|---|---|
host_name | string | Filter by host name |
vibemk_get_service_status Get service status
π Get service status - Show current status of a service
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Name of the host |
service_description * | string | Service description |
vibemk_get_current_problems Get current problems
π¨ Get current problems - Show all hosts and services with problems
| Parameter | Type | Description |
|---|---|---|
host_name | string | Filter by host name |
vibemk_acknowledge_problem Acknowledge problem
β Acknowledge problem - Acknowledge host or service problem
| Parameter | Type | Description |
|---|---|---|
acknowledge_type * | string | Type: host or service |
comment * | string | Acknowledgment comment |
host_name * | string | Name of the host |
notify | boolean | Send notifications to the configured contacts |
persistent | boolean | Keep the comment after the acknowledgement is removed |
service_description | string | Service description (for service ack) |
sticky | boolean | Hold the acknowledgement until the object returns to UP/OK |
vibemk_schedule_downtime Schedule downtime
β° Schedule downtime - Schedule maintenance downtime
| Parameter | Type | Description |
|---|---|---|
comment * | string | Downtime comment |
downtime_type * | string | Type: host, service, or hostgroup |
end_time * | string | End time (ISO format) |
start_time * | string | Start time (ISO format) |
host_name | string | Name of the host |
service_description | string | Service description (for service downtime) |
vibemk_activate_changes Activate changes
π Activate changes - Deploy pending configuration changes. INTERNAL: vibeMK reads the ETag from pending_changes itself, so there is no manual ETag handling to do. After activating, wait for the next check cycle before results become visible.
| Parameter | Type | Description |
|---|---|---|
force_foreign_changes | boolean | Force activation |
sites | array | List of site names |
vibemk_get_pending_changes Get pending changes
π Get pending changes - Show uncommitted configuration changes
vibemk_get_folders List folders
π List folders - Show folder structure with optional parent filtering
| Parameter | Type | Description |
|---|---|---|
parent | string | Parent folder path to filter |
vibemk_create_folder Create folder
β Create folder - Add new folder to the structure
| Parameter | Type | Description |
|---|---|---|
folder * | string | Folder path |
title * | string | Display title |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
parent | string | Parent folder path |
vibemk_delete_folder Delete folder
ποΈ Delete folder - Remove folder (with options for recursive deletion)
| Parameter | Type | Description |
|---|---|---|
folder * | string | Folder path to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
delete_mode | string | Delete mode: 'abort_on_nonempty' or 'recursive' |
vibemk_update_folder Update folder
π Update folder - Modify folder properties
| Parameter | Type | Description |
|---|---|---|
folder * | string | Folder path |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
attributes | object | Folder attributes |
title | string | New display title |
vibemk_move_folder Move folder
π Move folder - Move folder to different parent
| Parameter | Type | Description |
|---|---|---|
destination * | string | New parent folder path |
folder * | string | Folder path to move |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_get_folder_hosts Get folder hosts
π₯οΈ Get folder hosts - List all hosts in a specific folder
| Parameter | Type | Description |
|---|---|---|
folder * | string | Folder path |
vibemk_get_users List users
π₯ List users - Show all CheckMK users
vibemk_create_user Create user
π€ Create user - Add new CheckMK user
| Parameter | Type | Description |
|---|---|---|
fullname * | string | Full name |
username * | string | Username |
contactgroups | array | Contact groups to assign user to |
email | string | Email address |
password | string | Password |
roles | array | User roles |
vibemk_update_user Update user
π Update user - Modify user properties
| Parameter | Type | Description |
|---|---|---|
username * | string | Username |
contactgroups | array | Contact groups to assign user to |
email | string | Email address |
fullname | string | Full name |
roles | array | User roles |
vibemk_delete_user Delete user
ποΈ Delete user - Remove CheckMK user
| Parameter | Type | Description |
|---|---|---|
username * | string | Username to delete |
vibemk_get_contact_groups List contact groups
π₯ List contact groups - Show contact groups
vibemk_create_contact_group Create contact group
β Create contact group - Add new contact group
| Parameter | Type | Description |
|---|---|---|
alias * | string | Display alias |
name * | string | Group name |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
members | array | Group members |
vibemk_add_user_to_group Add user to contact group
π₯ Add user to contact group - Assign user to contact group
| Parameter | Type | Description |
|---|---|---|
group_name * | string | Contact group name |
username * | string | Username |
vibemk_remove_user_from_group Remove user from contact group
π₯ Remove user from contact group - Remove user from contact group
| Parameter | Type | Description |
|---|---|---|
group_name * | string | Contact group name |
username * | string | Username |
vibemk_update_contact_group Update contact group
π Update contact group - Modify contact group properties
| Parameter | Type | Description |
|---|---|---|
name * | string | Group name |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
alias | string | Display alias |
members | array | Group members |
vibemk_delete_contact_group Delete contact group
ποΈ Delete contact group - Remove contact group
| Parameter | Type | Description |
|---|---|---|
name * | string | Group name to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_list_user_roles List user roles
π₯ List user roles - Show all available user roles (built-in and custom)
| Parameter | Type | Description |
|---|---|---|
show_builtin | boolean | Include built-in roles (admin, user, guest) in the list |
vibemk_show_user_role Show user role details
π Show user role details - Display detailed information about a specific user role
| Parameter | Type | Description |
|---|---|---|
role_id * | string | ID of the role to show details for |
vibemk_create_user_role Create user role
β Create user role - Clone an existing role to create a new custom role
| Parameter | Type | Description |
|---|---|---|
base_role_id * | string | Existing role ID to clone from (e.g., 'admin', 'user', 'guest') |
new_role_id * | string | ID for the new role |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
new_alias | string | Display name/alias for the new role |
vibemk_update_user_role Update user role
βοΈ Update user role - Modify an existing user role's alias or permissions
| Parameter | Type | Description |
|---|---|---|
role_id * | string | ID of the role to update |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
alias | string | New display name/alias for the role |
permissions | object | Permission dictionary (permission_id: boolean) |
vibemk_delete_user_role Delete user role
ποΈ Delete user role - Remove a custom user role (built-in roles cannot be deleted)
| Parameter | Type | Description |
|---|---|---|
role_id * | string | ID of the custom role to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_get_host_groups List host groups
π List host groups - Show all host groups
vibemk_create_host_group Create host group
β Create host group - Add new host group
| Parameter | Type | Description |
|---|---|---|
alias * | string | Display alias |
name * | string | Group name |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_update_host_group Update host group
π Update host group - Modify host group properties
| Parameter | Type | Description |
|---|---|---|
name * | string | Group name |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
alias | string | Display alias |
vibemk_delete_host_group Delete host group
ποΈ Delete host group - Remove host group
| Parameter | Type | Description |
|---|---|---|
name * | string | Group name to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_get_service_groups List service groups
π§ List service groups - Show all service groups
vibemk_get_comments List comments
π¬ List comments - Show host/service comments
| Parameter | Type | Description |
|---|---|---|
host_name | string | Filter by host name |
service_description | string | Filter by service |
vibemk_add_comment Add comment
π¬ Add comment - Add comment to host or service
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment text |
comment_type * | string | Type: host or service |
host_name * | string | Host name |
persistent | boolean | Persistent comment |
service_description | string | Service (for service comments) |
vibemk_delete_comment Delete comment
ποΈ Delete comment - Remove a host or service comment by ID or query
| Parameter | Type | Description |
|---|---|---|
comment_id | integer | Comment ID (for delete_type=by_id) |
delete_type | string | Deletion mode: 'by_id' (requires comment_id) or 'by_query' (requires host_name) |
host_name | string | Host name (for delete_type=by_query) |
service_description | string | Service description (optional, for delete_type=by_query) |
site_id | string | Site ID (defaults to configured site) |
vibemk_get_downtimes List downtimes
β° List downtimes - Show scheduled downtimes
| Parameter | Type | Description |
|---|---|---|
host_name | string | Filter by host name |
vibemk_get_rulesets List rulesets
π List rulesets - Show available rulesets
| Parameter | Type | Description |
|---|---|---|
search | string | Search term to filter rulesets |
vibemk_get_ruleset List the rules of a ruleset, optionally filtered by host name. Shows the rule IDs vibemk_delete_rule needs.
π List the rules of a ruleset, optionally filtered by host name. Shows the rule IDs vibemk_delete_rule needs.
| Parameter | Type | Description |
|---|---|---|
ruleset_name * | string | Ruleset name, e.g. 'active_checks:http' or 'host_label_rules' |
hostname | string | Show only rules for this host (optional) |
limit | integer | Maximum number of rules to return (default: 50) |
vibemk_create_rule Create rule
β Create rule - Add new monitoring rule
| Parameter | Type | Description |
|---|---|---|
rule_config * | object | Rule configuration |
ruleset_name * | string | Ruleset name |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
comment | string | Rule comment |
conditions | object | Rule conditions |
folder | string | Target folder |
position | string | Where to place the new rule. Omit to leave placement to CheckMK. The two *_specific_rule values need target_rule_id. |
target_rule_id | string | Rule to position relative to, for before_specific_rule/after_specific_rule |
vibemk_update_rule Update rule
π Update rule - Modify existing monitoring rule
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | Rule ID |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
comment | string | Rule comment |
conditions | object | Rule conditions |
disabled | boolean | Disable rule |
rule_config | object | Rule configuration |
vibemk_delete_rule Delete rule
ποΈ Delete rule - Remove monitoring rule
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | Rule ID to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_move_rule Move rule
π Move rule - Change rule position in ruleset
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | Rule ID |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
position | string | Where to move the rule. The two *_specific_rule values need target_rule_id. |
target_rule_id | string | Rule to position relative to, for before_specific_rule/after_specific_rule |
vibemk_get_host_tags List host tags
π·οΈ List host tags - Show available host tag groups
vibemk_create_host_tag Create host tag
π·οΈ Create host tag - Add new host tag group
| Parameter | Type | Description |
|---|---|---|
tag_id * | string | Tag group ID |
tags * | array | List of tags with id and title |
title * | string | Tag group title |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
help | string | Help text |
topic | string | Tag topic/category |
vibemk_update_host_tag Update host tag
π Update host tag - Modify host tag group
| Parameter | Type | Description |
|---|---|---|
tag_id * | string | Tag group ID |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
help | string | Help text |
repair | boolean | Repair host assignments |
tags | array | List of tags with id and title |
title | string | Tag group title |
topic | string | Tag topic/category |
vibemk_delete_host_tag Delete host tag
ποΈ Delete host tag - Remove host tag group
| Parameter | Type | Description |
|---|---|---|
tag_id * | string | Tag group ID to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
repair | boolean | Repair host assignments |
vibemk_get_timeperiods List time periods
β° List time periods - Show all configured time periods
vibemk_create_timeperiod Create time period
β° Create time period - Add new time period
| Parameter | Type | Description |
|---|---|---|
active_time_ranges * | array | Active time ranges |
name * | string | Time period name |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
alias | string | Time period alias |
exceptions | array | Exception time ranges |
exclude | array | Excluded time periods |
vibemk_update_timeperiod Update time period
π Update time period - Modify time period configuration
| Parameter | Type | Description |
|---|---|---|
name * | string | Time period name |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
active_time_ranges | array | Active time ranges |
alias | string | Time period alias |
exceptions | array | Exception time ranges |
exclude | array | Excluded time periods |
vibemk_delete_timeperiod Delete time period
ποΈ Delete time period - Remove time period
| Parameter | Type | Description |
|---|---|---|
name * | string | Time period name to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_get_passwords List passwords
π List passwords - Show stored passwords
vibemk_create_password Create password
π Create password - Store new password securely
| Parameter | Type | Description |
|---|---|---|
ident * | string | Password identifier |
password * | string | Password value |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
comment | string | Password description |
documentation_url | string | Documentation URL |
owner | string | Owner user/group |
shared | array | Shared with users/groups |
title | string | Password title |
vibemk_update_password Update password
π Update password - Modify stored password
| Parameter | Type | Description |
|---|---|---|
ident * | string | Password identifier |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
comment | string | Password description |
documentation_url | string | Documentation URL |
owner | string | Owner user/group |
password | string | Password value |
shared | array | Shared with users/groups |
title | string | Password title |
vibemk_delete_password Delete password
ποΈ Delete password - Remove stored password
| Parameter | Type | Description |
|---|---|---|
ident * | string | Password identifier to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_get_notification_rules List notification rules
π’ List notification rules - Show all configured notification rules with their IDs
vibemk_get_notification_rule Show notification rule
π Show notification rule - Return one rule including its full rule_config. Use this first to obtain a template before creating or updating a rule.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | Rule ID from get_notification_rules |
vibemk_create_notification_rule Create notification rule
β Create notification rule - CheckMK requires the complete rule_config structure (properties, contact selection, conditions and notification_method), and nearly every field is mandatory. Read an existing rule with vibemk_get_notification_rule and adapt its rule_config rather than composing one from scratch. Activate changes afterwards.
| Parameter | Type | Description |
|---|---|---|
rule_config * | object | Complete rule configuration as returned by vibemk_get_notification_rule |
vibemk_update_notification_rule Update notification rule
βοΈ Update notification rule - Replaces the rule's configuration. Send the complete rule_config, not just the fields you want changed; read the current one first. Activate changes afterwards.
| Parameter | Type | Description |
|---|---|---|
rule_config * | object | Complete replacement configuration |
rule_id * | string | Rule ID from get_notification_rules |
vibemk_delete_notification_rule Delete notification rule
ποΈ Delete notification rule - Remove a notification rule by ID. Activate changes afterwards.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | Rule ID from get_notification_rules |
vibemk_get_host_metrics Get host metrics
π Get host metrics - Extract performance data from CheckMK RRD databases
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name |
metric_name | string | Specific metric name (optional) |
reduce | string | Aggregation function: 'max', 'min', 'average' |
time_range | string | Time range: '1h', '4h', '24h', '7d', '30d' |
vibemk_get_service_metrics Get service metrics
π Get service metrics - Extract service performance data from CheckMK metrics API
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name |
service_description * | string | Service description |
metric_name | string | Specific metric ID (e.g., 'if_in_bps', 'cpu_util') |
reduce | string | Aggregation function: 'max', 'min', 'average' |
site | string | CheckMK site name |
time_range | string | Time range: '1h', '4h', '24h', '7d', '30d' |
vibemk_get_custom_graph Get custom graph
π Get custom graph - Retrieve predefined custom graph data Enterprise/Cloud only: a Raw site does not serve this endpoint and answers 404.
| Parameter | Type | Description |
|---|---|---|
custom_graph_id * | string | Custom graph ID |
reduce | string | Aggregation function |
time_range | string | Time range: '1h', '4h', '24h', '7d', '30d' |
vibemk_search_metrics Search metrics
π Search metrics - Read one predefined graph (graph_id) or one metric (metric_id) across the hosts and services a filter matches. Exactly one of the two IDs is required; both are shown in the service view once 'Show internal IDs' is enabled in its display options. Enterprise/Cloud only: a Raw site does not serve this endpoint and answers 404.
| Parameter | Type | Description |
|---|---|---|
host_filter * | string | Host filter pattern |
graph_id | string | ID of a predefined graph, e.g. cmk_cpu_time_by_phase. Exclusive with metric_id |
metric_id | string | ID of a single metric, e.g. cmk_time_agent. Exclusive with graph_id |
reduce | string | Aggregation function |
service_filter | string | Service filter pattern (optional) |
site_filter | string | Site filter (optional) |
time_range | string | Time range |
vibemk_list_available_metrics List available metrics
π List available metrics - Show all available metrics for host or service
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name |
service_description | string | Service description (optional for service metrics) |
vibemk_debug_api_endpoints Debug API endpoints
π Debug API endpoints - Analyze available CheckMK API endpoints and their structure
vibemk_debug_permissions Debug permissions
π Debug permissions - Check automation user permissions for API access
vibemk_find_host_grouping_rulesets Find host grouping rulesets
π Find host grouping rulesets - Discover available rulesets for host group and contact group assignment
vibemk_create_host_contactgroup_rule Create host contact group rule
π Create host contact group rule - Assign contact groups to hosts based on conditions
| Parameter | Type | Description |
|---|---|---|
contact_groups * | array | List of contact group names to assign |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
comment | string | Rule comment |
folder | string | Folder path |
host_conditions | object | Conditions to match hosts (optional, empty = all hosts) |
vibemk_create_host_hostgroup_rule Create host group rule
π Create host group rule - Assign hosts to host groups based on conditions
| Parameter | Type | Description |
|---|---|---|
host_groups * | array | List of host group names to assign |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
comment | string | Rule comment |
folder | string | Folder path |
host_conditions | object | Conditions to match hosts (optional, empty = all hosts) |
vibemk_get_example_rule_structures Get example rule structures
π Get example rule structures - Show example JSON structures for host grouping rules
vibemk_schedule_host_downtime Schedule host downtime
π§ Schedule host downtime - Schedule maintenance downtime for a host to suppress alerts
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name to schedule downtime for |
comment | string | Comment describing the reason for downtime. Default: 'Scheduled maintenance' |
duration | integer | string | Downtime duration - supports natural language: '2h', '1h30m', '90m' or minutes as integer. Default: 60 |
end_time | string | End time - supports natural language: '23:30 today', 'tomorrow at 16:00', 'monday at 17:00', or relative like '+2h'. Optional if duration specified |
force | boolean | Schedule even if a downtime with the same comment already exists. Default: false |
recur | string | Repeat the downtime. Commercial editions only: a Raw/Community site accepts it but schedules the downtime once. Default: once |
start_time | string | Start time - supports natural language: '22:00 today', 'tomorrow at 14:00', 'monday at 09:00', '2024-08-23 at 22:00', 'in 2 hours', 'now', or ISO format. Default: now |
vibemk_schedule_service_downtime Schedule service downtime
π§ Schedule service downtime - Schedule maintenance downtime for specific services
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name where services are located |
service_descriptions * | array | List of service descriptions to schedule downtime for |
comment | string | Comment describing the reason for downtime. Default: 'Scheduled service maintenance' |
duration | integer | string | Downtime duration - supports natural language: '2h', '1h30m', '90m' or minutes as integer. Default: 60 |
end_time | string | End time - supports natural language: '23:30 today', 'tomorrow at 16:00', 'monday at 17:00', or relative like '+2h'. Optional if duration specified |
force | boolean | Schedule even if a downtime with the same comment already exists. Default: false |
recur | string | Repeat the downtime. Commercial editions only: a Raw/Community site accepts it but schedules the downtime once. Default: once |
start_time | string | Start time - supports natural language: '22:00 today', 'tomorrow at 14:00', 'monday at 09:00', '2024-08-23 at 22:00', 'in 2 hours', 'now', or ISO format. Default: now |
vibemk_list_downtimes List downtimes
π List downtimes - Show all scheduled downtimes with filtering options
| Parameter | Type | Description |
|---|---|---|
active_only | boolean | Show only active downtimes (default: true) |
host_name | string | Optional: Filter downtimes for specific host |
service_description | string | Optional: Filter downtimes for specific service |
vibemk_get_active_downtimes Get active downtimes
π΄ Get active downtimes - Show only currently active downtimes that are suppressing alerts
| Parameter | Type | Description |
|---|---|---|
host_name | string | Optional: Filter active downtimes for specific host |
vibemk_delete_downtime Delete downtime
ποΈ Delete downtime - Cancel a scheduled or active downtime by ID
| Parameter | Type | Description |
|---|---|---|
downtime_id * | integer | Downtime ID to delete (get from list_downtimes) |
vibemk_check_host_downtime_status Check host downtime status
π Check host downtime status - Distinguish between host-level and service-level downtimes
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name to check downtime status for |
vibemk_modify_downtime Modify downtime
βοΈ Modify downtime - Extend or shorten an active downtime's end time
| Parameter | Type | Description |
|---|---|---|
end_time * | string | New end time in ISO 8601 format, e.g. '2026-06-09T18:00:00Z' |
comment | string | New comment (optional) |
downtime_id | integer | Downtime ID to modify (use vibemk_list_downtimes to find it) |
host_name | string | Host name for query-based modification (alternative to downtime_id) |
service_description | string | Service description (optional, narrows query-based modification) |
vibemk_start_service_discovery Start service discovery
π Start service discovery - Automatically detect services on a host
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name to discover services on |
mode | string | Discovery mode. 'tabula_rasa' removes every service and rediscovers, so it is the destructive one. |
vibemk_start_bulk_discovery Start bulk discovery
π Start bulk discovery - Discover services on multiple hosts simultaneously
| Parameter | Type | Description |
|---|---|---|
hostnames * | array | List of host names to discover services on |
bulk_size | integer | Number of hosts to process simultaneously |
do_full_scan | boolean | Perform full service scan |
ignore_errors | boolean | Continue on errors |
options | object | Discovery options |
vibemk_get_discovery_status Get discovery status
π Get discovery status - Show current service discovery results for a host
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name to check discovery status |
vibemk_get_bulk_discovery_status Get bulk discovery status
π Get bulk discovery status - Show progress of a bulk discovery job
| Parameter | Type | Description |
|---|---|---|
job_id * | string | Bulk discovery job ID |
vibemk_wait_for_discovery Wait for discovery completion
β³ Wait for discovery completion - Wait until service discovery finishes on a host
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name to wait for discovery completion |
timeout | number | Seconds to wait before reporting the job as still running |
vibemk_get_discovery_background_job Get discovery background job
π Get discovery background job - Show last discovery job status on a host
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name to check background job status |
vibemk_create_service_group Create service group
π§ Create service group - Create a new service group for organizing services
| Parameter | Type | Description |
|---|---|---|
alias * | string | Human-readable description/alias for the service group |
name * | string | Service group name (letters, numbers, hyphens, underscores only) |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_list_service_groups List service groups
π List service groups - Show all configured service groups
vibemk_get_service_group Get service group details
π Get service group details - Show detailed information about a specific service group
| Parameter | Type | Description |
|---|---|---|
name * | string | Service group name to retrieve |
vibemk_update_service_group Update service group
π Update service group - Modify an existing service group's alias
| Parameter | Type | Description |
|---|---|---|
alias * | string | New alias/description for the service group |
name * | string | Service group name to update |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_delete_service_group Delete service group
ποΈ Delete service group - Remove a service group from CheckMK
| Parameter | Type | Description |
|---|---|---|
name * | string | Service group name to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_bulk_create_service_groups Bulk create service groups
π§ Bulk create service groups - Create multiple service groups at once
| Parameter | Type | Description |
|---|---|---|
entries * | array | List of service groups to create |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_bulk_update_service_groups Bulk update service groups
π Bulk update service groups - Update multiple service groups at once
| Parameter | Type | Description |
|---|---|---|
entries * | array | List of service groups to update |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_bulk_delete_service_groups Bulk delete service groups
ποΈ Bulk delete service groups - Delete multiple service groups at once
| Parameter | Type | Description |
|---|---|---|
entries * | array | List of service group names to delete |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_search_rulesets Search rulesets
π Search rulesets - Find rulesets with filters (text, folder, name)
| Parameter | Type | Description |
|---|---|---|
deprecated | boolean | Only show deprecated rulesets |
folder | string | The folder in which to search for rules. Path delimiters can be ~, /, or \ |
fulltext | string | Search all keys (name, title, help) for this text. Regex allowed. |
name | string | A regex of the ruleset name |
used | boolean | Only show used rulesets |
vibemk_show_ruleset Show ruleset details
π Show ruleset details - Display detailed information about a specific ruleset
| Parameter | Type | Description |
|---|---|---|
ruleset_name * | string | The name of the ruleset (e.g., host_groups, host_contactgroups) |
vibemk_list_rulesets List all rulesets
π List all rulesets - Show all available rulesets with basic information
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of rulesets to return |
show_deprecated | boolean | Include deprecated rulesets in the list |
vibemk_acknowledge_host_problem Acknowledge host problem
β Acknowledge host problem - Suppress notifications for a DOWN/UNREACHABLE host
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name |
comment | string | Why the problem is being acknowledged |
expire_on | string | Optional expiry as ISO-8601, e.g. 2026-12-24T22:00:00Z |
notify | boolean | Send notifications to the configured contacts |
persistent | boolean | Keep the comment after the acknowledgement is removed |
sticky | boolean | Hold the acknowledgement until the host returns to UP |
vibemk_acknowledge_service_problem Acknowledge service problem
β Acknowledge service problem - Suppress notifications for a WARN/CRIT/UNKNOWN service
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name |
service_description * | string | Service name exactly as CheckMK shows it, e.g. 'CPU utilization' |
comment | string | Why the problem is being acknowledged |
expire_on | string | Optional expiry as ISO-8601, e.g. 2026-12-24T22:00:00Z |
notify | boolean | Send notifications to the configured contacts |
persistent | boolean | Keep the comment after the acknowledgement is removed |
sticky | boolean | Hold the acknowledgement until the service returns to OK |
vibemk_list_acknowledgements List acknowledgements
π List acknowledgements - Show all currently acknowledged host and service problems
vibemk_remove_acknowledgement Remove acknowledgement
ποΈ Remove acknowledgement - Delete by ID, by host/service, or by comment pattern
| Parameter | Type | Description |
|---|---|---|
acknowledgement_id | string | Acknowledgement ID from list_acknowledgements |
comment_pattern | string | Remove acknowledgements whose comment contains this text |
delete_all_matching | boolean | Remove every match instead of only the first (default: false) |
host_name | string | Remove the acknowledgement on this host |
service_description | string | Restrict removal to this service on the host |
vibemk_clone_host Clone a host
π Clone a host - copies the folder, tags and labels of a source host onto a new target host. A different IP address can optionally be given.
| Parameter | Type | Description |
|---|---|---|
source_hostname * | string | Source host name, e.g. 'web01.example.com' |
target_hostname * | string | New host name, e.g. 'web02.example.com' |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
ip_address | string | Optional IP address for the new host. Without it, the source host's IP is copied. |
vibemk_create_http_check Create an HTTP/HTTPS check for a host (active_checks:http). Supports URL mode (content check, auth, timing) and certificate mode.
π Create an HTTP/HTTPS check for a host (active_checks:http). Supports URL mode (content check, auth, timing) and certificate mode.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Host the rule applies to (Checkmk host name) |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
address_family | string | IP version: 'ipv4' or 'ipv6' (optional) |
auth_password | string | HTTP basic auth password (optional) |
auth_user | string | HTTP basic auth user name (optional) |
cert_days_crit | integer | CRIT this many days before the certificate expires (default: 7, cert_mode only) |
cert_days_warn | integer | WARN this many days before the certificate expires (default: 14, cert_mode only) |
cert_mode | boolean | Check certificate expiry instead of the URL (default: false) |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
direct_address | string | Address to contact instead of the host name (optional) |
expect_regex | string | Regular expression the response body must match, e.g. '"status":\s*"ok"' |
expect_response | string | Expected HTTP status line, e.g. 'HTTP/1.1 200' or 'HTTP/1.1 404' |
expect_string | string | Literal string the response body must contain, e.g. 'ok' or 'healthy' |
extended_perfdata | boolean | Collect extended performance data such as body and header size (default: false) |
folder | string | Checkmk folder (optional, defaults to the host's own folder) |
method | string | HTTP method: GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT (default: GET) |
name | string | Service name in the monitoring, e.g. 'HTTP Main' or 'API Health' |
no_body | boolean | Fetch headers only, not the body (default: false) |
onredirect | string | Redirect handling: 'ok', 'warning', 'critical', 'follow', 'sticky', 'stickyport' |
port | integer | HTTP port (default: 80, or 443 with SSL) |
proxy_address | string | HTTP proxy address (optional, e.g. 'proxy.internal') |
proxy_port | integer | HTTP proxy port (default: 80) |
response_time_crit | number | Response time CRIT threshold in seconds, e.g. 5.0 |
response_time_warn | number | Response time WARN threshold in seconds, e.g. 2.0 |
ssl | boolean | Use HTTPS/SSL (default: false) |
timeout | integer | Timeout in seconds (optional) |
uri | string | URL path, or a full URL (default: '/') |
virt_host | string | Virtual host header, when it differs from the host name |
vibemk_create_tcp_check Create a TCP port check for a host. Tests reachability, optionally the response content, and the SSL certificate.
π Create a TCP port check for a host. Tests reachability, optionally the response content, and the SSL certificate.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Hostname |
port * | integer | TCP port, e.g. 8080 |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
cert_days_crit | integer | CRIT this many days before the certificate expires (ssl=true only) |
cert_days_warn | integer | WARN this many days before the certificate expires (ssl=true only) |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
expect | string | String expected in the TCP response, e.g. 'SSH-2.0' or 'Connection refused' |
folder | string | Checkmk folder (optional) |
mismatch_state | string | State when the expected string does not match: 'ok', 'warn', 'crit' |
name | string | Optional service name |
refuse_state | string | State when the port refuses the connection: 'ok', 'warn', 'crit' (default: 'crit') |
response_time_crit | number | Response time CRIT threshold in seconds |
response_time_warn | number | Response time WARN threshold in seconds |
ssl | boolean | Use SSL/TLS (default: false) |
timeout | integer | Timeout in seconds (optional) |
vibemk_create_icmp_check Create an ICMP/PING check for a host. Measures reachability, packet loss and round-trip time.
π Create an ICMP/PING check for a host. Measures reachability, packet loss and round-trip time.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Hostname |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
explicit_address | string | Ping this address instead of the host name (optional) |
folder | string | Checkmk folder (optional) |
loss_crit_percent | number | Packet loss CRIT threshold in percent, e.g. 100 |
loss_warn_percent | number | Packet loss WARN threshold in percent, e.g. 20 |
min_pings | integer | Minimum number of replies for the result to count (optional) |
name | string | Service name (default: 'PING') |
packets | integer | Number of packets (default: 5) |
rta_crit_ms | number | Round-trip time CRIT threshold in milliseconds, e.g. 500 |
rta_warn_ms | number | Round-trip time WARN threshold in milliseconds, e.g. 200 |
timeout | number | Timeout in seconds (default: 20) |
vibemk_create_custom_check Create a custom Nagios plugin check for a host. Runs any Nagios-compatible plugin.
π§ Create a custom Nagios plugin check for a host. Runs any Nagios-compatible plugin.
| Parameter | Type | Description |
|---|---|---|
command_line * | string | Plugin command line, e.g. '$USER1$/check_smtp -H $HOSTNAME$ -t 5' |
hostname * | string | Hostname |
service_description * | string | Service name in the monitoring |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
command_name | string | Optional internal name for the command |
description | string | Rule description, shown in WATO. Pick one that says what the rule is for. |
folder | string | Checkmk folder (default: '~') |
vibemk_create_dns_check Create a DNS check for a host. Tests whether a name resolves and whether the answer arrives in time.
π Create a DNS check for a host. Tests whether a name resolves and whether the answer arrives in time.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Host the rule applies to |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
dns_server | string | DNS server IP (optional, defaults to the system resolver) |
expect_all_addresses | boolean | Require every expected_addresses entry to be returned (default: false) |
expected_addresses | string | Expected IP address or addresses, one or a comma-separated list (optional) |
folder | string | Checkmk folder (optional) |
lookup_hostname | string | Name to resolve (defaults to hostname) |
response_time_crit | number | CRIT threshold in seconds (default: 0.3) |
response_time_warn | number | WARN threshold in seconds (default: 0.2) |
vibemk_create_smtp_check Create an SMTP check for a host. Tests the SMTP service, optionally STARTTLS and certificate expiry.
π§ Create an SMTP check for a host. Tests the SMTP service, optionally STARTTLS and certificate expiry.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Hostname |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
cert_days_crit | integer | CRIT this many days before the certificate expires (default: 7, with starttls or check_cert) |
cert_days_warn | integer | WARN this many days before the certificate expires (default: 14, with starttls or check_cert) |
check_cert | boolean | Check the certificate only, without STARTTLS (default: false) |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
folder | string | Checkmk folder (optional) |
name | string | Service name (default: 'SMTP') |
port | integer | SMTP port, e.g. 587 for submission or 465 for SMTPS (default: the check's own, 25) |
starttls | boolean | Use STARTTLS and check the certificate (default: false) |
vibemk_create_ftp_check Create an FTP check for a host. Tests whether an FTP port is reachable.
π Create an FTP check for a host. Tests whether an FTP port is reachable.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Hostname |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
folder | string | Checkmk folder (optional) |
port | integer | FTP port (default: 21) |
refuse_state | string | State when the connection is refused: 'crit', 'warn', 'ok' (default: 'crit') |
timeout | integer | Timeout in seconds (optional) |
vibemk_create_ldap_check Create an LDAP check for a host. Tests the LDAP service and its response time.
ποΈ Create an LDAP check for a host. Tests the LDAP service and its response time.
| Parameter | Type | Description |
|---|---|---|
base_dn * | string | LDAP base DN, e.g. 'DC=example,DC=com' |
hostname * | string | Hostname |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
attribute | string | LDAP attribute or filter string (optional, e.g. '(objectclass=*)') |
bind_dn | string | Bind DN for authentication (optional) |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
folder | string | Checkmk folder (optional) |
name | string | Service name (default: 'LDAP') |
password | string | LDAP password (optional) |
port | integer | LDAP port (optional, default: 389) |
response_time_crit_ms | number | Response time CRIT threshold in milliseconds (default: 800) |
response_time_warn_ms | number | Response time WARN threshold in milliseconds (default: 500) |
vibemk_create_smb_check Create an SMB/CIFS share check for a host. Tests availability and used space of a Windows network share.
π₯οΈ Create an SMB/CIFS share check for a host. Tests availability and used space of a Windows network share.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Hostname |
share * | string | Share name without backslashes, e.g. 'public' |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
crit_percent | number | Used space CRIT threshold in percent (default: 95) |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
folder | string | Checkmk folder (optional) |
password | string | SMB password (optional) |
smb_host | string | SMB host IP or name (default: 'use_parent_host') |
username | string | SMB user name (optional) |
warn_percent | number | Used space WARN threshold in percent (default: 85) |
workgroup | string | Workgroup or domain (optional) |
vibemk_create_mkevents_check Create an Event Console check for a host. Reports whether the Checkmk Event Console holds open events for it.
π Create an Event Console check for a host. Reports whether the Checkmk Event Console holds open events for it.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Hostname |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
folder | string | Checkmk folder (optional) |
ignore_acknowledged | boolean | Ignore acknowledged events (default: true) |
remote_ec_host | string | IP or host of an external Event Console (optional) |
show_last_log | string | 'summary' (in the service summary), 'details' or 'no' (default: 'summary') |
vibemk_create_inventory_check Create a HW/SW inventory check for a host. Triggers hardware and software inventory and reports changes since the last scan.
π¬ Create a HW/SW inventory check for a host. Triggers hardware and software inventory and reports changes since the last scan.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Hostname |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
fail_status | integer | State when the inventory fails: 0=OK, 1=WARN, 2=CRIT (default: 0) |
folder | string | Checkmk folder (optional) |
hw_changes_state | integer | State on hardware changes: 0=OK, 1=WARN, 2=CRIT (default: 0) |
status_data_inventory | boolean | Enable status data inventory (default: true) |
sw_changes_state | integer | State on software changes: 0=OK, 1=WARN, 2=CRIT (default: 0) |
sw_missing_state | integer | State when software data is missing: 0=OK, 1=WARN, 2=CRIT (default: 0) |
vibemk_list_active_checks List active check rules, optionally filtered by host or check type.
π List active check rules, optionally filtered by host or check type.
| Parameter | Type | Description |
|---|---|---|
check_type | string | Type: 'http', 'tcp', 'icmp', 'dns', 'smtp', 'custom' (optional, all types when empty) |
hostname | string | Show only rules for this host name (optional) |
vibemk_delete_active_check Delete an active check rule, either by rule_id (UUID) or by hostname plus an optional service_name, which finds and deletes the matching rules.
ποΈ Delete an active check rule, either by rule_id (UUID) or by hostname plus an optional service_name, which finds and deletes the matching rules.
| Parameter | Type | Description |
|---|---|---|
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
check_type | string | Check type filter: 'http', 'tcp', 'icmp', 'custom' (optional) |
hostname | string | Host name; finds every active check rule for this host |
rule_id | string | Rule ID (UUID) β deletes that rule directly |
service_name | string | Optional service name filter, e.g. 'HTTP' or 'HTTPS' |
vibemk_get_events Retrieve Event Console events. Shows open and acknowledged events, optionally filtered by host, state and phase.
ποΈ Retrieve Event Console events. Shows open and acknowledged events, optionally filtered by host, state and phase.
| Parameter | Type | Description |
|---|---|---|
application | string | Application filter |
host | string | Host name filter |
phase | string | Phase: 'open' (default) or 'ack' (acknowledged) |
site_id | string | Site ID, e.g. 'im' or 'uel' |
state | string | State filter: 'ok', 'warning', 'critical', 'unknown' |
vibemk_acknowledge_event Acknowledge an Event Console event.
β Acknowledge an Event Console event.
| Parameter | Type | Description |
|---|---|---|
event_id * | integer | Event ID |
comment | string | Comment recorded with the acknowledgement |
site_id | string | Site the event lives on (optional, defaults to the connected site) |
vibemk_change_event_state Change the state of an Event Console event.
π Change the state of an Event Console event.
| Parameter | Type | Description |
|---|---|---|
event_id * | integer | Event ID |
new_state * | string | New state: 'ok', 'warning', 'critical', 'unknown' |
site_id | string | Site the event lives on (optional, defaults to the connected site) |
vibemk_delete_events Delete Event Console events, either by a list of IDs or every event of one phase or host.
ποΈ Delete Event Console events, either by a list of IDs or every event of one phase or host.
| Parameter | Type | Description |
|---|---|---|
event_ids | array | List of event IDs; when empty, phase and host are used as the filter |
host | string | Delete only the events of this host |
phase | string | Phase filter: 'open', 'ack' (default: 'open') |
site_id | string | Site the event lives on (optional, defaults to the connected site) |
vibemk_get_aux_tags List every configured auxiliary tag.
π·οΈ List every configured auxiliary tag.
vibemk_create_aux_tag Create a new auxiliary tag.
π·οΈ Create a new auxiliary tag.
| Parameter | Type | Description |
|---|---|---|
tag_id * | string | Unique tag ID, e.g. 'sys-linux' |
title * | string | Display name, e.g. 'Linux System' |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
help | string | Help text |
topic | string | Topic the tag is grouped under, e.g. 'Operating System' |
vibemk_update_aux_tag Update an auxiliary tag.
π·οΈ Update an auxiliary tag.
| Parameter | Type | Description |
|---|---|---|
tag_id * | string | Tag ID |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
help | string | New help text |
title | string | New display name |
topic | string | New topic |
vibemk_delete_aux_tag Delete an auxiliary tag.
ποΈ Delete an auxiliary tag.
| Parameter | Type | Description |
|---|---|---|
tag_id * | string | Tag ID |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_get_audit_log Retrieve the audit log: Checkmk configuration changes such as hosts created or deleted, rules changed, and activations.
π Retrieve the audit log: Checkmk configuration changes such as hosts created or deleted, rules changed, and activations.
| Parameter | Type | Description |
|---|---|---|
date | string | Start date (YYYY-MM-DD, default: today) |
limit | integer | Maximum number of entries (default: 50) |
object_id | string | Object name filter, e.g. a host name |
object_type | string | Object type filter: 'All', 'Folder', 'Host', 'User', 'Rule', 'Ruleset' |
regexp | string | Regular expression filtered against user_id, action and summary |
user_id | string | User filter |
vibemk_get_sites List monitoring sites: every configured Checkmk instance in a distributed setup.
π List monitoring sites: every configured Checkmk instance in a distributed setup.
vibemk_login_site Log in to a remote site (distributed monitoring).
π Log in to a remote site (distributed monitoring).
| Parameter | Type | Description |
|---|---|---|
password * | string | Password |
site_id * | string | Site ID, e.g. 'uel' or 'ham' |
username * | string | User name |
vibemk_logout_site Log out of a remote site.
πͺ Log out of a remote site.
| Parameter | Type | Description |
|---|---|---|
site_id * | string | Site ID |
vibemk_set_process_thresholds Create process monitoring with thresholds for a host (inventory_processes_rules). The rule defines which processes are watched and how many instances trigger WARN and CRIT. A service discovery runs afterwards so the thresholds take effect immediately. Example: 'Process wnscli.exe' on host X should warn at >=10 instances and go critical at >=12.
βοΈ Create process monitoring with thresholds for a host (inventory_processes_rules). The rule defines which processes are watched and how many instances trigger WARN and CRIT. A service discovery runs afterwards so the thresholds take effect immediately. Example: 'Process wnscli.exe' on host X should warn at >=10 instances and go critical at >=12.
| Parameter | Type | Description |
|---|---|---|
crit_max * | integer | CRITICAL when more than this many processes run (e.g. 12) |
hostname * | string | Checkmk host name the rule applies to |
process_name * | string | Process name, e.g. 'wnscli.exe', 'nginx' or 'java'. Used both as the process match and as the service name. A leading 'Process ' is stripped if present. |
warn_max * | integer | WARNING when more than this many processes run (e.g. 10) |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
cpu_average_min | integer | Average CPU over N minutes instead of using the instantaneous value (optional, e.g. 15) |
cpu_crit_percent | number | Total CPU usage CRIT threshold in percent (optional, e.g. 95) |
cpu_warn_percent | number | Total CPU usage WARN threshold in percent (optional, e.g. 80) |
crit_min | integer | CRITICAL when fewer than this many processes run (default: 1) |
description | string | Rule description shown in WATO. Pick one that says what the rule is for. |
folder | string | Checkmk folder (optional, defaults to the host's own folder) |
mem_crit_mb | integer | Virtual memory CRIT threshold in MB (optional) |
mem_warn_mb | integer | Virtual memory WARN threshold in MB (optional) |
resident_crit_mb | integer | Resident memory (RSS) CRIT threshold in MB (optional) |
resident_warn_mb | integer | Resident memory (RSS) WARN threshold in MB (optional) |
run_discovery | boolean | Run a service discovery after creating the rule (default: true). Set it to false only when creating several rules at once. |
single_cpu_crit_percent | number | Per-process CPU usage CRIT threshold in percent (optional) |
single_cpu_warn_percent | number | Per-process CPU usage WARN threshold in percent (optional) |
warn_min | integer | WARNING when fewer than this many processes run (default: 1) |
vibemk_set_interface_params Override interface parameters for a Checkmk host (checkgroup_parameters:interfaces). Typically used to set the expected speed and clear an 'expected speed' WARN. Example: interface vmbr1 warns because 10 Gbit/s is expected and 1 Gbit/s is real; expected_speed_mbit=1000 sets the expectation to 1 Gbit/s. RULE ORDER: the new rule is created in the host's own folder, not in root, so that subfolder precedence applies. Only activate_changes is needed, no service discovery.
π Override interface parameters for a Checkmk host (checkgroup_parameters:interfaces). Typically used to set the expected speed and clear an 'expected speed' WARN. Example: interface vmbr1 warns because 10 Gbit/s is expected and 1 Gbit/s is real; expected_speed_mbit=1000 sets the expectation to 1 Gbit/s. RULE ORDER: the new rule is created in the host's own folder, not in root, so that subfolder precedence applies. Only activate_changes is needed, no service discovery.
| Parameter | Type | Description |
|---|---|---|
expected_speed_mbit * | integer | Expected interface speed in Mbit/s. Typical values: 10, 100, 1000 (1 Gbit/s), 10000 (10 Gbit/s). |
hostname * | string | Checkmk host name, e.g. 'web01.example.com' |
interface_name * | string | Interface name, e.g. 'vmbr1', 'eth0' or 'bond0'. A leading 'Interface ' is stripped if present. |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
description | string | Rule description shown in WATO (optional) |
folder | string | Checkmk folder (optional, defaults to the host's own folder) |
vibemk_set_memory_thresholds Set memory thresholds for a host (checkgroup_parameters:memory_linux), creating a rule for RAM and/or swap usage. IMPORTANT, the memory keys are: RAM = levels_virtual (not 'levels'), swap = levels_swap, physical RAM = levels_ram, committed = levels_committed. RULE ORDER: the new rule is created in the host's own folder, not in root. Check with vibemk_get_ruleset whether a rule for this host already exists and update it with vibemk_update_rule rather than adding a second one. Only activate_changes is needed.
πΎ Set memory thresholds for a host (checkgroup_parameters:memory_linux), creating a rule for RAM and/or swap usage. IMPORTANT, the memory keys are: RAM = levels_virtual (not 'levels'), swap = levels_swap, physical RAM = levels_ram, committed = levels_committed. RULE ORDER: the new rule is created in the host's own folder, not in root. Check with vibemk_get_ruleset whether a rule for this host already exists and update it with vibemk_update_rule rather than adding a second one. Only activate_changes is needed.
| Parameter | Type | Description |
|---|---|---|
hostname * | string | Checkmk host name, e.g. 'web01.example.com' |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
description | string | Rule description shown in WATO (optional) |
folder | string | Checkmk folder (optional, defaults to the host's own folder) |
ram_crit_percent | number | Total virtual memory CRIT in percent (levels_virtual, e.g. 95). Required when ram_warn is set. |
ram_warn_percent | number | Total virtual memory WARN in percent (levels_virtual, e.g. 90). Optional. |
swap_crit_percent | number | Swap usage CRIT threshold in percent (e.g. 50). Required when swap_warn is set. |
swap_warn_percent | number | Swap usage WARN threshold in percent (e.g. 30). Optional. |
vibemk_list_process_rules List process monitoring rules (inventory_processes_rules): which processes are monitored on which hosts, and at what thresholds.
π List process monitoring rules (inventory_processes_rules): which processes are monitored on which hosts, and at what thresholds.
| Parameter | Type | Description |
|---|---|---|
hostname | string | Show only rules for this host (optional) |
process_name | string | Show only rules for this process (optional) |
vibemk_delete_service_param_rule Delete a service parameter rule, such as a process threshold rule. Needs the rule ID from vibemk_list_process_rules.
ποΈ Delete a service parameter rule, such as a process threshold rule. Needs the rule ID from vibemk_list_process_rules.
| Parameter | Type | Description |
|---|---|---|
rule_id * | string | Rule ID, from vibemk_list_process_rules |
activate_changes | boolean | Activate the changes immediately after the operation (default: false). Ask the user first whether they want that. |
vibemk_bake_agents Bake agents
π Bake agents - Trigger agent package baking for all hosts (CEE/Cloud only)
vibemk_baking_status Baking status
π Baking status - Get current agent baking status Enterprise/Cloud only: a Raw site does not serve this endpoint and answers 404.
vibemk_download_agent_by_host Download agent
π¦ Download agent - Get download URL for the agent package of a specific host Enterprise/Cloud only: a Raw site does not serve this endpoint and answers 404.
| Parameter | Type | Description |
|---|---|---|
host_name * | string | Host name to get agent for |
os_type | string | OS type, e.g. linux_deb, linux_rpm, windows_msi |
vibemk_checkmk_rules_guide CheckMK Rules Guide
π CheckMK Rules Guide - Returns the complete guide for rule management, ordering pitfalls, and API tricks. Call this BEFORE creating/modifying rules when unsure about the correct approach.