Feature #1981

add multiple hosts/services to status.cgi GET as done with cmd.cgi

Added by dnsmichi over 2 years ago. Updated about 2 years ago.

Status:ResolvedStart date:10/06/2011
Priority:NormalDue date:
Assignee:ricardo% Done:

100%

Category:-
Target version:Icinga 1.x - 1.7

Description

this would be a great enhancement to allow seperated list of hosts and/or services in order to be shown filtered on status list.

it's not necessarily a GET, can be POST too. but for bookmarks, GET is preferred ;)

this would help to e.g. implement counter links, where you just can't get a filter yet, but a seperated list on hosts/services passed to status.cgi

current example - the outages.cgi child host count, and how to add a link to status.cgi with the child hosts view over there.

icinga_classicui_mult_get_hosts.png (45.6 KB) dnsmichi, 04/03/2012 04:11 pm


Related issues

Related to Classic UI - Feature #1820: Child hosts Resolved 08/15/2011
Related to Classic UI - Bug #2220: Host status sorting in status.cgi not working Resolved 12/22/2011
Related to Classic UI - Bug #2218: Classic Web - Sort option Resolved 12/22/2011

Associated revisions

Revision 6c8e32b4
Added by ricardo over 2 years ago

classic ui: Added multiple hosts/services to status.cgi GET #1981

refs: #1524
refs: #1981
refs: #2018
refs: #2173
refs: #2220

This is pretty much a rewrite of status.cgi.

some changes:
  • you can define more then one object to display
    • host=hostA&host=hostB&host=…
    • same with host groups and service groups
  • hostgroup=all now only shows which are in host groups
  • host sorting is working now
  • added 2 new cgi vars
    • sortobject = determine if to sort host or service list (host_service_view)
    • allunhandledproblems = to display ALL unhanded problems
  • fixed and reorganized the links in status totals
  • searching returns more then one host/service group if group name matches
  • combined Host/Service view now properly supported
  • code cleanup
  • more little fixes and enhancements

Revision 94911419
Added by ricardo over 2 years ago

classic ui: correcting urls for status.cgi

refs: #1981
refs: #2018

Revision ae66d52f
Added by ricardo over 2 years ago

classic-ui: fixed wrong urls for sorting of all unhandled problems

refs: #1981

Revision 7b9ec5bf
Added by ricardo about 2 years ago

classic-ui: updated Changelog CHANGES section

refs: #1524
refs: #1981
refs: #2018
refs: #2117
refs: #2119
refs: #2145
refs: #2198
refs: #2343
refs: #2359
refs: #2373
refs: #2421

hope the "changes" section for classic ui isn't tooo long

History

#1 Updated by dnsmichi over 2 years ago

  • Target version changed from 1.6 to 1.7

#2 Updated by ricardo over 2 years ago

  • Status changed from New to Feedback
  • Assignee set to ricardo

now in current rbartels/cgi and dev/cgis

commit message

classic ui: Added multiple hosts/services to status.cgi GET #1981

refs: #1524
refs: #1981
refs: #2018
refs: #2173
refs: #2220

This is pretty much a rewrite of status.cgi.

some changes:
* you can define more then one object to display
** host=hostA&host=hostB&host=…
** same with host groups and service groups
* hostgroup=all now only shows hosts which are in host groups
* host sorting is working now
* added 2 new cgi vars
** sortobject = determine if to sort host or service list (host_service_view)
** allunhandledproblems = to display ALL unhanded problems
* fixed and reorganized the links in status totals
* searching returns more then one host/service group if group name matches
* combined Host/Service view now properly supported
* code cleanup
* more little fixes and enhancements

#3 Updated by dnsmichi about 2 years ago

works as expected, thanks.

#4 Updated by ricardo about 2 years ago

should be ready to go

#5 Updated by ricardo about 2 years ago

  • Status changed from Feedback to Resolved

Added note to changes in Changelog

Also available in: Atom PDF