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

about-me: expanded RAM isn't updating #757

Open
6 of 8 tasks
slalomsk8er opened this issue Apr 16, 2024 · 0 comments
Open
6 of 8 tasks

about-me: expanded RAM isn't updating #757

slalomsk8er opened this issue Apr 16, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@slalomsk8er
Copy link
Contributor

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

  • .rpm/.deb package from repo.linuxfabrik.ch
  • Compiled for Linux (.tar/.zip from download.linuxfabrik.ch)
  • Compiled for Windows (from download.linuxfabrik.ch)
  • Source Code from GitHub

Bug description

On a VM the RAM got doubled without a reboot but a manual scheduled about-me will not report the new value.

Steps to reproduce - Plugin call

/usr/lib64/nagios/plugins/about-me

Steps to reproduce - Data

  1. increase RAM of VM
  2. schedule about-me
  3. observe RAM value didn't change

Environment

AlmaLinux 8.9 (Midnight Oncilla) Kernel 4.18.0-513.18.2.el8_9.x86_64 virtualized on vmware

Plugin Version

about-me: v2023051201 by Linuxfabrik GmbH, Zurich/Switzerland

Python version

No response

List of Python modules

No response

Additional Information

psutil is correct but from the code I suspect dmidecode is used and this will only show the new value after a reboot.

$ python3
Python 3.6.8 (default, Jan 16 2024, 08:27:02)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-20)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.virtual_memory().total
67752341504
@slalomsk8er slalomsk8er added the bug Something isn't working label Apr 16, 2024
@slalomsk8er slalomsk8er changed the title about-me: expanded RAM isn't updating without reboot of the VM about-me: expanded RAM isn't updating Apr 16, 2024
@markuslf markuslf added this to the M005 milestone Apr 16, 2024
@markuslf markuslf self-assigned this Apr 16, 2024
@markuslf markuslf modified the milestones: M005, M006 May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants