Restriction about community-based selection of multiple subagents registered on the same MIB?

2008-08-27 Thread Marco Mussini
Hi, in the FAQ http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Agent_15 concerning scenarios with multiple subagents registered on the same MIB tree, with the appropriate agent selected based on some information found in the incoming request, it is said that while on V3 the 'context' informa

some questions to AgentX helper routines

2008-08-27 Thread Hanig, Michael
Hello there, I stumbled upon some problems using net-snmp for creating a sub-agent. I was able to figure out most of the stuff, but there are still some questions left. I) What is the difference between netsnmp_register_watched_scalar() and netsnmp_register_watched_instance() ? Besides *_instance

Re: Is it possible to set the L3 source interface IP address in a trap packet?

2008-08-27 Thread Jan Safranek
Zhouhuai Shen wrote: > Hi Jan, > > Thanks a lot for the patch. It fixed the agent address inside the UDP > payload. > > The '[snmp] clientaddr 192.168.1.1' in my snmpd.conf doesn't fix > the IP address in the UDP packet in my case. For example, the > outgoing interface IP for the trap is 172.

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

2008-08-27 Thread ravindra Chavalam
Hi Thomas, FYI... I have changed a small line in get_swapinfo function of agent/mibgroup/hardware/memory/memory_hpux.c Before: 119 } 120 mem->units = pss.pss_swapchunk; 121 mem->size = pss.pss_nblksenabled;/* Or pss_nblks ? */