Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-28 Thread ravindra Chavalam
Hi Thomas, I solved the issue by doing some source code changes Now the o/p looks like this #/opt/iexpress/net-snmp/bin/snmpwalk -v 1 -c public 127.0.0.1 UCD UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP-MIB::memErrorName.0 = STRING: swap UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 4194304 kB UCD-

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-28 Thread Thomas Anders
ravindra Chavalam wrote: > I solved the issue by doing some source code changes Now that we've been providing help, would you mind returning the favor and submit your changes back to the project? http://www.net-snmp.org/patches would be the ideal place. Thank you. +Thomas -- Thomas Anders (t

Re: UCD-SNMP-MIB::memAvailSwap.0 returns -2 value

2008-08-28 Thread ravindra Chavalam
Hi Thomas, Before sending the actual patch i need some clarification about the changes i have made. Below are the changes i have done in agent/mibgroup/hardware/memory/memory_hpux.c in *get_swapinfo* function Before: 120 mem->units = pss.pss_swapchunk; 121 mem->si

User defined #31

2008-08-28 Thread Angela Lazaro
Hi all! Does anyone knows why the message, User defined #31 , is displayed when a snmp agent is running and receives a get request. I got this after a getbulk request and after a get request. I am using net-snmp-5.3.2 and sometimes this message are displayed. I appreciate your help. Many