Skip to content

Interface between i-doit asset management and Check_MK monitoring written in php

License

Notifications You must be signed in to change notification settings

jpylypiw/i-do-checkmk

Repository files navigation

i-do-checkmk

Build Status Codacy Badge Code Climate Coverage Status status

This is a interface between Check_MK Monitoring and i-doit IT Documentation tool.

Contributors: kingjp
Requires at least: i-doit 1.8, check_mk 1.4.0, PHP5
Tested up to: PHP7.1
Release tag: 0.0.3 alpha
License: GPLv3 or later

Description

The first question you might ask is: Why do you combine the two software? Check_MK contains its own inventory of software and hardware components. This information is read from each device.
So why should'nt we use this information?

i-doit is a powerful software for inventorying and managing hardware and software. The maintenance of the information can be quite complex depending on the extent. For this reason, we have created the possibility to automatically synchronize the information from Check_MK with the information from i-doit.

Installation

You can use i-do-checkmk on Windows an Linux platforms. It is written in PHP and needs at lease PHP Version 5.0. The script is optimized for use in the command line and does not contain a nice interface. We recommend that you use git to keep i-do-checkmk up-to-date. In the installation manual, we will show the use of git and the manual installation.

Installation with git

Please follow these simple steps to install i-do-check_mk.

  1. set up php-cli with curl addon on your system
  2. git clone https://github.com/KingJP/i-do-checkmk.git
  3. cd i-do-checkmk
  4. open config.php and set up configuration
  5. php i-do-checkmk.php
  6. search for dependency errors in output

Manual installation

The manual installation is more complicated, but still simple. Please follow the steps carefully.

  1. set up php-cli with curl addon on your system
  2. download i-do-checkmk from GitHub master.
  3. unzip master.zip and upload the content on your server
  4. open the folder containing config.php
  5. open config.php and set up configuration
  6. php i-do-checkmk.php
  7. search for dependency errors in output

Updating

Updating with git is quite simple. You have to execute git pull in i-do-checkmk directory.

Updating manually installed version is simple too. Save your config.php in another folder. Delete i-do-checkmk folder. Reinstall i-do-checkmk manually and replace config.php.

Contributing

Pull requests are welcome. Have a look in out Wiki before posting an issue. Your question may be answered there. Please review the code of conduct.

Changelog

Preview: 0.0.4 (2017-05-??)

Features:

  • Disable some useless checks on Codeclimate
  • Added Nightly PHP Version to Build
  • All PHP Versions have to be build correctly
  • Set static phpunit version at trivis-ci build
  • Added Composer.json
  • Dependency Check Test
  • Moved Sourcecode to src folder

Bugfixes:

  • Prettify Code in class-check-mk.php
  • Minor Changes in class-check-mk.php for PHP Nightly

0.0.3 (2017-05-19)

Features:

  • Unit Testing using PHPUnit
  • Automated building and testing with Travis-CI
  • Added Status Badge in README
  • Calculating test coverage using Coveralls
  • Code Tests using Codacy and Code Climate

Bugfixes:

  • Major bug fixes in class-check-mk.php

0.0.2 (2017-05-09)

Features:

  • Added Check_MK Inventory API (Requires Check_MK 1.4.0i1)

Bugfixes:

  • Charset Fixes in Send Request with Charset Encoding
  • Code Cleanup in validate_response

0.0.1 (2017-05-06)

Features:

  • Created Class for Check_MK API
  • Created Class for checking PHP dependencies
  • Added Code of Conduct

About

Interface between i-doit asset management and Check_MK monitoring written in php

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages