Feature #1988

Add more info (ack, downtime, ...) to json export in status.cgi

Added by ivo over 3 years ago. Updated 6 months ago.

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

100%

Category:Classic UI
Target version:Icinga 1.x - 1.6

Description

In the html-version, status.cgi shows additional information: acknowledgement, downtime, flapping, notifications disabled, ...

This info is not available in the json output.

The attached patch adds this info to the json output.

status_json.diff Magnifier (1.1 KB) ivo, 10/10/2011 04:33 PM

History

#1 Updated by dnsmichi over 3 years ago

  • Category set to 78
  • Status changed from New to Assigned
  • Assignee set to ricardo
  • Target version set to 1.6

#2 Updated by ricardo over 3 years ago

good idea,

will add this tonight.

#3 Updated by ricardo over 3 years ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

Added your changes to status.cgi and changed the names a bit. Now available for hosts and services.

cgi_json_version changed to 1.6.0

In current 'test/cgis'.

Can you test this please?

#4 Updated by ivo over 3 years ago

Tested the version in test/cgis. The new export seems to work fine for both hosts and services, thanks!

#5 Updated by dnsmichi over 3 years ago

  • Status changed from Feedback to Resolved

#6 Updated by dnsmichi 6 months ago

  • Project changed from 19 to Core, Classic UI, IDOUtils
  • Category changed from 78 to Classic UI

Also available in: Atom PDF