GithubHelp home page GithubHelp logo

jiuka / checkmk_win_adsync Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 134 KB

Checkmk extension for Windows Azure AD Connect sync service

Home Page: https://exchange.checkmk.com/p/win-adsync

License: GNU General Public License v2.0

Python 87.20% PowerShell 4.13% Dockerfile 2.21% Shell 6.46%
checkmk-extension azure checkmk

checkmk_win_adsync's Introduction

Checkmk extension for Azure AD Connect

build flake8 pytest

Description

This Plugin and check can monitor the Azure AD Connect Sync Service

Screenshots

Services

Services

Metrics

Metrics

Development

For the best development experience use VSCode with the Remote Containers extension. This maps your workspace into a checkmk docker container giving you access to the python environment and libraries the installed extension has.

Directories

The following directories in this repo are getting mapped into the Checkmk site.

  • agents, checkman, checks, doc, inventory, notifications, pnp-templates, web are mapped into local/share/check_mk/
  • agent_based is mapped to local/lib/check_mk/base/plugins/agent_based
  • nagios_plugins is mapped to local/lib/nagios/plugins

Continuous integration

Local

To build the package hit Crtl+Shift+B to execute the build task in VSCode.

pytest can be executed from the terminal or the test ui.

Github Workflow

The provided Github Workflows run pytest and flake8 in the same checkmk docker conatiner as vscode.

checkmk_win_adsync's People

Contributors

jiuka avatar m4c3 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

m4c3 emanuel-bs

checkmk_win_adsync's Issues

Issue with US vs DE Date

Hi,
found an issue with the date parsing in

parsed[key] = time.strptime(value, "%d.%m.%Y %H:%M:%S")

the agent returns the date in US notation:
ValueError (time data u'6/4/2020 2:32:19 PM' does not match format '%d.%m.%Y %H:%M:%S')

<<<win_adsync_scheduler:sep(0):encoding(cp437)>>>


AllowedSyncCycleInterval : 00:30:00
CurrentlyEffectiveSyncCycleInterval : 00:30:00
CustomizedSyncCycleInterval : 00:05:00
NextSyncCyclePolicyType : Delta
NextSyncCycleStartTimeInUTC : 6/4/2020 3:02:19 PM
PurgeRunHistoryInterval : 1.00:00:00
SyncCycleEnabled : True
MaintenanceEnabled : True
StagingModeEnabled : False
SchedulerSuspended : False
SyncCycleInProgress : False

<<<win_adsync_connector:sep(59):encoding(cp437)>>>
sx.onmicrosoft.com - AAD Delta Import;success;8.504;06/04/2020 14:32:43;
sx.onmicrosoft.com - AAD Delta Synchronization;success;1.297;06/04/2020 14:32:48;
sx.onmicrosoft.com - AAD Export;success;31.864;06/04/2020 14:33:20;
example.com Delta Import;success;13.296;06/04/2020 14:32:34;
example.com Delta Synchronization;success;3.406;06/04/2020 14:32:47;
example.com Export;completed-export-errors;0.11;06/04/2020 14:33:21;

any idea for a convinient way to catch this?
thanks Matthias

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.