pass thru command and set requests with wrong value

2006-01-27 Thread Porel, Partha Protim
Our SNMP agent is designed to work in pass thru way. Eg: pass .1.3.6.1.4.1.3583.1 /usr/samplesnmp We are trying to set an OID with wrong value, but the snmpset command reported success. The particular OID is writable but it should not accept wrong value. So my question is what needs to be done to

RE: pass thru command

2005-07-28 Thread Dave Shield
On Thu, 2005-07-28 at 17:46 +0530, Partha Porel wrote: > The passtest script is: > > #!/bin/sh > Echo .1.3.6.1.2.1.1.1.0 > Echo string > Echo my machine And the ownership/permissions? --- SF.Net email is Sponsored by the Better Software Confe

RE: pass thru command

2005-07-28 Thread Partha Porel
The passtest script is: #!/bin/sh Echo .1.3.6.1.2.1.1.1.0 Echo string Echo my machine Partha -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: 28 July, 2005 4:18 PM To: Partha Porel Cc: [email protected] Subject: Re: pass thru command On Thu

Re: pass thru command

2005-07-28 Thread Dave Shield
On Thu, 2005-07-28 at 16:03 +0530, Partha Porel wrote: > I am using net –snmp 5.1.2 on RH Linux AS4 (Kernel 2.6.9-5) but > not able to run my snmp agent which is implemented in pass through > way. But the script is working fine if I run from command line. > > Snmp.log file is showing “read pe

pass thru command

2005-07-28 Thread Partha Porel
Hi, I am using net –snmp 5.1.2 on RH Linux AS4 (Kernel 2.6.9-5) but not able to run my snmp agent which is implemented in pass through way. I also tried a sample pass thru agent script passtest (as given in snmpd.conf), which is also not working – i.e no response available if I query. Bu