Disk Space Report needed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Disk Space Report needed

Post by gregwhite »

I need to produce a daily report of all outstanding critical disk space alerts. We have had a couple of outages because outage wasn't handled in a timely way. So I have been asked if we can produce a daily report of all outstanding disk issues to server as a reminder?

Thanks,
Greg
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Disk Space Report needed

Post by cdienger »

The state history report under Reports > Available Reports > State History would probably be your best option. Putting the disk checks in a servicegroup, you can filter for them here as well. Note that there isn't a filter for just outstanding alerts, but you'll be able to see if a problem occurred and if was able to recover.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: Disk Space Report needed

Post by gregwhite »

I took a look at your suggestion. It looks like it will show the alerts for the time period we select and show all alerts that happened during that time period whether they have since recovered or not. What my manager is looking for is a report that will show all critical Disk alerts that have not been resolved. This is where he got burned because the alert wasn't handled until it caused an outage.
It's frustrating because the information is in Nagios. We have over a 1,100 servers. It would be nice to have Nagios automatically generate a report with that information. If you look at 'All Service Problems', that's the information we need and just filter for the critical disk alerts. When they are resolved, they will clear and not be on the next report.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Disk Space Report needed

Post by lmiltchev »

You can try a URL like the one below:

Code: Select all

http://x.x.x.x/nagiosxi/?xiwindow=includes%2Fcomponents%2Fxicore%2Fstatus.php%3F%26show%3Dservices%26hoststatustypes%3D0%26servicestatustypes%3D16%26search%3Ddisk
then schedule the page as a report by clicking on the clock icon in the upper right corner.
example01.PNG
Note: I used "disk" as a search keyword (filter) but you could use a different keyword, depending on how your disk checks are named.

Hope this helps.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
gregwhite
Posts: 206
Joined: Wed Jun 01, 2011 12:40 pm

Re: Disk Space Report needed

Post by gregwhite »

Thanks, this gives us exactly the information we are looking for. One last question. Is there anyway to have the report landscape so the status column which shows the disk information could be wider. This would make it easy to read. I have attached a copy showing what I am referring to.
I really appreciate the solution you have provided.

Thanks,
Greg
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Disk Space Report needed

Post by lmiltchev »

You can fit only so much in the status column. The column would adjust its size depending on the resolution/size of the window, etc.

FYI, all of the service information is readily available in the REST API in Nagios XI, so if you had a developer, he/she could create a "custom" report, and set up the status column as wide as needed. The following URL could be used:

Code: Select all

http://x.x.x.x/nagiosxi/api/v1/objects/servicestatus?apikey=LTltbjobR0X3V5ViDIitYaI8hjsjoFBaOcWYukamF7oAsD8lhJRvSPWq8I3PjTf7&pretty=1&current_state=2&service_description=lk:disk
Again, you could use a different keyword. I used "disk" in my example.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked