vibeMK

v0.6.4
io.github.chexma/vibemk Checked 23 hours ago Published 2 months ago

Query 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.

ParameterTypeDescription
test_url *stringFull 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

ParameterTypeDescription
effective_attributesbooleanInclude effective attributes
folderstringFolder path to filter hosts

vibemk_get_host_status Get host status

πŸ“Š Get host status - Show current monitoring status of a specific host

ParameterTypeDescription
host_name *stringName of the host

vibemk_get_host_details Host details

πŸ” Host details - Get comprehensive host information

ParameterTypeDescription
host_name *stringName of the host

vibemk_get_host_config Get host configuration

βš™οΈ Get host configuration - Show host configuration with attributes

ParameterTypeDescription
host_name *stringName 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)

ParameterTypeDescription
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
attributesobjectHost attributes - ipaddress, etc. (single host mode)
bake_agentbooleanWhether to bake agents after creation (bulk mode only)
folderstringFolder path (single host mode)
host_namestringName of the new host (single host mode)
hostsarrayList 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

ParameterTypeDescription
entries *arrayList of hosts to create
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
bake_agentbooleanWhether to bake agents after creation (CheckMK Enterprise Edition only)

vibemk_update_host Update host

πŸ“ Update host - Modify host configuration with flexible attribute management

ParameterTypeDescription
host_name *stringName of the host
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
attributesobjectUpdated attributes
remove_attributesarrayList of attribute names to remove (used with remove mode)
update_modestringUpdate mode: 'update' (merge), 'overwrite' (replace), 'remove' (delete attributes)

vibemk_delete_host Delete host

πŸ—‘οΈ Delete host - Remove host from monitoring

ParameterTypeDescription
host_name *stringName of the host
activate_changesbooleanActivate 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

ParameterTypeDescription
host_name *stringName of the host
target_folder *stringTarget folder path
activate_changesbooleanActivate 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)

ParameterTypeDescription
host_name *stringCurrent host name
new_name *stringNew host name (FQDN)

vibemk_bulk_update_hosts Bulk update hosts

πŸ”„ Bulk update hosts - Update multiple hosts at once

ParameterTypeDescription
entries *arrayOne entry per host to change
activate_changesbooleanActivate 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

ParameterTypeDescription
host_name *stringName of the cluster host
nodes *arrayList of node hostnames for the cluster
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
attributesobjectAdditional host attributes
folderstringFolder path

vibemk_validate_host_config Validate host config

βœ… Validate host config - Validate host configuration before applying changes

ParameterTypeDescription
host_name *stringName of the host to validate
attributesobjectHost attributes to validate
folderstringFolder path
operationstringOperation type (create, update)

vibemk_compare_host_states Compare host states

πŸ”„ Compare host states - Compare current vs desired host configuration

ParameterTypeDescription
desired_attributes *objectDesired host attributes
host_name *stringName of the host

vibemk_get_host_effective_attributes Get effective host attributes

πŸ“‹ Get effective host attributes - Show host attributes including inherited values

ParameterTypeDescription
host_name *stringName of the host

vibemk_get_checkmk_services List services

πŸ”§ List services - Show services with optional host filtering

ParameterTypeDescription
host_namestringFilter by host name

vibemk_get_service_status Get service status

πŸ“Š Get service status - Show current status of a service

ParameterTypeDescription
host_name *stringName of the host
service_description *stringService description

vibemk_get_current_problems Get current problems

🚨 Get current problems - Show all hosts and services with problems

ParameterTypeDescription
host_namestringFilter by host name

vibemk_acknowledge_problem Acknowledge problem

βœ… Acknowledge problem - Acknowledge host or service problem

ParameterTypeDescription
acknowledge_type *stringType: host or service
comment *stringAcknowledgment comment
host_name *stringName of the host
notifybooleanSend notifications to the configured contacts
persistentbooleanKeep the comment after the acknowledgement is removed
service_descriptionstringService description (for service ack)
stickybooleanHold the acknowledgement until the object returns to UP/OK

vibemk_schedule_downtime Schedule downtime

⏰ Schedule downtime - Schedule maintenance downtime

ParameterTypeDescription
comment *stringDowntime comment
downtime_type *stringType: host, service, or hostgroup
end_time *stringEnd time (ISO format)
start_time *stringStart time (ISO format)
host_namestringName of the host
service_descriptionstringService 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.

