Bug #2173

wrong URLs for status.cgi overview

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

Status:ResolvedStart date:12/08/2011
Priority:LowDue date:
Assignee:ricardo% Done:

100%

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

Description

/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28&serviceprops=10&sorttype=1&sortoption=6

then there are the "Host Status Totals" and "Serice Status Totals" headers.

when clicking on "Pending" at "Host Status Totals" (18 pending total), the URL is:
/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28&hoststatustypes=1&nostatusheader

which gives nothing (note, it says 18 pending but gives nothing)

clicking on "Up" at "Host Status Totals" (466 hosts up), the URL is:
/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=28&hoststatustypes=2&nostatusheader

which gives all service problems??!?!?!

when using the normal GUI and show_tac_header is 1, using "Host Pending" then the URL is:
/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=1&nostatusheader

which works as expected.

using "Host UP", then URL is:
/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=2&nostatusheader

which works also as expected.

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

History

#1 Updated by ricardo over 2 years ago

  • Project changed from Core to Classic UI
  • Category deleted (Classical UI)
  • Status changed from New to Feedback
  • Assignee set to ricardo
  • Priority changed from Normal to Low

This will be solved at the same time #1524 get's solved. Hope I have some spare time the next few days and then I will take care of it.

#2 Updated by mcp over 2 years ago

ok. thanks :)

#3 Updated by ricardo over 2 years ago

  • Target version changed from 1.6.2 to 1.7

Have a look into #1981 . should be fixed with current "dev/cgis" git.

#4 Updated by dnsmichi about 2 years ago

  • % Done changed from 0 to 100

the newly revamped status totals look correct now and produce the right counts as well.

#5 Updated by ricardo about 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF