Git Product home page Git Product logo

Comments (6)

crsprsp avatar crsprsp commented on September 14, 2024

Found the following guideline for nagios:

https://www.monitoring-plugins.org/doc/guidelines.html#AEN201

UOM...value...

from health_monitoring_plugins.

rsmuc avatar rsmuc commented on September 14, 2024

A, V, W etc. are not officially allowed UOMs. But pnp4nagios is happy with it.
Maybe I could move the UOMs to the label.

from health_monitoring_plugins.

crsprsp avatar crsprsp commented on September 14, 2024

oh, that would be so nice!

i get the following from the icinga service:

Nov 21 16:23:23 tux icinga2[25016]: Ignoring invalid perfdata value: 'Sensor 3'=955.0VA;0.0:0.0;0.0:0.0;;
Context:
(0) Processing check result for 'PDU1!PDU Health'...
Nov 21 16:23:23 tux icinga2[25016]: Ignoring invalid perfdata value: 'Sensor 5'=430330.0Wh;0.0:0.0;0.0:0.0;;
Context:
(0) Processing check result for 'PDU1!PDU Health'...
Nov 21 16:23:23 tux icinga2[25016]: Ignoring invalid perfdata value: 'Sensor 6'=50.0Hz;0.0:0.0;0.0:0.0;;
Context:
(0) Processing check result for 'PDU1!PDU Health'...

from health_monitoring_plugins.

haxtibal avatar haxtibal commented on September 14, 2024

Icinga2's GraphiteWriter actually validates if a unit is one of the allowed ones (in contrast to Icinga 1 and pnp4nagios), and ignores it if not. Moving units to the label as @rsmuc suggests seems straight and clean for now.

It's a pity to loose explicit unit information anyway. Icinga 2 guys are aware of the problem (Icinga/icinga2#6071) and are considering a "new plugin API" as foundation to solve it. If we wanted the units back we should probably contribute there.

from health_monitoring_plugins.

rsmuc avatar rsmuc commented on September 14, 2024

@crsprsp could you try the version from branch 0.1.0? that should fix your issue.

from health_monitoring_plugins.

crsprsp avatar crsprsp commented on September 14, 2024

seems to work! very good!!!

from health_monitoring_plugins.

Related Issues (13)

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.