Some primary questions on implementing trap

2007-01-06 Thread Zhang Chuan
Hi, everybody Happy new year! I am using NET-SNMP 5.2.2. I want to implement some traps in my agent. For example, as soon as CPU is overload or the fan is out of work, the agent should send notifications to manager. I already have some MIBs definitions for those traps. But I have no idea how to

Solaris memTotalFree.0

2007-01-06 Thread Thomas Anders
Dave, in the light of bug #1628613 (no memTotalFree.0 with 5.4 on Solaris), I've been looking into both ./agent/mibgroup/ucd-snmp/memory_solaris2.c and ./agent/mibgroup/hardware/memory/memory_solaris2.c . Is there a good reason why the getTotalFree() routine from the old implementation has been