Menu

#1832 5.4 HP-UX: memAvailSwap.0 = -2 kB

hpux
closed
agent (1105)
5
2014-08-15
2007-06-13
No

I'm running version 5.4-1 of net-snmp (binaries downloaded from net-snmp site at sourceforge) on an HP-UX B.11.11 machine, and swap space is being incorrectly reported. For example, this command:

snmpget -v1 -Cf -c public localhost UCD-SNMP-MIB::memAvailSwap.0

yields the following output:

UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: -2 kB

The machine has way more than -2 kB of swap; the output of swapinfo is:

         Kb      Kb      Kb   PCT  START/      Kb

TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8388608 0 8388608 0% 0 - 1 /dev/vg00/lvol2
reserve - 734216 -734216
memory 3129692 2753768 375924 88%

snmpd itself reports the same wrong number to our management software.

Discussion

  • Thomas Anders

    Thomas Anders - 2007-06-14

    Logged In: YES
    user_id=848638
    Originator: NO

    I can fully reproduce this on HP-UX 11.11, even with the exact same value (-2).

     
  • Thomas Anders

    Thomas Anders - 2009-04-23

    Thanks for the bug report!
    We've fixed the problem in the 5.4.x code branch
    and the main development tree, so it should be
    fixed in future releases of the Net-SNMP package.

     
  • Thomas Anders

    Thomas Anders - 2009-04-23

    Fixed by patch 2088726 applied in SVN Rev. 17547.

     

Log in to post a comment.