Page 1 of 1
SNMP Physical memory utilization service error
Posted: Sat Aug 21, 2021 8:09 am
by RIDS_I2MP
Hi Team,
We have enabled monitoring on windows servers using snmp window wizard. We are getting error for physical memory utilization.
we are using below command.
/usr/local/nagios/libexec/check_snmp_storage.pl -H <IP Address> -C <Community string> --v2c -m 'Physical Memory' -w 80 -c 90 -f
o/p : Unknown storage : Physical Memory : ERROR
Please help, Thanks in advance
Re: SNMP Physical memory utilization service error
Posted: Mon Aug 23, 2021 3:39 pm
by gsmith
Hi,
SO when you use the Windows SNMP wizard there are a few items checked by default for monitoring.
Mine looks like:
Image12.jpg
Is "Physical memory usage" the only one giving you trouble?
Is it the only one you have configured?
Thanks
Re: SNMP Physical memory utilization service error
Posted: Tue Aug 24, 2021 7:23 am
by RIDS_I2MP
2021-08-24_171335.png
Hi Team,
As below we are using all default ticked services but in c drive and physical memory only we are gettion error.
Please let me know if any addition data is required. Kindly check screenshot.
Thanks in advance.
Re: SNMP Physical memory utilization service error
Posted: Tue Aug 24, 2021 10:08 am
by gsmith
Hi,
Please check the command for "Drive C: Disk Usage" If there is a "^" character before the "C:"
characters in the command please remove it and force a check on that service.
From a CLI on the Nagios server please run:
Code: Select all
snmpwalk -v2c -c public 192.168.23.96 | grep StorageDesc
Here are my results for comparison.
[root@localhost tmp]# snmpwalk -v2c -c public 192.168.23.96 | grep StorageDesc
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: C:\\ Label: Serial Number 4e07b61a
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: D:\\ Label:CENA_X64FREE_EN-US_DV5 Serial Number d388b443
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: E:\\ Label:New Volume Serial Number 2c37ce97
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: Physical Memory
[root@localhost tmp]#
Let me know what you find out please.
Thanks
Re: SNMP Physical memory utilization service error
Posted: Fri Aug 27, 2021 3:05 am
by RIDS_I2MP
C drive issue resolved.
below is the result for command.
[nagios@eu2napu002 ~]$ snmpwalk -v2c -c Public IP | grep StorageDesc
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical RAM
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Virtual Memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: (C:) System
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: (D:) Data
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: (Z:) *Empty unit*
Re: SNMP Physical memory utilization service error
Posted: Fri Aug 27, 2021 11:28 am
by gsmith
Hi,
Go to Configure, CCM, Services
Find the service for the Physical Memory that isn't working.
Edit that service - in the $ARGS1$ field change
from:
-m "Physical Memory"
to:
-m "Physical RAM"
Image19.jpg
Remember to Save your changes and to Apply Configuration
Please let me know it turns out.
Thanks
Re: SNMP Physical memory utilization service error
Posted: Sat Aug 28, 2021 2:55 am
by RIDS_I2MP
Thanks issue is resolved
