Jump to content

Recommended Posts

Hello, I've been checking monitor setup but I having some troubles on Memory and CPU.

I want to create two alerts = 

1) RAM: alert when above 90% for an hour+ 2) CPU: alert when above 90% for an hour+.

Have any one of you done this ?  Is it even possible ? 

 

 

Link to post
Share on other sites
  • 2 weeks later...
  • 1 month later...
  • 2 months later...
  • 1 month later...

I've been looking to set up the same thing. There's a remote monitor that can be created on Memory and % Committed Bytes In Use. You can set it to Less Than/Equal with a value of 90. Unfortunately this checks the virtual memory and not the physical memory and I'm looking to monitor the latter.

Anyone has a solution to monitor the physical memory used?

Regards,
Pat

Link to post
Share on other sites
  • 4 weeks later...

Hello,

I created a remote monitor that runs powershell 

Monitor Result of Executable 

"c:\windows\system32\windowspowershell\v1.0\powershell.exe" -command "& {$Server = $env:computername;$ComputerMemory =  Get-WmiObject -Class WIN32_OperatingSystem -ComputerName $Server;$Memory = ((($ComputerMemory.TotalVisibleMemorySize - $ComputerMemory.FreePhysicalMemory)*100)/ $ComputerMemory.TotalVisibleMemorySize);$Calc = [System.Math]::Round($Memory);Write-output $Calc}"

It's not the greatest but does the job

Link to post
Share on other sites

Also same for CPU

"c:\windows\system32\windowspowershell\v1.0\powershell.exe" -command "& {$Server = $env:computername;$Processor = (Get-WmiObject -ComputerName $Server -Class win32_processor -ErrorAction Stop | Measure-Object -Property LoadPercentage -Average | Select-Object Average).Average;Write-output $Processor}"
 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...