ParameterTypeDescription
force_foreign_changesbooleanForce activation
sitesarrayList 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

ParameterTypeDescription
parentstringParent folder path to filter

vibemk_create_folder Create folder

βž• Create folder - Add new folder to the structure

ParameterTypeDescription
folder *stringFolder path
title *stringDisplay title
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
parentstringParent folder path

vibemk_delete_folder Delete folder

πŸ—‘οΈ Delete folder - Remove folder (with options for recursive deletion)

ParameterTypeDescription
folder *stringFolder path to delete
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
delete_modestringDelete mode: 'abort_on_nonempty' or 'recursive'

vibemk_update_folder Update folder

πŸ“ Update folder - Modify folder properties

ParameterTypeDescription
folder *stringFolder path
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
attributesobjectFolder attributes
titlestringNew display title

vibemk_move_folder Move folder

πŸ“ Move folder - Move folder to different parent

ParameterTypeDescription
destination *stringNew parent folder path
folder *stringFolder path to move
activate_changesbooleanActivate 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

ParameterTypeDescription
folder *stringFolder path

vibemk_get_users List users

πŸ‘₯ List users - Show all CheckMK users

vibemk_create_user Create user

πŸ‘€ Create user - Add new CheckMK user

ParameterTypeDescription
fullname *stringFull name
username *stringUsername
contactgroupsarrayContact groups to assign user to
emailstringEmail address
passwordstringPassword
rolesarrayUser roles

vibemk_update_user Update user

πŸ“ Update user - Modify user properties

ParameterTypeDescription
username *stringUsername
contactgroupsarrayContact groups to assign user to
emailstringEmail address
fullnamestringFull name
rolesarrayUser roles

vibemk_delete_user Delete user

πŸ—‘οΈ Delete user - Remove CheckMK user

ParameterTypeDescription
username *stringUsername 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

ParameterTypeDescription
alias *stringDisplay alias
name *stringGroup name
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
membersarrayGroup members

vibemk_add_user_to_group Add user to contact group

πŸ‘₯ Add user to contact group - Assign user to contact group

ParameterTypeDescription
group_name *stringContact group name
username *stringUsername

vibemk_remove_user_from_group Remove user from contact group

πŸ‘₯ Remove user from contact group - Remove user from contact group

ParameterTypeDescription
group_name *stringContact group name
username *stringUsername

vibemk_update_contact_group Update contact group

πŸ“ Update contact group - Modify contact group properties

ParameterTypeDescription
name *stringGroup name
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
aliasstringDisplay alias
membersarrayGroup members

vibemk_delete_contact_group Delete contact group

πŸ—‘οΈ Delete contact group - Remove contact group

ParameterTypeDescription
name *stringGroup name to delete
activate_changesbooleanActivate 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)

ParameterTypeDescription
show_builtinbooleanInclude 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

ParameterTypeDescription
role_id *stringID 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

ParameterTypeDescription
base_role_id *stringExisting role ID to clone from (e.g., 'admin', 'user', 'guest')
new_role_id *stringID for the new role
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
new_aliasstringDisplay 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

ParameterTypeDescription
role_id *stringID of the role to update
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
aliasstringNew display name/alias for the role
permissionsobjectPermission 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)

ParameterTypeDescription
role_id *stringID of the custom role to delete
activate_changesbooleanActivate 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

ParameterTypeDescription
alias *stringDisplay alias
name *stringGroup name
activate_changesbooleanActivate 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

ParameterTypeDescription
name *stringGroup name
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
aliasstringDisplay alias

vibemk_delete_host_group Delete host group

πŸ—‘οΈ Delete host group - Remove host group

ParameterTypeDescription
name *stringGroup name to delete
activate_changesbooleanActivate 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

ParameterTypeDescription
host_namestringFilter by host name
service_descriptionstringFilter by service

vibemk_add_comment Add comment

πŸ’¬ Add comment - Add comment to host or service

ParameterTypeDescription
comment *stringComment text
comment_type *stringType: host or service
host_name *stringHost name
persistentbooleanPersistent comment
service_descriptionstringService (for service comments)

vibemk_delete_comment Delete comment

πŸ—‘οΈ Delete comment - Remove a host or service comment by ID or query

