Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi template fails to render graphs #326

Open
sukhwinder33445 opened this issue Apr 9, 2024 · 0 comments · May be fixed by #327
Open

Multi template fails to render graphs #326

sukhwinder33445 opened this issue Apr 9, 2024 · 0 comments · May be fixed by #327
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sukhwinder33445
Copy link
Contributor

sukhwinder33445 commented Apr 9, 2024

It is not possible to create graphs with multi3 template graphs if different metrics or different numbers of metrics are given per graph.

Current Behavior:

Screenshot 2024-04-09 at 14 37 39

Steps to Reproduce:

  1. Select a Service which uses multi(3) template for graphs.
  2. Extend multi3-service.metrics_filters to include warn metric filter in multi.ini template file as following:
[multi3-service.metrics_filters]
value = "$service_name_template$.perfdata.$multi1$.$multi2$.$multi3$.value"
warn = "$service_name_template$.perfdata.$multi1$.$multi2$.$multi3$.warn"
  1. Add following prefdata through the quick-action proccess check result:
'a1::b1::c1'=3894494000B;5797273500;6119344250;0;6441415000
'a2::b2::c2'=0;5797273500;6119344250;0;6441415000
'a3::b3::c3'=3894494000B;;6119344250;0;6441415000

Result:
Example (with 3 graphs):
graph 1: value, min, max, crit, warning
graph 2: value, min, max, crit, warning
graph 3: value

As the graph 3 has only 1 metric AND warn is missing in it, it will throw an error.

@sukhwinder33445 sukhwinder33445 self-assigned this Apr 9, 2024
@sukhwinder33445 sukhwinder33445 added the bug Something isn't working label Apr 9, 2024
@sukhwinder33445 sukhwinder33445 added this to the v1.2.5 milestone Apr 9, 2024
@sukhwinder33445 sukhwinder33445 linked a pull request Apr 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant