Page 1 of 1

Report with threshold details

Posted: Fri Mar 04, 2022 11:16 am
by preethu.d
Hi Team,

Is there any option available in Nagios to generate a report with threshold value configured for each monitor.

I have many servers added in Nagios that has different threshold set for critical and warning severity for CPU, memory and disk monitor.
Is there any way I can pull a report with this threshold data ?

Regards,
Preethu

Re: Report with threshold details

Posted: Thu Mar 10, 2022 10:07 am
by pbroste
Hello @preethu.d

Thanks for reaching out; perhaps an option to pull that data from the api or the database and parse the data you want. But we have not provided any set procedures to out-right pull threshold data. You can run through api for results, for example:
  • Code: Select all

    curl -XGET "https://yourhostaddresshere/nagiosxi/api/v1/config/service?apikey=yourapikeyhere&pretty=1"
Thanks,
Perry

Re: Report with threshold details

Posted: Thu Mar 10, 2022 11:04 am
by preethu.d
Hi Perry,

I used API get request to pull the data. Thanks for the help. You can close the thread.

Regards,
Preethu