SNMP Physical memory utilization service error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

SNMP Physical memory utilization service error

Post 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
Thanks & Regards,
I2MP Team.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: SNMP Physical memory utilization service error

Post 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
You do not have the required permissions to view the files attached to this post.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: SNMP Physical memory utilization service error

Post 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.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: SNMP Physical memory utilization service error

Post 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
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: SNMP Physical memory utilization service error

Post 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*
Thanks & Regards,
I2MP Team.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: SNMP Physical memory utilization service error

Post 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
You do not have the required permissions to view the files attached to this post.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: SNMP Physical memory utilization service error

Post by RIDS_I2MP »

Thanks issue is resolved :)
Thanks & Regards,
I2MP Team.
Locked