ParameterTypeDescription
comment_idintegerComment ID (for delete_type=by_id)
delete_typestringDeletion mode: 'by_id' (requires comment_id) or 'by_query' (requires host_name)
host_namestringHost name (for delete_type=by_query)
service_descriptionstringService description (optional, for delete_type=by_query)
site_idstringSite ID (defaults to configured site)

vibemk_get_downtimes List downtimes

⏰ List downtimes - Show scheduled downtimes

ParameterTypeDescription
host_namestringFilter by host name

vibemk_get_rulesets List rulesets

πŸ“‹ List rulesets - Show available rulesets

ParameterTypeDescription
searchstringSearch 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.

ParameterTypeDescription
ruleset_name *stringRuleset name, e.g. 'active_checks:http' or 'host_label_rules'
hostnamestringShow only rules for this host (optional)
limitintegerMaximum number of rules to return (default: 50)

vibemk_create_rule Create rule

βž• Create rule - Add new monitoring rule

ParameterTypeDescription
rule_config *objectRule configuration
ruleset_name *stringRuleset name
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
commentstringRule comment
conditionsobjectRule conditions
folderstringTarget folder
positionstringWhere to place the new rule. Omit to leave placement to CheckMK. The two *_specific_rule values need target_rule_id.
target_rule_idstringRule to position relative to, for before_specific_rule/after_specific_rule

vibemk_update_rule Update rule

πŸ“ Update rule - Modify existing monitoring rule

ParameterTypeDescription
rule_id *stringRule ID
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
commentstringRule comment
conditionsobjectRule conditions
disabledbooleanDisable rule
rule_configobjectRule configuration

vibemk_delete_rule Delete rule

πŸ—‘οΈ Delete rule - Remove monitoring rule

ParameterTypeDescription
rule_id *stringRule ID to delete
activate_changesbooleanActivate 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

ParameterTypeDescription
rule_id *stringRule ID
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
positionstringWhere to move the rule. The two *_specific_rule values need target_rule_id.
target_rule_idstringRule 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

ParameterTypeDescription
tag_id *stringTag group ID
tags *arrayList of tags with id and title
title *stringTag group title
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
helpstringHelp text
topicstringTag topic/category

vibemk_update_host_tag Update host tag

πŸ“ Update host tag - Modify host tag group

ParameterTypeDescription
tag_id *stringTag group ID
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
helpstringHelp text
repairbooleanRepair host assignments
tagsarrayList of tags with id and title
titlestringTag group title
topicstringTag topic/category

vibemk_delete_host_tag Delete host tag

πŸ—‘οΈ Delete host tag - Remove host tag group

ParameterTypeDescription
tag_id *stringTag group ID to delete
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
repairbooleanRepair 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

ParameterTypeDescription
active_time_ranges *arrayActive time ranges
name *stringTime period name
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
aliasstringTime period alias
exceptionsarrayException time ranges
excludearrayExcluded time periods

vibemk_update_timeperiod Update time period

πŸ“ Update time period - Modify time period configuration

ParameterTypeDescription
name *stringTime period name
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
active_time_rangesarrayActive time ranges
aliasstringTime period alias
exceptionsarrayException time ranges
excludearrayExcluded time periods

vibemk_delete_timeperiod Delete time period

πŸ—‘οΈ Delete time period - Remove time period

ParameterTypeDescription
name *stringTime period name to delete
activate_changesbooleanActivate 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

ParameterTypeDescription
ident *stringPassword identifier
password *stringPassword value
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
commentstringPassword description
documentation_urlstringDocumentation URL
ownerstringOwner user/group
sharedarrayShared with users/groups
titlestringPassword title

vibemk_update_password Update password

πŸ“ Update password - Modify stored password

ParameterTypeDescription
ident *stringPassword identifier
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
commentstringPassword description
documentation_urlstringDocumentation URL
ownerstringOwner user/group
passwordstringPassword value
sharedarrayShared with users/groups
titlestringPassword title

vibemk_delete_password Delete password

πŸ—‘οΈ Delete password - Remove stored password

ParameterTypeDescription
ident *stringPassword identifier to delete
activate_changesbooleanActivate 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.

ParameterTypeDescription
rule_id *stringRule 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.

ParameterTypeDescription
rule_config *objectComplete 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.

ParameterTypeDescription
rule_config *objectComplete replacement configuration
rule_id *stringRule ID from get_notification_rules

