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

[dev.icinga.com #12956] Notification type differences in classic UI output. #1585

Closed
icinga-migration opened this issue Oct 21, 2016 · 6 comments

Comments

@icinga-migration
Copy link

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

Created by vaisov on 2016-10-21 15:03:14 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-12-07 22:37:21 +00:00 (in Redmine)

Icinga Version: 2.5.4
OS Version: any

We had server running out of space and somehow we saw exit status 2 in NRPE log, however in Icinga notification history I see type "UNKNOWN". But in other view I don't see it. Screenshots attached for better understanding of the issue.

NRPE Output:
Clip2net_161021180042.png

Alert history:
Clip2net_161021180025.png

Notification History
Clip2net_161021180007.png

Attachments

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-11-07 10:36:35 +00:00

  • Status changed from New to Feedback
  • Assigned to set to vaisov

Extract the compat log for that specific host/service and time span and check whether the alert history matches with notifications.

@icinga-migration
Copy link
Author

Updated by vaisov on 2016-11-09 09:18:02 +00:00

That's all from that date:

[1476975600] CURRENT SERVICE STATE: uk-live-supp2-deliveryhero;Disks;OK;HARD;1;Disk space OK: / has 62% free (64% inodes free), /data has 70% free (99% inodes free)
[1477053550] SERVICE ALERT: uk-live-supp2-deliveryhero;Disks;WARNING;SOFT;1;Disk space WARNING: / has 9% free (64% inodes free), /data has 48% free (99% inodes free)
[1477053670] SERVICE ALERT: uk-live-supp2-deliveryhero;Disks;WARNING;SOFT;2;Disk space WARNING: / has 7% free (64% inodes free), /data has 48% free (99% inodes free)
[1477053790] SERVICE ALERT: uk-live-supp2-deliveryhero;Disks;WARNING;HARD;1;Disk space WARNING: / has 5% free (64% inodes free), /data has 48% free (99% inodes free)
[1477053790] SERVICE NOTIFICATION: sysadmin-email;uk-live-supp2-deliveryhero;Disks;WARNING;mail-service-command;Disk space WARNING: / has 5% free (64% inodes free), /data has 48% free (99% inodes free);
[1477053962] SERVICE ALERT: uk-live-supp2-deliveryhero;Disks;CRITICAL;HARD;1;Disk space CRITICAL: / has 3% free (64% inodes free), /data has 48% free (99% inodes free)
[1477053962] SERVICE FLAPPING ALERT: uk-live-supp2-deliveryhero;Disks;STARTED; Checkable appears to have started flapping (100% change >= 30% threshold)
[1477053962] SERVICE NOTIFICATION: sysadmin-email;uk-live-supp2-deliveryhero;Disks;FLAPPINGSTART;mail-service-command;Disk space CRITICAL: / has 3% free (64% inodes free), /data has 48% free (99% inodes free);
[1477054477] SERVICE FLAPPING ALERT: uk-live-supp2-deliveryhero;Disks;STOPPED; Checkable appears to have stopped flapping (25% change < 30% threshold)
[1477054477] SERVICE NOTIFICATION: sysadmin-email;uk-live-supp2-deliveryhero;Disks;FLAPPINGEND;mail-service-command;Disk space CRITICAL: / has 0% free (64% inodes free), /data has 48% free (99% inodes free);
[1477054649] SERVICE NOTIFICATION: sysadmin-phone;uk-live-supp2-deliveryhero;Disks;CRITICAL;sms-service-command;Disk space CRITICAL: / has 2% free (64% inodes free), /data has 48% free (99% inodes free);
[1477055530] SERVICE ALERT: uk-live-supp2-deliveryhero;Disks;OK;HARD;1;Disk space OK: / has 33% free (64% inodes free), /data has 62% free (99% inodes free)
[1477055530] SERVICE NOTIFICATION: sysadmin-email;uk-live-supp2-deliveryhero;Disks;RECOVERY;mail-service-command;Disk space OK: / has 33% free (64% inodes free), /data has 62% free (99% inodes free);
[1477242548] CURRENT SERVICE STATE: uk-live-supp2-deliveryhero;Disks;OK;HARD;1;Disk space OK: / has 33% free (64% inodes free), /data has 36% free (99% inodes free)

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-12-07 21:30:13 +00:00

  • Project changed from Icinga 2 to Core, Classic UI, IDOUtils
  • Category changed from 156 to Classic UI
  • Status changed from Feedback to New
  • Assigned to deleted vaisov
  • OS Version set to any

Looks more like a rendering problem in Classic UI to me - the log says "CRITICAL", but two lines are marked "UNKNOWN". Moving to the Icinga 1.x project.

@icinga-migration
Copy link
Author

Updated by ricardo on 2016-12-07 22:37:21 +00:00

For "FLAPPINGSTART" and "FLAPPINGEND" notifications is "alert_level_class" UKNOWN defined.

I guess we should change that.

https://git.icinga.com/?p=icinga-core.git;a=blob;f=cgi/notifications.c;h=adb466068513ebf85383d8c2dc41d0315af0f227;hb=HEAD;js=1#l761

@dnsmichi
Copy link
Contributor

@bb-Ricardo Do you have a PR or can I just close it?

@dnsmichi
Copy link
Contributor

Forget it. This is a wontfix too. Only security updates and minor patches around, 1.14.1 will be last release for 1.x.

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

2 participants