Custom view or dashboard to hide services/hosts with comment

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
chaoscreater
Posts: 2
Joined: Tue Mar 27, 2018 10:51 pm

Custom view or dashboard to hide services/hosts with comment

Post by chaoscreater »

Hi all,

I'm trying to figure out if there is a way to filter out services and hosts that have a comment associated with them. I can get Nagios to display all hosts and services that are showing as critical or unhandled, using the following:
http://NagiosHost/nagios/cgi-bin/status ... ustypes=15

But I'm having trouble hiding entries with a comment. I could acknowledge them, but that's not the point. We add comments and acknowledge services/hosts depending on the situation.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Custom view or dashboard to hide services/hosts with com

Post by scottwilkerson »

The only one I know of is this view

Code: Select all

/nagios/cgi-bin/extinfo.cgi?type=3
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
chaoscreater
Posts: 2
Joined: Tue Mar 27, 2018 10:51 pm

Re: Custom view or dashboard to hide services/hosts with com

Post by chaoscreater »

I know about that one too, but that just shows all services/hosts with comments. I want to show the opposite and only for services/hosts that are critical or have unhandled problems.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Custom view or dashboard to hide services/hosts with com

Post by scottwilkerson »

Core does not have another at this time, if you or your company write one please contribute it to the project here
https://github.com/NagiosEnterprises/nagioscore

Thanks!
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked