XI Incorrectly measuring available memory.
Posted: Wed Jun 20, 2018 9:24 am
I have a number of Memory Usage monitors related to AWS EC2 machines that run my organization's API and websites, etc. It was noticed recently that some of these servers have been totally pegged on Memory, but our Nagios alerts for Memory Usage are not alerting us to the high usage. This is because the monitor is not correctly calculating the amount of available memory.
We are using check_xi_service_nsclient
Most of these servers are small and only need to run a light weight application, or they are load balanced with others. Here are a couple examples of what I am seeing:
EC2 Available Memory: 2GB (Confirmed by AWS EC2 Specs on website, Confirmed by specs listing in top right corner of EC2 Desktop, Confirmed in Windows Server Manager). -- EC2 type t2.small
Nagios reports available memory as 4479.62MB (Almost 4.5 gigs)
On another server, which is identical specs to those previously mentioned (t2.small, Windows Server 2016, NSClient), Nagios reports available memory as 4351.65MB (4.3 gigs)..
On yet another server with different specs (t2.medium, Windows Server 2016, NSClient), The available memory is 4GB per specs, server manager, and specs listing on desktop. Nagios reports 4799MB available...
We are using check_xi_service_nsclient
Most of these servers are small and only need to run a light weight application, or they are load balanced with others. Here are a couple examples of what I am seeing:
EC2 Available Memory: 2GB (Confirmed by AWS EC2 Specs on website, Confirmed by specs listing in top right corner of EC2 Desktop, Confirmed in Windows Server Manager). -- EC2 type t2.small
Nagios reports available memory as 4479.62MB (Almost 4.5 gigs)
On another server, which is identical specs to those previously mentioned (t2.small, Windows Server 2016, NSClient), Nagios reports available memory as 4351.65MB (4.3 gigs)..
On yet another server with different specs (t2.medium, Windows Server 2016, NSClient), The available memory is 4GB per specs, server manager, and specs listing on desktop. Nagios reports 4799MB available...