How to create a filter, showing all Notifications=disabled

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
peem_sto
Posts: 1
Joined: Wed Nov 18, 2020 2:24 am

How to create a filter, showing all Notifications=disabled

Post by peem_sto »

I am trying to create a filter in the GUI, where I can list all services that has notification in disabled state.
Any tip to share?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: How to create a filter, showing all Notifications=disabl

Post by gormank »

I don't know of a way other than to query the NDOUtils database servicestatus table. To add it in the UI (in a not so pretty way), you could wrap the query in a script and run it from the tools page.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to create a filter, showing all Notifications=disabl

Post by scottwilkerson »

In Core you would use the following

Code: Select all

/nagios/cgi-bin/status.cgi?host=all&type=detail&serviceprops=4096
In Nagios XI yo would use the following

Code: Select all

/nagiosxi/includes/components/xicore/status.php?show=services&serviceattr=4096
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked