telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

[inputs.icinga2] differ between handled and unhandled host/service problems

Open rafi0101 opened this issue 3 years ago • 1 comments

Feature Request

Opening a feature request kicks off a discussion.

Proposal:

In the current version of the icinga inputs plugin, the current state of a host or service will be collected. However, you cannot distinguish between handled and unhandled hosts/services.

Current behavior:

You have only this host/service states:

state - The state: UP/DOWN for hosts, OK/WARNING/CRITICAL/UNKNOWN for services

Desired behavior:

A new tag where you can see if host/service problems are handled or not. You already see it in Icingweb --> Overview --> Tactical Overview, but it would be nice if telegraf can collect these metrics as well. image

Use case:

I want to know how many hosts/services problems I have and how many of them are already handled.

rafi0101 avatar Apr 12 '21 12:04 rafi0101

next steps: current plugin has a hard-coded list of level. Need to determine if there is a way to look up if something was handled or if there are additional levels/states that are returned from the queries to add this.

powersj avatar Apr 11 '22 20:04 powersj