Check_Mk Monitoring Task Plugin

bocradu edited this page Jan 19, 2016 · 2 revisions

Install plugin

  • Download gocd-check_mk-plugin
  • Copy it to Go.CD server plugin external folder (path to go-server/plugins/external)
  • Restart go-server service.

Create a host to monitor

A host needs to be created in order to monitor it using Check_MK(i.e Virtual machine on a cloud service)

Add and configure a task in your pipeline

Add the Check_MK monitoring task to your pipeline

Select "Monitoring - Check MK" from add task drop down list.

Configure server credentials

The plugin requires the following parameters and action to be selected:

  • CheckMK server - url of the Check_MK monitoring server (i.e http://{server}/{omdsite}/check_mk/webapi.py); the url does not need to be ended in a "/"
  • Username - username of the automation account created for the Check_MK server
  • Password- password of the automation account created for the Check_MK server
  • Select action - add or remove action is required to go to the next steps

Add Host Action

Adds a host to the monitoring server. If the host does not exist or some error appeared on the server the task will fail. Get the name and ip of the host from your vCloud: Host name Host ip The following parameters will be available and required once Add host action is selected

Parameters
  • Host name - name of the host to be monitored (i.e name of a virtual machine on a cloud server)
  • Host Ip - ip of the host to be monitored
  • Folder Path - path where the host will be added on the monitoring server (i.e windows/someFolder/otherFolder); the path does not need to be ended in a "/"

Remove Host Action

Removes a host from the monitoring server. If the host does not exist on the monitoring server the task will return ok anyway(e.g a host exists or does not exist) The following parameters will be available and required once Remove host action is selected

Parameters
  • Host name - name of the host to be removed(i.e name of a virtual machine on a cloud server)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.