Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #3752] morningReport - Serviceevents states are wrong #52

Closed
icinga-migration opened this issue Mar 5, 2013 · 2 comments
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/3752

Created by jschanz on 2013-03-05 11:16:31 +00:00

Assignee: berk
Status: Resolved (closed on 2013-04-10 15:10:55 +00:00)
Target Version: 1.9
Last Update: 2013-04-10 15:10:55 +00:00 (in Redmine)

Icinga Version: 1.8.4
DB Type: MySQL
DB Version: 1.8.4
Jasper Version: 4.7.0

The Text Field Expression should be

$F{state}.toString().replaceFirst("0", "Ok").replaceFirst("1", "Warning").replaceFirst("2", "Critical").replaceFirst("3", "Unknown")

instead of

$F{state}.toString().replaceFirst("0", "Up").replaceFirst("1", "Down").replaceFirst("2", "Unreachable")

in table Table 4

Otherwise all reports look like the following attached images.

Bildschirmfoto-4.png
Bildschirmfoto-5.png

Attachments

Changesets

2013-04-10 12:53:19 +00:00 by (unknown) 2469233

fixed state replace in morning report

replaced java String replace with corrected one from issue

fixes #3752
@icinga-migration
Copy link
Author

Updated by berk on 2013-04-10 08:37:00 +00:00

  • Assigned to set to berk
  • Target Version set to 1.9

@icinga-migration
Copy link
Author

Updated by Anonymous on 2013-04-10 15:10:55 +00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset 2469233.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant