Community names

2010-06-07 Thread Sam V
Hi Guys, How many communities can net-snmp agent support? Is there a limit? I"ll appreciate any link to a detailed documentation about communities. Thanks. _ Turn down-time into play-tim

Re: agentx: snmpd does not route put to subagent

2010-06-07 Thread Juan Carlos Franzoy
2010/6/7 Wes Hardaker : >> On Fri, 4 Jun 2010 15:41:00 -0300, Juan Carlos Franzoy >> said: > > JCF> subagent ==> REGISTER (prefix=4 subtree=1.4908.3.20.5) ==> snmpd > JCF> subagent < == RESPONSE (no error) <== snmpd > > JCF> I run: snmpset -v 1 -c public localhost 1.3.6.1.4.1.4908.3.20.5

Re: Fwd: SNMP walk not displaying complete mib oid's

2010-06-07 Thread Adline D'Silva
AD> why is this difference happening? >>Because the machines are different running different sets of software. >>Certainly the version number is different and certainly what it included >>is different. You should look at the agent's output in each of those >>MIBs to see if it's reporting data for

Re: thread safe question

2010-06-07 Thread Kathy McLeod
I don't have an "application" - I am just entering commands at the command line to test the agent. Don't you guys know if you implemented that in the agent (thread safety)? I was trying to test it by sending 2 commands from different systems but I am having major problems with the second system t

Re: thread safe question

2010-06-07 Thread Bart Van Assche
On Mon, Jun 7, 2010 at 5:45 PM, Kathy McLeod wrote: > > If two different clients/managers issue a command to the agent "at the same > time", does the agent process them one at a time, or do they get processed > together. I.e., do I have to have locking around my static variables? > In case of d

Re: snmpset : specifing OCTET STR in bytes

2010-06-07 Thread Wes Hardaker
> On Sun, 6 Jun 2010 13:14:30 +0300 (IDT), "Asaf Ohaion" > said: AO> how can I specify in 'snmpset -s' int values of the individual bytes, AO> something like "snmpset HOST s '02 33 00' Use the 'x' flag instead. HOST x 023300 -- Wes Hardaker Cobham Analytic Solutions -

Re: snmptrapd --- Receives trap

2010-06-07 Thread Wes Hardaker
> On Mon, 7 Jun 2010 15:18:22 +0530, Queenie de Melo > said: QdM> I would like to know when the snmptrapd daemons receives a trap. QdM> where would that be ?? Which function would that be in? snmp_input in snmptrapd_handlers.c -- Wes Hardaker Cobham Analytic Solutions ---

Re: agentx: snmpd does not route put to subagent

2010-06-07 Thread Wes Hardaker
> On Fri, 4 Jun 2010 15:41:00 -0300, Juan Carlos Franzoy > said: JCF> subagent ==> REGISTER (prefix=4 subtree=1.4908.3.20.5) ==> snmpd JCF> subagent < == RESPONSE (no error) <== snmpd JCF> I run: snmpset -v 1 -c public localhost 1.3.6.1.4.1.4908.3.20.5 i 1 You need to register the suba

Re: cache load does not get called

2010-06-07 Thread Kathy McLeod
Correction to my previous note - it is the table iterator code that is a poor performer. Kathy McLeod Dept S82 CCB - SNMP IBM Rochester, MN (507) 253-4803 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate Gee

thread safe question

2010-06-07 Thread Kathy McLeod
Hi - If two different clients/managers issue a command to the agent "at the same time", does the agent process them one at a time, or do they get processed together. I.e., do I have to have locking around my static variables? Thanks. Kathy McLeod Dept S82 CCB - SNMP IBM Rochester, MN (507) 2

Re: creating row in inetCidrRouteTable

2010-06-07 Thread Ryota YUSHINA
Dear Asaf I could create an easy entry. snmpset -v2c -c private 127.0.0.1 \ > IP-FORWARD-MIB::inetCidrRouteStatus.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1 i 4 \ > IP-FORWARD-MIB::inetCidrRouteIfIndex.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1 i 2 \ > IP-FORWARD-MIB::inetCidrRouteMetric1.1.4.19

Net-SNMP & OpenVPN on Solaris 10

2010-06-07 Thread Andreas.Schafroth
all, seems that net-snmp has an issue with IfTable if OpenVPN-Client is installed on same Solaris10 box: Install base: - net-snmp v 5.4.2.1 - OpenVPN Client v 2.0.9 sparc-sb-solaris2.10 [SSL] If both binaries are running: user_abc 24127 1 0 13:09:34 ? 2:31 /opt/openpkg/sbin/openvp

snmptrapd --- Receives trap

2010-06-07 Thread Queenie de Melo
Hello, I would like to know when the snmptrapd daemons receives a trap. where would that be ?? Which function would that be in? Can anyone help me out!! Thanks -- ThinkGeek and WIRED's GeekDad team up for the Ultimate

agentx: snmpd does not route put to subagent

2010-06-07 Thread Juan Carlos Franzoy
Hello. First of all, thank for reading my post. I am facing problem with an agentx subagent that must support gets and puts. But when I issue an snmpset command, nothing arrives to subagent. I run master agent in this way: ./snmpd -c ../share/snmp/snmpd.conf -C -f -L -V -d -Dagentx I see