> -----Original Message-----
> From: nate
> Subject: SNMP Queries against a Redhat 7.3 server(.1.3.6.1.4.1.2021.4)
> 
> 
> hello!
> 
> I have been playing with MRTG again recently and started monitoring
> memory usage via SNMP against my debian/redhat/suse machines here.
> 
> Only problem is, from what I can tell, the redhat box does not
> report anything for memory usage, all variables report a value of
> -1. At first I thought maybe it was a kernel thing(my debian boxes
> run 2.2.19), but the SuSE 8 system runs 2.4.18 same as redhat 7.3,
> and they are running the same snmp config file(which is empty[1]).
> 
> Some other variables such as # of processes on the system work but
> for some reason the memory ones do not!
[...]

I get the same response using the OID you specified on my RH7.3 systems.

FWIW: I use the following OID's (see below) to monitor swap for MRTG. BTW:
Don't forget to multiply the MRTG target specification by the corresponding
hrStorageAllocationUnits... for the swap partition. i.e. Note the * 1024
below

Target[excelsior_swap]: 1.3.6.1.2.1.25.2.3.1.5.102&
.1.3.6.1.2.1.25.2.3.1.6.102:community@excelsior: * 1024

Anyway, try the following snmpwalk against .1.3.6.1.2.1.25.2.3.1. You should
see all disk partitions along with the swap space and memory size/used. 

snmpwalk host -c community .1.3.6.1.2.1.25.2.3.1

Good Luck!
Steve Cowles



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to