Hi.  I recently installed RedHat 8 I monitor its LAN usage, CPU, mem, swap,
and eventually diskspace using MRTG.  I'm aware that ucd-snmp was changed to
net-snmp.  When I moved my working mrtg.cfg (from RedHat 7.2) suddenly the
mem and swap shows no values, and its graph doesn't change.

For instance, on memory, on my older redhat, when I run snmpwalk this is
what I get:

# snmpwalk localhost public mem
enterprises.ucdavis.memory.memIndex.0 = 0
enterprises.ucdavis.memory.memErrorName.0 = swap
enterprises.ucdavis.memory.memTotalSwap.0 = 409616
enterprises.ucdavis.memory.memAvailSwap.0 = 409288
enterprises.ucdavis.memory.memTotalReal.0 = 770712
enterprises.ucdavis.memory.memAvailReal.0 = 83008
enterprises.ucdavis.memory.memTotalFree.0 = 492296
enterprises.ucdavis.memory.memMinimumSwap.0 = 16000
enterprises.ucdavis.memory.memShared.0 = 72
enterprises.ucdavis.memory.memBuffer.0 = 8704
enterprises.ucdavis.memory.memCached.0 = 547296
enterprises.ucdavis.memory.memSwapError.0 = 0
enterprises.ucdavis.memory.memSwapErrorMsg.0 =


On the new one, even the snmpwalk paramenters changed, and this is what I
get:

# snmpwalk -v 1 -c public localhost mem
UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: -1
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: -1
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: -1
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: -1
UCD-SNMP-MIB::memTotalFree.0 = INTEGER: -2
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000
UCD-SNMP-MIB::memShared.0 = INTEGER: -1
UCD-SNMP-MIB::memBuffer.0 = INTEGER: -1
UCD-SNMP-MIB::memCached.0 = INTEGER: -1
UCD-SNMP-MIB::memSwapError.0 = INTEGER: 1
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space (-1)


All values from snmp were pegged at -1 that's why MRTG don't graph anything.
The swap MIBs like memTotalSwap and memAvailSwap also has the problem
with -1 values.

Any idea on how to have that net-snmp output the correct values?

Or should I just remove net-snmp and get back to ucd-snmp (which I think
isn't the permanent solution, since net-snmp is the new standard)?

Thanks for any help... pls...

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to