GithubHelp home page GithubHelp logo

jiuka / checkmk_veeam_o365 Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 1.0 182 KB

Checkmk Agent Plugin and Checks for Veeam for Office 365

Home Page: https://exchange.checkmk.com/p/veeam-o365

License: GNU General Public License v2.0

PowerShell 5.35% Python 90.44% Dockerfile 1.05% Shell 3.15%
checkmk-extension veeam checkmk

checkmk_veeam_o365's People

Contributors

jiuka avatar mape2k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

checkmk_veeam_o365's Issues

updating CheckMK fails due to autocheck migration failing with 2.7.0 if jobs have been discovered

CheckMK: now 2.3.0p6.cee
Plugin version: 2.7.0

What happens: when I update CheckMK (e.g. from 2.3.0p5.cee to 2.3.0p6.cee or from 2.3.0p6.cee to 2.3.0p6.cme) the update stops in the middle with the following error message:

 05/06 Autochecks...
veeam_o365jobs: Migration failed: params={'jobId': '4909334d-63e1-4313-856f-ce0ace8e2280'} for plug-in 'veeam_o365jobs': 'jobId'.
You can abort and fix this manually. If you continue, 1 service(s) on 1 host(s) will be lost, but can be rediscovered. Abort the update process? [A/c]

At this point I have to continue the process. However, all services that the veeam_o365 plugin has detected have vanished after the update. I have to re-discover them. After re-discovering them the plugin works fine again.

check_mk-veeam_o365jobs check crashed version 2.2

image

Hi,
I'm currently using the Checkmk CEE 2.0.0p3 on Ubuntu Server LTS 20.04 and the check_mk-veeam_o365jobs check is crashing.
Is it a bug or is there something wrong with my implementation?

Thanks in advance!

Norm

2.7.0 Install Error

Installation directly in version 2.2.0p27 in preparation for the upgrade to 2.3.0p7, i.e. enabled but not active (see https://docs.checkmk.com/latest/de/mkps.html#enabled_inactive)

image

Text:
This package cannot be uploaded: 1 validation error for Manifest files -> __key__ value is not a valid enumeration member; permitted: 'ec_rule_packs', 'agent_based', 'checks', 'inventory', 'checkman', 'agents', 'notifications', 'gui', 'web', 'pnp-templates', 'doc', 'locales', 'bin', 'lib', 'mibs', 'alert_handlers' (type=type_error.enum; enum_values=[<PackagePart.EC_RULE_PACKS: 'ec_rule_packs'>, <PackagePart.AGENT_BASED: 'agent_based'>, <PackagePart.CHECKS: 'checks'>, <PackagePart.HASI: 'inventory'>, <PackagePart.CHECKMAN: 'checkman'>, <PackagePart.AGENTS: 'agents'>, <PackagePart.NOTIFICATIONS: 'notifications'>, <PackagePart.GUI: 'gui'>, <PackagePart.WEB: 'web'>, <PackagePart.PNP_TEMPLATES: 'pnp-templates'>, <PackagePart.DOC: 'doc'>, <PackagePart.LOCALES: 'locales'>, <PackagePart.BIN: 'bin'>, <PackagePart.LIB: 'lib'>, <PackagePart.MIBS: 'mibs'>, <PackagePart.ALERT_HANDLERS: 'alert_handlers'>])

Agent crash in 2.0.0P3

Hi,

I get a pythoncrash in Chech_mk RAW 2.0.0p3 when it check Veeam O365 Licenses.

ValueError (could not convert string to float: 'xxxxxxxxx,xxxxxxxx')

I dont know if it is beaquse the server has Swedish Region settings where we have a , as devicer for decimal values, ex 5,1 instead of 5.1)
wfica32_IZESQ4dqNp

Support for checkmk 2.3.0

Hi there,

any plans to support the new checkmk 2.3.0? I just updated, and sadly this great plugin no longs works...

-| [veeam_o365 2.6.1]: Installing -| [veeam_o365 2.6.1]: Not installed: Package requires Checkmk version below 2.3.0 (this is 2.3.0)

-| WARNING: Found configured rules of deprecated check group "veeam_o365jobs". These rules are not used by any check plugin. Maybe this check group has been renamed during an update, in this case you will have to migrate your configuration to the new ruleset manually. Please check out the release notes of the involved versions. You may use the page "Deprecated rules" in the "Rule search" to view your rules and move them to the new rulesets. If this is not the case, the rules could be related to a disabled or removed extension package (mkp). You would have to enable/upload the corresponding package and remove the related rules before disabling/removing the package again.

Thank you!

Deploying not working

Hi,

I use the latest Enterprise Edition of checkmk and just installed this extension. I created a rule to deploy the plugin, but unfortunately the plugin never makes it to the Backup Server. Checkmk is running under Debian 10.

Any hints are highly appreciated.
Regards,
Roland

Problems with transfered data

2 Problems:
If transfered value does not match pattern in if clause it uses the value from the job before
If transfered value is above 2GByte int value is to large for int

I use:
if ($o365JobLastSession.Statistics.TransferredData -match '\d+(.\d+)? [A-Z]B') {
$transferred = [math]::Round($(Invoke-Expression -Command ($o365JobLastSession.Statistics.TransferredData -replace ' ')))
} else {
$transferred=0
}

Crash if licensed expired

If the license is expired, the check crashes:

check failed - please submit a crash report! 
ValueError (Cannot render negative timespan)

Veeam 365 free and checkmk raw

I have installed the the mpk and added a Veeam for Office 365 Job Levels rule for the server backup job but not appearing and not working.. Do I need to do anything more on the client side?

Running state exceeds X hours

It would be nice to have an option that if a Job is running for X hours we gen a Warning (CRIT) state.
And we can have notifications on this, so we know a job is running.
Normally a job is not in the running state for over 4 hours for example (needs to be an option to set)
We recently had some issues with veeam on "hanging" jobs, and we were not notified about this.
Thus some clients did not have a backup for 2-3 days...

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.