Skip to content

Proposal: Nagios-compatible monitoring Semantic Conventions #3148

@martialblog

Description

@martialblog

Area(s)

area:new

Propose new conventions

Hello,

I'd like to propose the inclusion of Semantic Conventions for Nagios-compatible monitoring data.

Nagios-compatible monitoring applications are tools that use "monitoring plugin" that conform to the
"Plugin Output for Nagios" [1]. Example applications are Nagios, CheckMK, Icinga, Naemon, Shinken, Sensu.

These tools use "plugins" that are executed in intervals to determine the "state" of a host/service/component. There is vast ecosystem of these plugins [2] [3].

With this "state" - meaning the POSIX return code -the plugins can also return optional metrics (so called "performance data"). For example:

PING ok - Packet loss = 0%, RTA = 0.80 ms | percent_packet_loss=0, rta=0.80

DISK CRITICAL - free space: / 13969 MB (77% inode=99%); /boot 2 MB (0% inode=96%); 
| /=4151MB;14496;16308;0;18121 /boot=294MB;236;266;0;296

The performance data is provided in the following format [1] [4] [5]:

'label'=value[UOM];[warn];[crit];[min];[max]

The optional “warn” and “crit” denote thresholds for the value (meaning the threshold when they change from the OK return code to the Warning or Critical return code).

Conventions could include how these metrics and their thresholds should be provided, which attributes/resources they use or how a plugin execution is provided as an Event.

If this is a sensible proposal, I'd love to contribute.

References:

  1. https://nagios-plugins.org/doc/guidelines.html#AEN200
  2. https://www.monitoring-plugins.org/
  3. https://github.com/Linuxfabrik/monitoring-plugins
  4. https://docs.checkmk.com/latest/en/localchecks.html#metrics
  5. https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/#performance-data-metrics

Slack Threat: https://cloud-native.slack.com/archives/C07UWG2ATQB/p1764329658484799

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Needs SIG

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions