Search found 44 matches
- Tue Oct 26, 2021 2:39 am
- Forum: Nagios XI
- Topic: SQL query to show Hosts and Services with Scheduled Downtime
- Replies: 3
- Views: 801
Re: SQL query to show Hosts and Services with Scheduled Down
This is exactly what I was looking for. Thank you very much!
- Mon Oct 25, 2021 9:21 am
- Forum: Nagios XI
- Topic: SQL query to show Hosts and Services with Scheduled Downtime
- Replies: 3
- Views: 801
SQL query to show Hosts and Services with Scheduled Downtime
HI Support,
Could you please assist in creating a sql query which will output all Hosts and Services with scheduled downtime, and include the downtime window?
Thanks,
Otto
Could you please assist in creating a sql query which will output all Hosts and Services with scheduled downtime, and include the downtime window?
Thanks,
Otto
- Fri May 28, 2021 2:33 am
- Forum: Nagios XI
- Topic: Replace hostgroup on 100's of hosts
- Replies: 3
- Views: 428
Re: Replace hostgroup on 100's of hosts
I see. Thanks.
- Thu May 27, 2021 8:16 am
- Forum: Nagios XI
- Topic: Replace hostgroup on 100's of hosts
- Replies: 3
- Views: 428
Replace hostgroup on 100's of hosts
Hi, We are expanding our deployment of mod_gearman workers and need to switch several 100s of hosts to a new worker. To do this, we need to remove a mg_objects_ hostgroup currently set on each host (not inherited) and add a new, different mg_objects hostgroup. What would be the easiest way to do thi...
- Thu Dec 10, 2020 4:54 am
- Forum: Nagios XI
- Topic: SQL/API query to find disabled hosts and services?
- Replies: 13
- Views: 2778
Re: SQL/API query to find disabled hosts and services?
No, that's not going to work for our purposes. However, some more work with jq produced what we need. Anyone else looking to generate lists of GUI-disabled Host and Service notifications may probably find the below two API queries useful: curl -XGET -k -L --silent "http://nagiosserver.corp.com/...
- Tue Dec 08, 2020 3:18 am
- Forum: Nagios XI
- Topic: SQL/API query to find disabled hosts and services?
- Replies: 13
- Views: 2778
Re: SQL/API query to find disabled hosts and services?
That is just some stuff to clean up the output.
The issue exists even without |tr -d '"' |paste - -
The issue exists even without |tr -d '"' |paste - -
- Mon Dec 07, 2020 10:39 am
- Forum: Nagios XI
- Topic: SQL/API query to find disabled hosts and services?
- Replies: 13
- Views: 2778
Re: SQL/API query to find disabled hosts and services?
It is also worth pointing out that users could just disable active checks through the UI, and not in the CCM, these can be found by navigating to the following URLs /nagiosxi/includes/components/xicore/status.php?show=services&serviceattr=16 /nagiosxi/includes/components/xicore/status.php?show=...
- Mon Dec 07, 2020 3:38 am
- Forum: Nagios XI
- Topic: SQL/API query to find disabled hosts and services?
- Replies: 13
- Views: 2778
Re: SQL/API query to find disabled hosts and services?
This is what I call a gem of a post. I plan to take all those queries, turn them into what I call Finder tests. I'll make them special services that are not activated, but can be run from the GUI to see the result. Then, I can open the Finder service test in the CCM, click the "Run Check Comma...
- Thu Dec 03, 2020 4:46 am
- Forum: Nagios XI
- Topic: SQL/API query to find disabled hosts and services?
- Replies: 13
- Views: 2778
Re: SQL/API query to find disabled hosts and services?
Thanks, this is what I was looking for but your answer also made me realize there are other ways admins could avoid following instructions to use Scheduled Downtime... Subsequently, I'd appreciate if your could help with SQL queries listing Hosts and Services with Notifications disabled, and also Ho...
- Wed Dec 02, 2020 3:35 am
- Forum: Nagios XI
- Topic: SQL/API query to find disabled hosts and services?
- Replies: 13
- Views: 2778
SQL/API query to find disabled hosts and services?
Hi, We are finding that despite repeated instructions to not do it, some of our admins like to disable hosts and services rather than use the Schedule Downtime feature. This presents a problem if they forget to re-enable... Could you please help us define a SQL or API query that will list all disabl...