Skip to content
This repository has been archived by the owner. It is now read-only.

[dev.icinga.com #5370] add "current_notification_number" to jsonoutput of hosts and services in status.cgi #1410

Closed
icinga-migration opened this issue Dec 18, 2013 · 4 comments
Milestone

Comments

@icinga-migration
Copy link
Member

@icinga-migration icinga-migration commented Dec 18, 2013

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

Created by enzowang on 2013-12-18 19:52:02 +00:00

Assignee: ricardo
Status: Resolved (closed on 2013-12-30 16:53:52 +00:00)
Target Version: 1.11
Last Update: 2014-12-08 09:15:40 +00:00 (in Redmine)


Hi,
I am using nagstamon widget to take care of the alarms icinga generates.

But I could not see how many notifications had been sent,
even if the number was there on html page.

So I glanced over the source code of status.c of our icinga(version=1.10.0),
then found that -- *"current_notification_number" is not displayed when the
content_type is either CSV_CONTENT or JSON_CONTENT*.

That value is very useful for our daily work, because we want to know which
check is triggering a notification and deal with it at a higher priority.

Thanks

Changesets

2013-12-21 14:55:32 +00:00 by ricardo 52c7383

classic-ui: add "current_notification_number" to jsonoutput of hosts and services in status.cgi #5370

new json attribute "current_notification_number" added to host and servcie
status in status.cgi.

refs: #5370
whatthecommit.com: Shovelling coal into the server...

2013-12-23 17:20:49 +00:00 by ricardo 0ad0d1d

Merge branch 'feature/add-notifi-num-to-status-json-5370' into next

fixes: #5370
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 18, 2013

Updated by mfriedrich on 2013-12-18 20:42:24 +00:00

  • Project changed from Core, Classic UI, IDOUtils to 19
@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 21, 2013

Updated by ricardo on 2013-12-21 14:58:27 +00:00

  • Subject changed from Status cgi does not return "current_notification_number" when using jsonoutput to add "current_notification_number" to jsonoutput of hosts and services in status.cgi
  • Assigned to set to ricardo
  • Target Version set to 1.11
  • Done % changed from 0 to 90

in current "feature/add-notifi-num-to-status-json-5370"

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 30, 2013

Updated by ricardo on 2013-12-30 16:53:52 +00:00

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

Applied in changeset icinga-core:0ad0d1dc9c8ecf9bbcde14834af4632a9779d6aa.

@icinga-migration
Copy link
Member Author

@icinga-migration icinga-migration commented Dec 8, 2014

Updated by mfriedrich on 2014-12-08 09:15:40 +00:00

  • Project changed from 19 to Core, Classic UI, IDOUtils
  • Category set to Classic UI
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.