Python bindings

2009-02-11 Thread John A. Khvatov
Hi coders, I want to rewrite the python bindings. My goals: - To implement the class Session using Python C API. To avoid store C pointer as a member of python class. This is wrong: http://git.sgu.ru/?p=net-snmp.git;a=blob;f=net-snmp/python/netsnmp/client_intf.c;hb=HEAD#l1360 - To implement

RE: Getting info about the users in the handler

2009-02-11 Thread Angela Lazaro
Hi Wes! Thanks for your help! At the moment I restrict the elements using rwuser USER1 authnopriv 1.3.6.1 rwuser USER2 authpriv 1.3.6.1 Is there a better way to do it? Besides that if I could get the user name it will be very useful because I need to differentiate users. I want that the two

Re: SNMP Version 3

2009-02-11 Thread Wes Hardaker
> On Wed, 11 Feb 2009 20:20:37 +0530, "Sunil Kumar" > said: SK> I need your help configuring SNMP Version 3 on Windows server 2003. Are you trying to run our agent on windows or configure the default windows agent (which I don't think supports SNMPv3 at all)? -- Wes Hardaker Sparta, I

Re: Getting info about the users in the handler

2009-02-11 Thread Wes Hardaker
> On Wed, 11 Feb 2009 16:14:57 -, "Angela Lazaro" > said: AL> In the configuration file, snmpd.conf, I create more than one user AL> with different security levels. Everything runs fine but I would AL> need to differentiate the users. The proper way to do that is with VACM settings

Getting info about the users in the handler

2009-02-11 Thread Angela Lazaro
Hi all!!! I'm using net-snmp 5.3.2 and I have add a MIB to the agent. The code were generated with, mib2c -c mib2c.iterate.conf MyMIB and I'm using SNMPv3. In the configuration file, snmpd.conf, I create more than one user with different security levels. Everything runs fine but I would

SNMP Version 3

2009-02-11 Thread Sunil Kumar
Hi Team, I need your help configuring SNMP Version 3 on Windows server 2003. I read the documents on web links however, that didn't worked out. Could you please send me the step by step details to have that enabled on some of the servers. Thanks, Sunil Kumar. ---

Re: Can't Get CPU info

2009-02-11 Thread Dave Shield
2009/2/11 Ali Jawad : > Hi I tried it after half an hour of running: OK - so that's not the problem. The other question that I should have asked was what version of the agent you were using. > more info >http://pastebin.com/m63b2adb8 That output answers this question: > NET-SNMP versio

Re: Can't Get CPU info

2009-02-11 Thread Ali Jawad
Hi I tried it after half an hour of running: more info http://pastebin.com/m6dad55c2 and http://pastebin.com/m63b2adb8 On Wed, Feb 11, 2009 at 2:49 PM, Dave Shield wrote: > 2009/2/11 Ali Jawad : > > However [the agent] is not returning the processor load values > > [r...@localhost src]# snm

Re: Can't Get CPU info

2009-02-11 Thread Dave Shield
2009/2/11 Ali Jawad : > However [the agent] is not returning the processor load values > [r...@localhost src]# snmpwalk -c -v 2c x > .1.3.6.1.2.1.25.3.3.1 > HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero > HOST-RESOURCES-MIB::hrProcessorFrwID.769 = OID: SNM

Can't Get CPU info

2009-02-11 Thread Ali Jawad
Dear All I did a lot of googling and tried both rpm packages and source packages to no avail. I try to execute [r...@localhost src]# snmpwalk -c -v 2c xxx .1.3.6.1.2.1.25.3.3.1 It should return HOST-RESOURCES-MIB::hrProcessorFrwID.768 = OID: SNMPv2-SMI::zeroDotZero HOST-RESOURC

February Bug Bash

2009-02-11 Thread Dave Shield
After a short hiatus, we're intending to restart the regular Bug Bash sessions on the #net-snmp IRC channel. The first session of 2009 is scheduled for next Monday - February 20th, at 8pm UTC. (See http://www.timeanddate.com/worldclock/fixedtime.html?year=2009&month=02&day=16&hour=20&min=0&sec=0&