vibemk_delete_notification_rule Delete notification rule

πŸ—‘οΈ Delete notification rule - Remove a notification rule by ID. Activate changes afterwards.

ParameterTypeDescription
rule_id *stringRule ID from get_notification_rules

vibemk_get_host_metrics Get host metrics

πŸ“Š Get host metrics - Extract performance data from CheckMK RRD databases

ParameterTypeDescription
host_name *stringHost name
metric_namestringSpecific metric name (optional)
reducestringAggregation function: 'max', 'min', 'average'
time_rangestringTime range: '1h', '4h', '24h', '7d', '30d'

vibemk_get_service_metrics Get service metrics

πŸ“Š Get service metrics - Extract service performance data from CheckMK metrics API

ParameterTypeDescription
host_name *stringHost name
service_description *stringService description
metric_namestringSpecific metric ID (e.g., 'if_in_bps', 'cpu_util')
reducestringAggregation function: 'max', 'min', 'average'
sitestringCheckMK site name
time_rangestringTime 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.

ParameterTypeDescription
custom_graph_id *stringCustom graph ID
reducestringAggregation function
time_rangestringTime 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.

ParameterTypeDescription
host_filter *stringHost filter pattern
graph_idstringID of a predefined graph, e.g. cmk_cpu_time_by_phase. Exclusive with metric_id
metric_idstringID of a single metric, e.g. cmk_time_agent. Exclusive with graph_id
reducestringAggregation function
service_filterstringService filter pattern (optional)
site_filterstringSite filter (optional)
time_rangestringTime range

vibemk_list_available_metrics List available metrics

πŸ“‹ List available metrics - Show all available metrics for host or service

ParameterTypeDescription
host_name *stringHost name
service_descriptionstringService 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

ParameterTypeDescription
contact_groups *arrayList of contact group names to assign
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
commentstringRule comment
folderstringFolder path
host_conditionsobjectConditions 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

ParameterTypeDescription
host_groups *arrayList of host group names to assign
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
commentstringRule comment
folderstringFolder path
host_conditionsobjectConditions 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

ParameterTypeDescription
host_name *stringHost name to schedule downtime for
commentstringComment describing the reason for downtime. Default: 'Scheduled maintenance'
durationinteger | stringDowntime duration - supports natural language: '2h', '1h30m', '90m' or minutes as integer. Default: 60
end_timestringEnd time - supports natural language: '23:30 today', 'tomorrow at 16:00', 'monday at 17:00', or relative like '+2h'. Optional if duration specified
forcebooleanSchedule even if a downtime with the same comment already exists. Default: false
recurstringRepeat the downtime. Commercial editions only: a Raw/Community site accepts it but schedules the downtime once. Default: once
start_timestringStart 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

ParameterTypeDescription
host_name *stringHost name where services are located
service_descriptions *arrayList of service descriptions to schedule downtime for
commentstringComment describing the reason for downtime. Default: 'Scheduled service maintenance'
durationinteger | stringDowntime duration - supports natural language: '2h', '1h30m', '90m' or minutes as integer. Default: 60
end_timestringEnd time - supports natural language: '23:30 today', 'tomorrow at 16:00', 'monday at 17:00', or relative like '+2h'. Optional if duration specified
forcebooleanSchedule even if a downtime with the same comment already exists. Default: false
recurstringRepeat the downtime. Commercial editions only: a Raw/Community site accepts it but schedules the downtime once. Default: once
start_timestringStart 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

ParameterTypeDescription
active_onlybooleanShow only active downtimes (default: true)
host_namestringOptional: Filter downtimes for specific host
service_descriptionstringOptional: Filter downtimes for specific service

vibemk_get_active_downtimes Get active downtimes

πŸ”΄ Get active downtimes - Show only currently active downtimes that are suppressing alerts

ParameterTypeDescription
host_namestringOptional: Filter active downtimes for specific host

vibemk_delete_downtime Delete downtime

πŸ—‘οΈ Delete downtime - Cancel a scheduled or active downtime by ID

ParameterTypeDescription
downtime_id *integerDowntime 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

ParameterTypeDescription
host_name *stringHost name to check downtime status for

vibemk_modify_downtime Modify downtime

✏️ Modify downtime - Extend or shorten an active downtime's end time

