Page 1 of 1

Filter or Pre-check boxes on Mass Acknowledge page?

Posted: Fri Jun 08, 2018 2:40 pm
by MrWoodward
We're trying to direct certain users in our org to this page:

/nagiosxi/includes/components/massacknowledge/index.php

Does this index.php page take arguments to filter what is displayed? (say, only display certain hosts that match a certain criteria.)

Also, is it possible to pre-check boxes? We'd like the "Sticky" checkbox to be already pre-checked for all hosts and services.

Re: Filter or Pre-check boxes on Mass Acknowledge page?

Posted: Fri Jun 08, 2018 3:04 pm
by npolovenko
@MrWoodward, I believe in this particular component the data is passed inside the form with a php post request. I don't think you can add arguments to the link itself. Unless you decide to modify the source code of the php itself.
We do have external scripts to acknowledge hosts and services:
https://old.nagios.org/developerinfo/ex ... ndlist.php
So if you really wanted you could build a custom webpage that will call these scripts.