Page 1 of 1

Nagios XI Report

Posted: Fri Jul 24, 2020 4:01 pm
Hi Team,

how can i generate nagiosXI host group CPU, memory utilization report.

i am Using nagios 5.7.2 version.

Requirement:- Host group memory, CPU and load report for custom time period.

Re: Nagios XI Report

Posted: Mon Jul 27, 2020 12:38 pm
by ssax
You should be able to use Reports > State History to see the states during a period of time.

Home > Metrics should show that but it doesn't support a custom timeperiod.

You could also create a hostgroup/servicegroup that contains those services and use Home > Servicegroup (or Home > Hostgroup) links to view the current status.

On both of those pages you should be able to click the very top right menu with the three horizontal lines in it and choose the first option to schedule the page as a report which would give you the current status of them in a report.

That's the closest I can get you given current functionality.

You could technically get the information from the API and script it out to output the information you want but you would need to develop it:

Code: Select all

http://YOURXISERVER/nagiosxi/help/api-object-reference.php#objects-hostgroupmembers
http://YOURXISERVER/nagiosxi/help/api-object-reference.php#objects-servicegroupmembers
http://YOURXISERVER/nagiosxi/help/api-object-reference.php#objects-hoststatus
http://YOURXISERVER/nagiosxi/help/api-object-reference.php#objects-servicestatus
Let us know if you have any questions.

Re: Nagios XI Report

Posted: Mon Jul 27, 2020 9:47 pm
HI,

above provided steps are not fulfilling my requirement.
i required graph for cpu, load and memory utilization for custom period of time for selective host group.
please let us know how can i generate such reports.

Re: Nagios XI Report

Posted: Tue Jul 28, 2020 1:48 pm
by ssax
You can use Home > Graph Explorer > Multistacked Performance Graphs but there is no hostgroup/servicegroup selection.

What I've listed is what's currently available given existing functionality.

I can submit a feature request for this to be added but there's not currently a way to do what you're trying to do (other than what I've listed).