Re: sql trap handler available for testing in SVN

2009-02-23 Thread Wes Hardaker
> On Fri, 20 Feb 2009 19:24:58 +, Colin Strachan > said: CS> There is no snmptrapd_sql.c file in the checkout I obtained using: Whoops. Robert forgot to check them in, but he just did so try again! -- Wes Hardaker Sparta, Inc. -

Re: Changing password first boot 5.3.2

2009-02-23 Thread Wes Hardaker
> On Sat, 21 Feb 2009 10:36:55 +, Dave Shield > said: DS> if (uptr->cloneFrom == NULL) { DS> return SNMP_ERR_INCONSISTENTNAME; ... DS> Wes - can you shed any light on what might be happening here? Well, that's required by the RFC... you can't set your password if the user hasn't be

Re: registering only trap with other subagent

2009-02-23 Thread Wes Hardaker
> On Mon, 23 Feb 2009 22:14:08 +0800, said: KJ> Since registering & owning will require that all get,set & walk request KJ> also need to handle by my subagent. Which I dont want to do. You don't need to register for the table in order to send traps. Just send the trap in question from your

registering only trap with other subagent

2009-02-23 Thread KapilKumar.Jain
Hello all, IF-MIB is owned by net-snmp agent. However I want the traps to be handle by my subagent. i.e. Whenever there is change in interface status, my module will generate the traps. and net-snmp will take it. Since registering & owning will require that all get,set & walk request also need

Re: Help Required on Net-SNMP

2009-02-23 Thread Dave Shield
2009/2/23 Sathyanarayana Murthy, Harish Kolar : > Now my question is how to get the details like hard disc drives, running > processes etc.. > since the OIDs will be having a number appenede to the standard OIDs like That's the purpose of the GETNEXT request. As I said before: >> Have a look at

RE: Help Required on Net-SNMP

2009-02-23 Thread Sathyanarayana Murthy, Harish Kolar
Hi dave, Yes, I am able to walk thru the MIB and get the details. And I am testing this on my own machine. The PDU is of type SNMP_GET. pdu = snmp_pdu_create(SNMP_MSG_GET); /// Now my question is how to get the details like hard disc drives, running processes etc..since the OIDs w

Re: Help Required on Net-SNMP

2009-02-23 Thread Dave Shield
2009/2/23 Sathyanarayana Murthy, Harish Kolar : > Now i am looking to get details like list of running processes and list of > hard > disk storage drives etc.. but not able to achieve this. > > I know the OID text corresposning to them like > > H/W disk storage drives : > "host.hrStorage.hrStorag

Re: Log files

2009-02-23 Thread Dave Shield
2009/2/23 B V Narasimhulu : > I want to direct the messages of snmp_log () with priority 0 to 6, to logfile > /var/lod/snmpd.log, > and the messages with priority LOGDEBUg to a file /var/log/snmp_debug.log > file. > For this, i'm seeting the arguments as below. Is it correct ? Close, but not qui

Re: Log files

2009-02-23 Thread B V Narasimhulu
Hi David, Adding to my previous mail. I want to direct the messages of snmp_log () with priority 0 to 6, to logfile /var/lod/snmpd.log, and the messages with priority LOGDEBUg to a file /var/log/snmp_debug.log file. For this, i'm seeting the arguments as below. Is it correct ? ./snmpagent -Lf 0

RE: Help Required on Net-SNMP

2009-02-23 Thread Sathyanarayana Murthy, Harish Kolar
Hi all, I am using net-snmp in my C++ project to get the profile details of a node in windows. I am able to get the basic details like sysDescr.0. and is working fine. Now i am looking to get details like list of running processes and list of hard disk storage drives etc.. but not able to a

Help Required on Net-SNMP

2009-02-23 Thread Maruthi Gonuguntla
Hi All, I am G. Maruthi Prasad. I am currently designing an application where I need to simulate the SNMP device. I am planning to use Net-SNMP for this application. Can anybody help me how to extend my private mib with Net-SNMP? Thanks in Advance, Maruthi -