Custom Help Desk Component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
mikew
Posts: 243
Joined: Sun Feb 05, 2012 7:05 pm

Custom Help Desk Component

Post by mikew »

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....
Mike Weber

Nagios Training/Consulting
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Custom Help Desk Component

Post by lmiltchev »

Mike,

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=hostgroupname
where you substitute "hostgroupname" with the actual name of the hostgroup.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mikew
Posts: 243
Joined: Sun Feb 05, 2012 7:05 pm

Re: Custom Help Desk Component

Post by mikew »

Thanks for the help, it works great and allows for a custom help desk filtered by time.
Mike Weber

Nagios Training/Consulting
Locked