Feature #1988

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

Added by ivo over 2 years ago. Updated over 2 years ago.

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

100%

Category:Export
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 2 years ago

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

#2 Updated by ricardo over 2 years ago

good idea,

will add this tonight.

#3 Updated by ricardo over 2 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 2 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 2 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF