Memory alerting issues in snmp monitoring
Posted: Tue Mar 05, 2019 6:50 am
Hi team,
I see physical memory of an Linux appliance that nagios is monitoring through snmp have issues, below are the issues:
1) Nagios is showing 86% physical memory usage of an appliance where as in appliance physical memory is shown as 16%. and below is the command we are running to get physical memory using snmp wizard in nagios
[nagios@lxappnagprd001 libexec]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H 172.26.199.21 -C xcdgkpub --v2c -m Physical -w 75 -c 85 -f
Physical memory: 86%used(27653MB/32181MB) (>85%) : CRITICAL | 'Physical_memory'=27653MB;24136;27354;0;32181
when I run command to get memory usage instead of physical memory , I'm getting below output. and I see Physical memory and virtual memory usage as 86% (same usage) which I feel is something wrong and let me how the usage is being calculated and let me know how we can correct this.
[nagios@nagioshost libexec]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H xxxxxxxx -C public --v2c -m memory -w 75 -c 85 -f
Shared memory: 100%used(977MB/977MB) Physical memory: 86%used(27652MB/32181MB) Cached memory: 100%used(23453MB/23453MB) Virtual memory: 86%used(27652MB/32181MB) (>85%) : CRITICAL | 'Shared_memory'=977MB;733;831;0;977 'Physical_memory'=27652MB;24136;27354;0;32181 'Cached_memory'=23453MB;17590;19935;0;23453 'Virtual_memory'=27652MB;24136;27354;0;32181
Can you some one let me know why virtual memory and physical memory are showing as same value. Ideally virtual and physical memory usage will be always different
I see physical memory of an Linux appliance that nagios is monitoring through snmp have issues, below are the issues:
1) Nagios is showing 86% physical memory usage of an appliance where as in appliance physical memory is shown as 16%. and below is the command we are running to get physical memory using snmp wizard in nagios
[nagios@lxappnagprd001 libexec]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H 172.26.199.21 -C xcdgkpub --v2c -m Physical -w 75 -c 85 -f
Physical memory: 86%used(27653MB/32181MB) (>85%) : CRITICAL | 'Physical_memory'=27653MB;24136;27354;0;32181
when I run command to get memory usage instead of physical memory , I'm getting below output. and I see Physical memory and virtual memory usage as 86% (same usage) which I feel is something wrong and let me how the usage is being calculated and let me know how we can correct this.
[nagios@nagioshost libexec]$ /usr/local/nagios/libexec/check_snmp_storage_wizard.pl -H xxxxxxxx -C public --v2c -m memory -w 75 -c 85 -f
Shared memory: 100%used(977MB/977MB) Physical memory: 86%used(27652MB/32181MB) Cached memory: 100%used(23453MB/23453MB) Virtual memory: 86%used(27652MB/32181MB) (>85%) : CRITICAL | 'Shared_memory'=977MB;733;831;0;977 'Physical_memory'=27652MB;24136;27354;0;32181 'Cached_memory'=23453MB;17590;19935;0;23453 'Virtual_memory'=27652MB;24136;27354;0;32181
Can you some one let me know why virtual memory and physical memory are showing as same value. Ideally virtual and physical memory usage will be always different