Opened 4 years ago

Closed 4 years ago

#325 closed defect (worksforme)

physical memory incorrecy

Reported by: morley Owned by: mickem
Priority: 1 Milestone:
Component: CheckSystem Version: 0.3.6
Severity: Bugs Keywords: physical memory incorrect
Cc:

Description

Firstly apoligies, if i have misunderstood the summary for CheckMem or if this post has been produced before.

I have several servers that i am running nsclient++ version 0.3.8.818

CheckMem states
"This check checks the memory (page) usage and generates a state if the memory is above or below give parameters. "
within the type and meaning for the checkmem web page we have a option for phsyical
"physical Total amount of RAM in the server ?? (does it change?) According to M$ this is: Total size of physical memory, in bytes."

I am therefore not quite sure how the checkmem summary relates to producing the physical memory as it refers to page usage.

The issue i have is that I run the nsclient using the test switch and run the External Alias command alias_mem and i get an incorrect physical memory value.

checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical

to which i get a value of 531M not the 4Gb that i have installed.
have enclosed a screen shot of the output and the task manager showing the true amount of memory.

Many Thanks
And

Attachments (1)

memory.JPG (196.5 KB) - added by morley 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by morley

comment:1 Changed 4 years ago by mickem

  • Resolution set to worksforme
  • Status changed from new to closed

I would say it looks correct?

Total Physical memory: 4193268
Available Physical memory: 3649272
So the differance (used) is: 4193268-3649272=543996
543996 bytes/1024 = 531Mb
Which is exactly what NSClient++ reports?

Though I admit to my explanation and reference to "does it ever change" is somewhat strange and should be changed.
Maybe you would like an option to check *just* the total? (and not the usage?)

Michael Medin

Note: See TracTickets for help on using tickets.