Git Product home page Git Product logo

check_mk_extensions's People

Contributors

mape2k avatar marco98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

check_mk_extensions's Issues

WARNING: Parsing of section nut failed - please submit a crash report!

Thank you for your CheckMK nut Plugin. I installed the agent file (nut) on the host and I got information about the ups.
But when I try to get the service into checkmk, I got this issue during the discovery:

WARNING: Parsing of section nut failed - please submit a crash report! (Crash-ID: 7f36e572-a61b-11ed-ab44-00155d4d190e)

nut - cmk

Hallo,
ich hab cmk 2.1.0p19 auf einer ubuntu vm installiert und kann den nut server (synology nas) per upsc abfragen

upsc [email protected]
Init SSL without certificate database
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.runtime: 4860
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 26.8
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Smart-UPS 750
device.serial: 1234567890
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 5
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.version: DSM7-1-1-42930-workplus-version2-repack-42930-220712
driver.version.data: APC HID 0.96
driver.version.internal: 0.41
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: UPS 09.3 / ID=18
ups.mfr: American Power Conversion
ups.mfr.date: 2016/06/09
ups.model: Smart-UPS 750
ups.productid: 0003
ups.serial: 1234567890
ups.status: OL
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.vendorid: 051d

habe nut mkp installiert
OMD[prod]:$ mkp list
nut
OMD[prod]:
$

wenn ich die synology nas neue services discovery taucht nichts auf?

was muss bei parameters unter UPS eingegeben werden?

bitte danke

Parameter error in Check_MK Raw Edition 1.2.8p20

The service scan shows:

Invalid check parameter: Undefined key 'length' in the dictionary. Allowed are deferred, active.! The parameter is: {'deferred': (10, 30), 'length': (10, 20), 'age': (3600, 7200), 'size': (1048576, 2097152)} The variable name is: checkgroup_parameters:mailqueue_length

In that version of Check_MK, you can actually define mailqueue_length parameters in the rules - but only deferred and active limits, no age or length.

Multile UPS on single instance of NuT

Using on Pi w/NUT to monitor two UPS devices in the same home lab area, in Checkmk both are identified correctly by name as two services, however they are both using the same service performance data from ==> Tripplite-Rack <== in the GUI effectively meaning one UPS is not monitored.

---editied to relevant info per UPS---

pi@pihole:/usr/lib/check_mk_agent/plugins $ ./nut
<<>>
==> Tripplite-Network <==
battery.charge: 100
battery.runtime: 5760
battery.type: PbAC
battery.voltage: 13.5
battery.voltage.nominal: 12.0
device.mfr: Tripp Lite
device.model: Tripp Lite UPS
device.type: ups
input.frequency: 60.0
input.voltage: 120.3
input.voltage.nominal: 120
output.frequency.nominal: 60
output.voltage.nominal: 120
ups.beeper.status: enabled

==> Tripplite-Rack <==
battery.charge: 100
battery.runtime: 4050
battery.type: PbAc
battery.voltage: 26.9
battery.voltage.nominal: 24.0
device.mfr: Tripp Lite
device.model: TRIPP LITE UPS
input.frequency: 59.8
input.voltage: 120.1
input.voltage.nominal: 120
output.frequency.nominal: 60
output.voltage.nominal: 120
ups.beeper.status: enabled

Allow inverted Levels for New Files/Filesize on lnx_backup for checkmk 2.0

Hallo,

ich möchte dein Plugin gerne dazu verwenden einen Backup Job mit rsync zu überwachen, leider passt hier aber der "Service state" dann nicht (ist genau umgekehrt) Idealerweise wäre zB: "New Files:0" OK alle anderen Werte dann WARN/CRIT.
Kann ich das irgendwie einstellen oder kannst du mir sagen wie ich das plugin anpassen kann?

Request for a quick installation and setup HowTo

Dear Marcel,

I'm glad I found your lnx_backup check plugin, ad I am grateful for the work you've already done.

We are using check-mk raw edition, and I was able to install lnx_backup-2.0.mkp through the command line.

Also, I was able to figure out the basic usage, e.g.
/opt/omd/sites/MYSITE/local/share/check_mk/agents/lnx_backup BACKUP_NAME duply duply default status
gathers backup status and statistics and writes this data to
/var/lib/check_mk_agent/lnx_backup/BACKUP_NAME
, while
/opt/omd/sites/MYSITE/local/share/check_mk/agents/plugins/lnx_backup
is the actual agent plug-in which inserts the data from
/var/lib/check_mk_agent/lnx_backup/BACKUP_NAME
into the check-mk-agent output.

So, I assume I have to first download
/opt/omd/sites/MYSITE/local/share/check_mk/agents/plugins/lnx_backup
to the monitored host and place it into
/usr/lib/check_mk_agent/plugins/.

But what should I do with
/opt/omd/sites/MYSITE/local/share/check_mk/agents/lnx_backup
?

Should I use it as a wrapper for the actual duply cronjob on the monitored machine?
Or should it run in parallel?
Or is it invoked by check_mk_agent by any means?

That''s the part that is not really clear to me.

Thanks for your help,
and all the best for 2023!
Andreas

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.