REST API - objects/sla problem with dont_count_warning

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
acesarini
Posts: 1
Joined: Fri Jun 18, 2021 7:48 am

REST API - objects/sla problem with dont_count_warning

Post by acesarini »

Good evening,

I am using the rest api to download a SLA report from Nagios.
I followed the guide below: https://[NAGIOS-URL]/nagiosxi/help/?xiwindow=api-object-reference.php

Es. https://[NAGIOS-URL]/nagiosxi/api/v1/objects/sla/?apikey=[OUR-API-KEY]&host=[HOST]&dont_count_warning=1

However, the report does not suppress the warning states, despite using the parameter dont_count_warning=1

What could be the problem?

Many thanks for any support
Locked