about callback function

2007-01-31 Thread Clement Hsu
Dear All: I am Clement. I saw the structure of the snmp_session has a declaration of netsnmp_callback. However, I don't realize how to apply callback to implement trap that can make it receive some system call. Does there exist any documents or introductions about how to use callback. Any sugges

Re: Problem with dynamic ppp interface

2007-01-31 Thread Chris
Hi, in fact the problem for me is more the fact that snmpd remembers all the old instances of the interface in a "down" state. This basically makes MRTG unable to monitor a dynamic ppp interface since it doesn't know which one to pick among so many of them :-) linux:~>snmpwalk -v 2c -c public lo

Re: What are memBuffer and memCache?

2007-01-31 Thread Alef Veld
Darwin does not have a proc filesystem. You can use vmstat root# vm_stat Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free:21040. Pages active: 213760. Pages inactive: 116411. Pages wired down: 42005. "Translation fa

Re: What are memBuffer and memCache?

2007-01-31 Thread Thomas Anders
chris jalbert wrote: > We don't know what OS parameters they represent or even if they are > appropriate to a desktop or server CPU. These objects have probably been created with Linux in mind where you have 'Cached' and 'Buffers' lines in /proc/meminfo: linux# cat /proc/meminfo MemTotal: 10

Re: Problem with dynamic ppp interface

2007-01-31 Thread Thomas Anders
Chris wrote: > sorry to insist, don't want to be a drag, but does > anybody has an idea about what's going on here ? [...] > IF-MIB::ifDescr.8 = STRING: ppp0 > IF-MIB::ifDescr.9 = STRING: ppp0 > IF-MIB::ifDescr.10 = STRING: ppp0 > IF-MIB::ifDescr.11 = STRING: ppp0 > IF-MIB::ifDescr.12 = STRING: ppp

Re: Problem with dynamic ppp interface

2007-01-31 Thread Alef Veld
What's the problem actually ? If you are referring to the same ppp0 interface everywhere, might be due to ppp link flapping alot ? I think snmp works that way, it doesn't reassign the index until reboot (correct me if i'm wrong). Rgds, Alef On Jan 31, 2007, at 5:41 PM, Chris wrote: > Hi th

Problem with dynamic ppp interface

2007-01-31 Thread Chris
Hi there again, sorry to insist, don't want to be a drag, but does anybody has an idea about what's going on here ? linux:~>snmpwalk -v 2c -c public localhost IF-MIB::ifDescr IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr.3 = STRING: sit0 IF-MIB::ifDescr.8 = STRIN

Re: Problem to get HP_UX mib

2007-01-31 Thread Dave Shield
On 31/01/07, <[EMAIL PROTECTED]> wrote: > In one of our HP9000/800 servers, net-snmp is running to get HP-UX system > information. But it doesn't work. > $ ./snmpwalk -c public -t 30 10.15.136.4:161 hp > Error in packet. > Reason: (genError) A general failure occured > Failed object: HP-UNIX::hp

Problem to get HP_UX mib

2007-01-31 Thread ext-Shelley.Zhouxianyu
Hello there, In one of our HP9000/800 servers, net-snmp is running to get HP-UX system information. But it doesn't work. I got following error messages when I tried to get the mib information. Can anybody help me? Thanks a lot for your help! Best Regards Shelley Zhou --

Re: multithreading Problems with net-snmp

2007-01-31 Thread Dave Shield
On 31/01/07, duan qian <[EMAIL PROTECTED]> wrote: > i am working on a project of network management baseed on net-snmp. > it always happened that one thread can works well,and the others all stop > at the line > status = snmp_synch_response(ss, pdu, &response); > does the function support mul

multithreading Problems with net-snmp

2007-01-31 Thread duan qian
i am working on a project of network management baseed on net-snmp.In my situation i have to get the mac,arp,if table of a swither or a router.So a build a object to get all the table of a device,but when the mount of the device comes huge the time it takes too long to wait. so i creat a single

Re: engineID

2007-01-31 Thread Dave Shield
On 31/01/07, redhouse101 <[EMAIL PROTECTED]> wrote: > In using SNMPv3, where should engineID set? The engine ID is normally set automatically when the agent first starts up. This is then saved (again automatically) in the persistent snmpd.conf file. > In my testing, I have not set any, it still

engineID

2007-01-31 Thread redhouse101
Hi, experts, In using SNMPv3, where should engineID set? in persistent snmpd.conf or regular snmpd.conf? In my testing, I have not set any, it still works. Does this an optional configuration? Thank you very much, RH - Ta