[check_mem] mem alert of nova-compute host reserved mem

Bug #1965717 reported by Linda Guo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
NRPE Charm
Fix Released
High
Gabriel Cocenza

Bug Description

check_mem.pl alerted on the used% mem from /proc/meminfo. For nova-compute hosts, usually, openstack instances would use large amount of mem. There is 'reserved-host-memory' option in nova-compute charm config, I think nrpe should alert on this amount.

Tags: bseng-343

Related branches

Linda Guo (lihuiguo)
summary: - mem alert of nova-compute host reserved mem
+ [check_mem] mem alert of nova-compute host reserved mem
Xav Paice (xavpaice)
Changed in charm-nrpe:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Jose Guedez (jfguedez) wrote :

This issue is particularly annoying on servers with significant memory, where even a small percentage might still be a sizeable quantity of memory for the kernel/OS to work with.
An alternative approach would be to calculate the memory reserved by VMs present in a compute server, and then compare with either a absolute/relative threshold.

Jose Guedez (jfguedez)
tags: added: bseng-343
Changed in charm-nrpe:
importance: Wishlist → High
Changed in charm-nrpe:
assignee: nobody → Gabriel Angelo Sgarbi Cocenza (gabrielcocenza)
Revision history for this message
Gabriel Cocenza (gabrielcocenza) wrote :

I've opened a PR against the project that can be found at this link[0]

[0] https://github.com/justintime/nagios-plugins/pull/27

Changed in charm-nrpe:
status: Triaged → Fix Committed
milestone: none → 22.10
Changed in charm-nrpe:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.