AutomationFlowsGeneral › Checkmk Example Workflow

Checkmk Example Workflow

Checkmk Example Workflow. Uses n8n-nodes-checkmk. Event-driven trigger; 6 nodes.

Event trigger★★★★☆ complexity6 nodesN8N Nodes Checkmk
General Trigger: Event Nodes: 6 Complexity: ★★★★☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "Checkmk Example Workflow",
  "nodes": [
    {
      "parameters": {},
      "id": "start-node",
      "name": "When clicking \"Execute Workflow\"",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "resource": "host",
        "operation": "create",
        "hostName": "example-server-01",
        "folder": "/",
        "attributes": {
          "values": {
            "ipaddress": "192.168.1.100",
            "alias": "Example Server 01",
            "tag_agent": "cmk-agent"
          }
        }
      },
      "id": "create-host",
      "name": "Create Host",
      "type": "n8n-nodes-checkmk.checkmk",
      "typeVersion": 1,
      "position": [
        460,
        300
      ],
      "credentials": {
        "checkmkApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "host",
        "operation": "get",
        "hostName": "={{$node[\"Create Host\"].json[\"id\"]}}"
      },
      "id": "get-host",
      "name": "Get Host",
      "type": "n8n-nodes-checkmk.checkmk",
      "typeVersion": 1,
      "position": [
        680,
        300
      ],
      "credentials": {
        "checkmkApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "downtime",
        "operation": "create",
        "downtimeType": "host",
        "hostName": "={{$node[\"Create Host\"].json[\"id\"]}}",
        "startTime": "={{$now.toISO()}}",
        "endTime": "={{$now.plus({hours: 2}).toISO()}}",
        "comment": "Scheduled maintenance for example server"
      },
      "id": "create-downtime",
      "name": "Create Downtime",
      "type": "n8n-nodes-checkmk.checkmk",
      "typeVersion": 1,
      "position": [
        900,
        300
      ],
      "credentials": {
        "checkmkApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "service",
        "operation": "getMany",
        "hostName": "={{$node[\"Create Host\"].json[\"id\"]}}",
        "returnAll": true
      },
      "id": "get-services",
      "name": "Get Services",
      "type": "n8n-nodes-checkmk.checkmk",
      "typeVersion": 1,
      "position": [
        1120,
        300
      ],
      "credentials": {
        "checkmkApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "resource": "problem",
        "operation": "getMany",
        "returnAll": false,
        "limit": 10
      },
      "id": "get-problems",
      "name": "Get Problems",
      "type": "n8n-nodes-checkmk.checkmk",
      "typeVersion": 1,
      "position": [
        460,
        500
      ],
      "credentials": {
        "checkmkApi": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "When clicking \"Execute Workflow\"": {
      "main": [
        [
          {
            "node": "Create Host",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Problems",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Host": {
      "main": [
        [
          {
            "node": "Get Host",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Host": {
      "main": [
        [
          {
            "node": "Create Downtime",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Downtime": {
      "main": [
        [
          {
            "node": "Get Services",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Checkmk Example Workflow. Uses n8n-nodes-checkmk. Event-driven trigger; 6 nodes.

Source: https://github.com/LynxmindRepo/n8n-nodes-checkmk/blob/143d9540708ec4d9bca90c94662a7f3027439923/examples/example-workflow.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Product - Google Search Console API Examples. Uses httpRequest. Event-driven trigger; 36 nodes.

HTTP Request
General

Metavoir Creative Intake To Review Brief. Event-driven trigger; 21 nodes.

General

Retry on fail except for known error Template. Uses stopAndError, noOp, stickyNote, manualTrigger. Event-driven trigger; 19 nodes.

Stop And Error
General

02 - Flow Control Demo (IF & Switch). Event-driven trigger; 16 nodes.

General

Multi-Service Screenshot Scraping: ScraperAPI, Scrapingdog, & ScreenshotOne. Uses manualTrigger, httpRequest, stickyNote, dateTime. Event-driven trigger; 13 nodes.

HTTP Request