ParameterTypeDescription
end_time *stringNew end time in ISO 8601 format, e.g. '2026-06-09T18:00:00Z'
commentstringNew comment (optional)
downtime_idintegerDowntime ID to modify (use vibemk_list_downtimes to find it)
host_namestringHost name for query-based modification (alternative to downtime_id)
service_descriptionstringService description (optional, narrows query-based modification)

vibemk_start_service_discovery Start service discovery

πŸ” Start service discovery - Automatically detect services on a host

ParameterTypeDescription
host_name *stringHost name to discover services on
modestringDiscovery 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

ParameterTypeDescription
hostnames *arrayList of host names to discover services on
bulk_sizeintegerNumber of hosts to process simultaneously
do_full_scanbooleanPerform full service scan
ignore_errorsbooleanContinue on errors
optionsobjectDiscovery options

vibemk_get_discovery_status Get discovery status

πŸ“Š Get discovery status - Show current service discovery results for a host

ParameterTypeDescription
host_name *stringHost 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

ParameterTypeDescription
job_id *stringBulk discovery job ID

vibemk_wait_for_discovery Wait for discovery completion

⏳ Wait for discovery completion - Wait until service discovery finishes on a host

ParameterTypeDescription
host_name *stringHost name to wait for discovery completion
timeoutnumberSeconds 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

ParameterTypeDescription
host_name *stringHost name to check background job status

vibemk_create_service_group Create service group

πŸ”§ Create service group - Create a new service group for organizing services

ParameterTypeDescription
alias *stringHuman-readable description/alias for the service group
name *stringService group name (letters, numbers, hyphens, underscores only)
activate_changesbooleanActivate 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

ParameterTypeDescription
name *stringService group name to retrieve

vibemk_update_service_group Update service group

πŸ“ Update service group - Modify an existing service group's alias

ParameterTypeDescription
alias *stringNew alias/description for the service group
name *stringService group name to update
activate_changesbooleanActivate 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

ParameterTypeDescription
name *stringService group name to delete
activate_changesbooleanActivate 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

ParameterTypeDescription
entries *arrayList of service groups to create
activate_changesbooleanActivate 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

ParameterTypeDescription
entries *arrayList of service groups to update
activate_changesbooleanActivate 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

ParameterTypeDescription
entries *arrayList of service group names to delete
activate_changesbooleanActivate 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)

ParameterTypeDescription
deprecatedbooleanOnly show deprecated rulesets
folderstringThe folder in which to search for rules. Path delimiters can be ~, /, or \
fulltextstringSearch all keys (name, title, help) for this text. Regex allowed.
namestringA regex of the ruleset name
usedbooleanOnly show used rulesets

vibemk_show_ruleset Show ruleset details

πŸ“‹ Show ruleset details - Display detailed information about a specific ruleset

ParameterTypeDescription
ruleset_name *stringThe 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

ParameterTypeDescription
limitintegerMaximum number of rulesets to return
show_deprecatedbooleanInclude deprecated rulesets in the list

vibemk_acknowledge_host_problem Acknowledge host problem

βœ… Acknowledge host problem - Suppress notifications for a DOWN/UNREACHABLE host

ParameterTypeDescription
host_name *stringHost name
commentstringWhy the problem is being acknowledged
expire_onstringOptional expiry as ISO-8601, e.g. 2026-12-24T22:00:00Z
notifybooleanSend notifications to the configured contacts
persistentbooleanKeep the comment after the acknowledgement is removed
stickybooleanHold 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

ParameterTypeDescription
host_name *stringHost name
service_description *stringService name exactly as CheckMK shows it, e.g. 'CPU utilization'
commentstringWhy the problem is being acknowledged
expire_onstringOptional expiry as ISO-8601, e.g. 2026-12-24T22:00:00Z
notifybooleanSend notifications to the configured contacts
persistentbooleanKeep the comment after the acknowledgement is removed
stickybooleanHold 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

ParameterTypeDescription
acknowledgement_idstringAcknowledgement ID from list_acknowledgements
comment_patternstringRemove acknowledgements whose comment contains this text
delete_all_matchingbooleanRemove every match instead of only the first (default: false)
host_namestringRemove the acknowledgement on this host
service_descriptionstringRestrict 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.

ParameterTypeDescription
source_hostname *stringSource host name, e.g. 'web01.example.com'
target_hostname *stringNew host name, e.g. 'web02.example.com'
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
ip_addressstringOptional 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.

