I am getting an error with net-snmp 5.4.1.2 which i have built  for HP-UX
11iv2.Below is the details of the error


#/opt/iexpress/net-snmp/bin/snmpwalk -v 2c -c public 127.0.0.1 UCD

When i run the above command i am getting output similar to this


UCD-SNMP-MIB::memIndex.0 = INTEGER: 0
UCD-SNMP-MIB::memErrorName.0 = STRING: swap
UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 8388608 kB
UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: -2 kB
UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 4173768 kB
UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 792232 kB
UCD-SNMP-MIB::memTotalSwapTXT.0 = INTEGER: 22008 kB
UCD-SNMP-MIB::memAvailSwapTXT.0 = INTEGER: 12964 kB
UCD-SNMP-MIB::memTotalRealTXT.0 = INTEGER: 16980 kB
UCD-SNMP-MIB::memAvailRealTXT.0 = INTEGER: 10608 kB
UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB
UCD-SNMP-MIB::memUsedSwapTXT.0 = INTEGER: 12964 kB
UCD-SNMP-MIB::memUsedRealTXT.0 = INTEGER: 10608 kB
UCD-SNMP-MIB::memSwapError.0 = INTEGER: error(1)
UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: Running out of swap space (-1)
UCD-SNMP-MIB::laIndex.1 = INTEGER: 1


All values are ok except UCD-SNMP-MIB::memAvailSwap.0

is showing -2

These are the configuration options i have used

export CFLAGS="-mpa-risc-2-0 -fPIC"
  ./configure  --prefix=/opt/iexpress/net-snmp \
               --disable-debugging  \
               --with-defaults \
               --disable-embedded-perl \
                --with-openssl=/opt/openssl \
                --enable-ipv6 \
                --with-transports="UDP UDPIPv6 TCPIPv6" \
                --enable-ucd-snmp-compatibility \
                --with-libs="-lnm -lipv6" \
                 --enable-shared

snmpd.conf has the only entry i.e shown below

rocommunity public


Can you help me regarding this


Thanks in advance


Attaching the entire output of /opt/iexpress/net-snmp/bin/snmpwalk -v 2c -c
public 127.0.0.1 UCD


Regards,
Ravindranath
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to