Page 1 of 1
Nagios Scheduled Reporting on critical issues only
Posted: Thu Jun 23, 2016 11:58 am
by benhank
Hello all!
My windows guys have a problem:
"We have a script that uses PowerShell to generate a daily report that only shows disks that have exceeded thier thresholds but due to older server versions and wmi issues the report is not always hitting every server.
The request is “Can Nagios generate a daily scheduled report that will only show disk drives that have exceeded their respective thresholds and are in a critical state. Disks that are ok should not show up in the report.”
I have Nagios successfully monitoring the Disks via NRPE. I don't know how to create a report that only shows the drives that have exceeded thier respective thresholds.
Re: Nagios Scheduled Reporting on critical issues only
Posted: Thu Jun 23, 2016 1:23 pm
by ssax
Here is the best I can get you:
1. Go to Configure > Core Config Manager > Servicegroups
- Click the Add New button and add a new servicegroup for your disks
- Add all the disks to this servicegroup.
- Apply Config
2. Go to Home > Servicegroup Summary
- Next to the servicegroup you just created, under the services column, click the red one that shows criticals (if you don't have it you can submit a passive result of critical for one)
- This will bring you to a page that will only show that servicegroup (all disk services) in the critical state
- Up at the very top right hand corner, click the drop down menu, and choose Schedule Page.
This will show you want you want but you will need to manage the services in the servicegroup (adding as necessary), if your disk services are generic and applied to hostgroups it will automatically manage itself.
Let me know if that works for you.
Re: Nagios Scheduled Reporting on critical issues only
Posted: Wed Jun 29, 2016 2:27 pm
by benhank
That produed the desired report. The only problem is I need the report to only show services that are in a critical state. The report should not show anything that is green.
Re: Nagios Scheduled Reporting on critical issues only
Posted: Wed Jun 29, 2016 2:54 pm
by ssax
If you followed the steps exactly it should only show the criticals for you and you will see "Filters: Service=Critical" at the top left, please try it again and let me know if you're still seeing anything other than criticals.
Re: Nagios Scheduled Reporting on critical issues only
Posted: Thu Jun 30, 2016 1:37 pm
by benhank
I tried it but it didnt work:
Capture.PNG
If you notice even tho I selected hide unknown and hide unreachable, they still are in the report. In this case I am using the availability report but the others produse the same result.
Re: Nagios Scheduled Reporting on critical issues only
Posted: Thu Jun 30, 2016 2:59 pm
by ssax
You're in reports, not sure how you ended up there, do this:
1_criticals.png
2_criticals.png
3_criticals.png
4_criticals.png
Re: Nagios Scheduled Reporting on critical issues only
Posted: Mon Jul 11, 2016 2:28 pm
by benhank
thanks man! that got me what I needed!
Re: Nagios Scheduled Reporting on critical issues only
Posted: Mon Jul 11, 2016 2:29 pm
by ssax
I'm glad that works for you, can we lock this up and mark it as resolved?
Re: Nagios Scheduled Reporting on critical issues only
Posted: Wed Jul 13, 2016 9:41 am
by benhank
sir yes sir
Re: Nagios Scheduled Reporting on critical issues only
Posted: Wed Jul 13, 2016 12:10 pm
by bwallace
thanks - closing this thread now....