ParameterTypeDescription
hostname *stringHost the rule applies to (Checkmk host name)
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
address_familystringIP version: 'ipv4' or 'ipv6' (optional)
auth_passwordstringHTTP basic auth password (optional)
auth_userstringHTTP basic auth user name (optional)
cert_days_critintegerCRIT this many days before the certificate expires (default: 7, cert_mode only)
cert_days_warnintegerWARN this many days before the certificate expires (default: 14, cert_mode only)
cert_modebooleanCheck certificate expiry instead of the URL (default: false)
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
direct_addressstringAddress to contact instead of the host name (optional)
expect_regexstringRegular expression the response body must match, e.g. '"status":\s*"ok"'
expect_responsestringExpected HTTP status line, e.g. 'HTTP/1.1 200' or 'HTTP/1.1 404'
expect_stringstringLiteral string the response body must contain, e.g. 'ok' or 'healthy'
extended_perfdatabooleanCollect extended performance data such as body and header size (default: false)
folderstringCheckmk folder (optional, defaults to the host's own folder)
methodstringHTTP method: GET, POST, HEAD, PUT, DELETE, OPTIONS, CONNECT (default: GET)
namestringService name in the monitoring, e.g. 'HTTP Main' or 'API Health'
no_bodybooleanFetch headers only, not the body (default: false)
onredirectstringRedirect handling: 'ok', 'warning', 'critical', 'follow', 'sticky', 'stickyport'
portintegerHTTP port (default: 80, or 443 with SSL)
proxy_addressstringHTTP proxy address (optional, e.g. 'proxy.internal')
proxy_portintegerHTTP proxy port (default: 80)
response_time_critnumberResponse time CRIT threshold in seconds, e.g. 5.0
response_time_warnnumberResponse time WARN threshold in seconds, e.g. 2.0
sslbooleanUse HTTPS/SSL (default: false)
timeoutintegerTimeout in seconds (optional)
uristringURL path, or a full URL (default: '/')
virt_hoststringVirtual 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.

ParameterTypeDescription
hostname *stringHostname
port *integerTCP port, e.g. 8080
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
cert_days_critintegerCRIT this many days before the certificate expires (ssl=true only)
cert_days_warnintegerWARN this many days before the certificate expires (ssl=true only)
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
expectstringString expected in the TCP response, e.g. 'SSH-2.0' or 'Connection refused'
folderstringCheckmk folder (optional)
mismatch_statestringState when the expected string does not match: 'ok', 'warn', 'crit'
namestringOptional service name
refuse_statestringState when the port refuses the connection: 'ok', 'warn', 'crit' (default: 'crit')
response_time_critnumberResponse time CRIT threshold in seconds
response_time_warnnumberResponse time WARN threshold in seconds
sslbooleanUse SSL/TLS (default: false)
timeoutintegerTimeout 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.

ParameterTypeDescription
hostname *stringHostname
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
explicit_addressstringPing this address instead of the host name (optional)
folderstringCheckmk folder (optional)
loss_crit_percentnumberPacket loss CRIT threshold in percent, e.g. 100
loss_warn_percentnumberPacket loss WARN threshold in percent, e.g. 20
min_pingsintegerMinimum number of replies for the result to count (optional)
namestringService name (default: 'PING')
packetsintegerNumber of packets (default: 5)
rta_crit_msnumberRound-trip time CRIT threshold in milliseconds, e.g. 500
rta_warn_msnumberRound-trip time WARN threshold in milliseconds, e.g. 200
timeoutnumberTimeout 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.

ParameterTypeDescription
command_line *stringPlugin command line, e.g. '$USER1$/check_smtp -H $HOSTNAME$ -t 5'
hostname *stringHostname
service_description *stringService name in the monitoring
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
command_namestringOptional internal name for the command
descriptionstringRule description, shown in WATO. Pick one that says what the rule is for.
folderstringCheckmk 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.

ParameterTypeDescription
hostname *stringHost the rule applies to
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
dns_serverstringDNS server IP (optional, defaults to the system resolver)
expect_all_addressesbooleanRequire every expected_addresses entry to be returned (default: false)
expected_addressesstringExpected IP address or addresses, one or a comma-separated list (optional)
folderstringCheckmk folder (optional)
lookup_hostnamestringName to resolve (defaults to hostname)
response_time_critnumberCRIT threshold in seconds (default: 0.3)
response_time_warnnumberWARN 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.

ParameterTypeDescription
hostname *stringHostname
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
cert_days_critintegerCRIT this many days before the certificate expires (default: 7, with starttls or check_cert)
cert_days_warnintegerWARN this many days before the certificate expires (default: 14, with starttls or check_cert)
check_certbooleanCheck the certificate only, without STARTTLS (default: false)
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
folderstringCheckmk folder (optional)
namestringService name (default: 'SMTP')
portintegerSMTP port, e.g. 587 for submission or 465 for SMTPS (default: the check's own, 25)
starttlsbooleanUse 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.

ParameterTypeDescription
hostname *stringHostname
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
folderstringCheckmk folder (optional)
portintegerFTP port (default: 21)
refuse_statestringState when the connection is refused: 'crit', 'warn', 'ok' (default: 'crit')
timeoutintegerTimeout 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.

ParameterTypeDescription
base_dn *stringLDAP base DN, e.g. 'DC=example,DC=com'
hostname *stringHostname
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
attributestringLDAP attribute or filter string (optional, e.g. '(objectclass=*)')
bind_dnstringBind DN for authentication (optional)
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
folderstringCheckmk folder (optional)
namestringService name (default: 'LDAP')
passwordstringLDAP password (optional)
portintegerLDAP port (optional, default: 389)
response_time_crit_msnumberResponse time CRIT threshold in milliseconds (default: 800)
response_time_warn_msnumberResponse 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.

ParameterTypeDescription
hostname *stringHostname
share *stringShare name without backslashes, e.g. 'public'
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
crit_percentnumberUsed space CRIT threshold in percent (default: 95)
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
folderstringCheckmk folder (optional)
passwordstringSMB password (optional)
smb_hoststringSMB host IP or name (default: 'use_parent_host')
usernamestringSMB user name (optional)
warn_percentnumberUsed space WARN threshold in percent (default: 85)
workgroupstringWorkgroup 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.

ParameterTypeDescription
hostname *stringHostname
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
folderstringCheckmk folder (optional)
ignore_acknowledgedbooleanIgnore acknowledged events (default: true)
remote_ec_hoststringIP or host of an external Event Console (optional)
show_last_logstring'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.

ParameterTypeDescription
hostname *stringHostname
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
fail_statusintegerState when the inventory fails: 0=OK, 1=WARN, 2=CRIT (default: 0)
folderstringCheckmk folder (optional)
hw_changes_stateintegerState on hardware changes: 0=OK, 1=WARN, 2=CRIT (default: 0)
status_data_inventorybooleanEnable status data inventory (default: true)
sw_changes_stateintegerState on software changes: 0=OK, 1=WARN, 2=CRIT (default: 0)
sw_missing_stateintegerState 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.

ParameterTypeDescription
check_typestringType: 'http', 'tcp', 'icmp', 'dns', 'smtp', 'custom' (optional, all types when empty)
hostnamestringShow 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.

ParameterTypeDescription
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
check_typestringCheck type filter: 'http', 'tcp', 'icmp', 'custom' (optional)
hostnamestringHost name; finds every active check rule for this host
rule_idstringRule ID (UUID) β€” deletes that rule directly
service_namestringOptional 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.

ParameterTypeDescription
applicationstringApplication filter
hoststringHost name filter
phasestringPhase: 'open' (default) or 'ack' (acknowledged)
site_idstringSite ID, e.g. 'im' or 'uel'
statestringState filter: 'ok', 'warning', 'critical', 'unknown'

vibemk_acknowledge_event Acknowledge an Event Console event.

βœ… Acknowledge an Event Console event.

ParameterTypeDescription
event_id *integerEvent ID
commentstringComment recorded with the acknowledgement
site_idstringSite 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.

ParameterTypeDescription
event_id *integerEvent ID
new_state *stringNew state: 'ok', 'warning', 'critical', 'unknown'
site_idstringSite 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.

ParameterTypeDescription
event_idsarrayList of event IDs; when empty, phase and host are used as the filter
hoststringDelete only the events of this host
phasestringPhase filter: 'open', 'ack' (default: 'open')
site_idstringSite 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.

ParameterTypeDescription
tag_id *stringUnique tag ID, e.g. 'sys-linux'
title *stringDisplay name, e.g. 'Linux System'
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
helpstringHelp text
topicstringTopic the tag is grouped under, e.g. 'Operating System'

vibemk_update_aux_tag Update an auxiliary tag.

🏷️ Update an auxiliary tag.

ParameterTypeDescription
tag_id *stringTag ID
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
helpstringNew help text
titlestringNew display name
topicstringNew topic

vibemk_delete_aux_tag Delete an auxiliary tag.

πŸ—‘οΈ Delete an auxiliary tag.

ParameterTypeDescription
tag_id *stringTag ID
activate_changesbooleanActivate 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.

ParameterTypeDescription
datestringStart date (YYYY-MM-DD, default: today)
limitintegerMaximum number of entries (default: 50)
object_idstringObject name filter, e.g. a host name
object_typestringObject type filter: 'All', 'Folder', 'Host', 'User', 'Rule', 'Ruleset'
regexpstringRegular expression filtered against user_id, action and summary
user_idstringUser 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).

ParameterTypeDescription
password *stringPassword
site_id *stringSite ID, e.g. 'uel' or 'ham'
username *stringUser name

vibemk_logout_site Log out of a remote site.

πŸšͺ Log out of a remote site.

ParameterTypeDescription
site_id *stringSite 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.

ParameterTypeDescription
crit_max *integerCRITICAL when more than this many processes run (e.g. 12)
hostname *stringCheckmk host name the rule applies to
process_name *stringProcess 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 *integerWARNING when more than this many processes run (e.g. 10)
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
cpu_average_minintegerAverage CPU over N minutes instead of using the instantaneous value (optional, e.g. 15)
cpu_crit_percentnumberTotal CPU usage CRIT threshold in percent (optional, e.g. 95)
cpu_warn_percentnumberTotal CPU usage WARN threshold in percent (optional, e.g. 80)
crit_minintegerCRITICAL when fewer than this many processes run (default: 1)
descriptionstringRule description shown in WATO. Pick one that says what the rule is for.
folderstringCheckmk folder (optional, defaults to the host's own folder)
mem_crit_mbintegerVirtual memory CRIT threshold in MB (optional)
mem_warn_mbintegerVirtual memory WARN threshold in MB (optional)
resident_crit_mbintegerResident memory (RSS) CRIT threshold in MB (optional)
resident_warn_mbintegerResident memory (RSS) WARN threshold in MB (optional)
run_discoverybooleanRun a service discovery after creating the rule (default: true). Set it to false only when creating several rules at once.
single_cpu_crit_percentnumberPer-process CPU usage CRIT threshold in percent (optional)
single_cpu_warn_percentnumberPer-process CPU usage WARN threshold in percent (optional)
warn_minintegerWARNING 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.

ParameterTypeDescription
expected_speed_mbit *integerExpected interface speed in Mbit/s. Typical values: 10, 100, 1000 (1 Gbit/s), 10000 (10 Gbit/s).
hostname *stringCheckmk host name, e.g. 'web01.example.com'
interface_name *stringInterface name, e.g. 'vmbr1', 'eth0' or 'bond0'. A leading 'Interface ' is stripped if present.
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
descriptionstringRule description shown in WATO (optional)
folderstringCheckmk 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.

ParameterTypeDescription
hostname *stringCheckmk host name, e.g. 'web01.example.com'
activate_changesbooleanActivate the changes immediately after the operation (default: false). Ask the user first whether they want that.
descriptionstringRule description shown in WATO (optional)
folderstringCheckmk folder (optional, defaults to the host's own folder)
ram_crit_percentnumberTotal virtual memory CRIT in percent (levels_virtual, e.g. 95). Required when ram_warn is set.
ram_warn_percentnumberTotal virtual memory WARN in percent (levels_virtual, e.g. 90). Optional.
swap_crit_percentnumberSwap usage CRIT threshold in percent (e.g. 50). Required when swap_warn is set.
swap_warn_percentnumberSwap 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.

ParameterTypeDescription
hostnamestringShow only rules for this host (optional)
process_namestringShow 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.

ParameterTypeDescription
rule_id *stringRule ID, from vibemk_list_process_rules
activate_changesbooleanActivate 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.

ParameterTypeDescription
host_name *stringHost name to get agent for
os_typestringOS 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.