Perl SNMP module and getbulk

2004-10-30 Thread Chris Boot
Hi, Can anyone show me an example of how to use SNMP::Session::getbulk? I've used the plain get() and bulkwalk(), but I just can't figure out getbulk... My aim at the moment is to get a few entries from the UCD-SNMP-MIB: UCD-SNMP-MIB::memTotalSwap.0 UCD-SNMP-MIB::memAvailSwap.0 UCD-SNMP-MIB::mem

how to use TESTING of ucdsnmp?

2004-10-30 Thread CindyQin
hi: I saw "#ifdef TESTING" in the ucdsnmp programme. I thought it uses to debug,so i defined TESTING in config.h .but, When i compiled the programme, gcc reported a error as follow: /libucdagent.a(agent_registry.o): In function `main': /home/pppjob/test-ucdsnmp/ucdsnmp/agent/agent_registr