We are working on some custom modifications to Open Service Problems for a Help Desk.
Question:
Trying to add a filter option to the status.php page for HostGroup by ID.
Currently properties are set using the following format:
http://107.170.216.229/nagiosxi/include ... iceattr=15
This is translated by the view into a filter that is applied to the view:
Filters: Host=Up,Not Acknowledged,Not In Downtime Service=Warning,Unknown,Critical,Not Acknowledged,Not In Downtime
We are looking to add a new parameter to accomplish filtering by a specific HostGroup ID or Name.
We assume it might look something like this:
http://107.170.216.229/nagiosxi/include ... groupid=11
However this (and several other formats we have tried) did not work.
Looking for ideas....
Custom Help Desk Component
Custom Help Desk Component
Mike Weber
Nagios Training/Consulting
Nagios Training/Consulting
Re: Custom Help Desk Component
Mike,
Can't you use something like this in the URL?
where you substitute "hostgroupname" with the actual name of the hostgroup.
Can't you use something like this in the URL?
Code: Select all
http://107.170.216.229/nagiosxi/includes/components/xicore/status.php?show=services&hostattr=10&hoststatustypes=2&servicestatustypes=28&serviceattr=15&hostgroup=hostgroupnameBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Custom Help Desk Component
Thanks for the help, it works great and allows for a custom help desk filtered by time.
Mike Weber
Nagios Training/Consulting
Nagios Training/Consulting