Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to omit Summary results #121

Closed
atc0005 opened this issue Jun 16, 2022 · 0 comments · Fixed by #155
Closed

Add flag to omit Summary results #121

atc0005 opened this issue Jun 16, 2022 · 0 comments · Fixed by #155
Assignees
Labels
app/check_statuspage_components app/lscs config enhancement New feature or request output/extended Long Service Output (aka, "extended" or "detailed") tests
Milestone

Comments

@atc0005
Copy link
Owner

atc0005 commented Jun 16, 2022

From an alert like this one:

Show Alert

***** Nagios XI Alert *****

Nagios has detected a problem with this service.

Notification Type: PROBLEM

Service: Status: All Qualys components [atc0005]
Host: QUALYS STATUS
Host Alias: QUALYS STATUS
Address: status.qualys.com
State: WARNING
Date/Time: 2022-05-12 11:38:04

Info:

WARNING: 1 evaluated Qualys, Inc. component has a non-operational status (281 evaluated, 281 total) [under_maintenance (1)]

Additional Info:

ERRORS

  • component with non-operational status not excluded from evaluation

THRESHOLDS

  • CRITICAL: major_outage
  • WARNING: under_maintenance, partial_outage, degraded_performance

DETAILED INFO

NOTE: Evaluating all components as requested.
NOTE: Component count (281) is higher than display limit (50); overriding default display of OK components.

Page: Qualys, Inc. (https://status.qualys.com/)
Time Zone: America/Los_Angeles
Last Updated: 2022-05-12T09:30:36-07:00

NOTE: Omitting OK/operational components as requested.

GROUP NAME COMPONENT NAME STATUS 
---------- -------------- ------ 
EU Platform 2 Extended Detection and Response (XDR) UNDER MAINTENANCE 

Summary:

  • Filtering applied to components set: false
  • Evaluating all components in the set: true
  • Omitting OK/operational components (if requested): true
  • Number of total top-level components: 1
  • Number of total component groups: 12
  • Number of total subcomponents: 268
  • Number of total problem components: 1
  • Number of ignored problem components: 0
  • Number of remaining problem components: 1

Add a flag to omit this content:

Summary:

  • Filtering applied to components set: false
  • Evaluating all components in the set: true
  • Omitting OK/operational components (if requested): true
  • Number of total top-level components: 1
  • Number of total component groups: 12
  • Number of total subcomponents: 268
  • Number of total problem components: 1
  • Number of ignored problem components: 0
  • Number of remaining problem components: 1
@atc0005 atc0005 added enhancement New feature or request config output/extended Long Service Output (aka, "extended" or "detailed") app/check_statuspage_components labels Jun 16, 2022
@atc0005 atc0005 added this to the Next Release milestone Jun 16, 2022
@atc0005 atc0005 self-assigned this Jun 16, 2022
@atc0005 atc0005 modified the milestones: v0.1.11, Next Release Jul 21, 2022
@atc0005 atc0005 modified the milestones: v0.1.12, Next Release Aug 24, 2022
@atc0005 atc0005 modified the milestones: Next Release, Future Sep 20, 2022
atc0005 added a commit that referenced this issue Sep 20, 2022
New flag is a boolean toggle that optionally omits summary
results in plugin and "inspector" CLI tool output.

refs GH-121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/check_statuspage_components app/lscs config enhancement New feature or request output/extended Long Service Output (aka, "extended" or "detailed") tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant