Re: pass through not working in snmpd

2010-11-10 Thread Daniel Leicht
Hi Dave, It seems it was the user issue, I removed the "-u snmp" from /etc/init.d/snmpd, but forgot to remove it from /etc/default/snmpd . Now it's removed and it looks like it's working, Thanks alot! Daniel. On Wed, Nov 10, 2010 at 12:29 AM, Dave Shield wrote: > On 9 November 2010 14:36, Dani

Re: pass through not working in snmpd

2010-11-10 Thread Daniel Leicht
Hi Dave, All the directories are 777 or 755 (I checked one by one). /mnt/usb/project/bin/snmp is a soft link to a binary file, I tried putting the binary file there directly, and also tried a shell scripts that prints to a file that it ran (but it didn't print anything). Evenatually I want it to

Re: pass through not working in snmpd

2010-11-09 Thread Dave Shield
On 9 November 2010 14:36, Daniel Leicht wrote: > And when checking the traffic in wireshark, I can see the following: > 48977 2321.852836 10.0.0.183 10.0.0.151 SNMP set-request > 1.3.6.1.4.1.5.1.10 > 48978 2321.856039 10.0.0.151 10.0.0.183 SNMP report 1.3.6.1.6.3.15.1.1.3.0 Sudden thought -

Re: pass through not working in snmpd

2010-11-09 Thread Dave Shield
On 9 November 2010 16:54, Daniel Leicht wrote: > Hi Dave, > All the directories are 777 or 755 (I checked one by one). > /mnt/usb/project/bin/snmp is a soft link to a binary file, I presume you've checked the permissions on the target (binary and directory path) as well? > I tried putting the b

Re: pass through not working in snmpd

2010-11-09 Thread Dave Shield
On 9 November 2010 16:28, Daniel Leicht wrote: > These are the commands result: > # snmpget -v3 -u snmpuser 10.0.0.151 .1.3.6.1.4.1.5.1.10 > Timeout: No Response from 10.0.0.151. > # snmpget -v3 -u snmpuser 10.0.0.151 sysUpTime.0 > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1599) 0:00:1

Re: pass through not working in snmpd

2010-11-09 Thread Daniel Leicht
These are the commands result: # snmpget -v3 -u snmpuser 10.0.0.151 .1.3.6.1.4.1.5.1.10 Timeout: No Response from 10.0.0.151. # snmpget -v3 -u snmpuser 10.0.0.151 sysUpTime.0 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1599) 0:00:15.99 And all I have in /var is /var/lib/snmp/snmpd.conf

Re: pass through not working in snmpd

2010-11-09 Thread Dave Shield
On 9 November 2010 14:36, Daniel Leicht wrote: > I'm trying to make snmpd run a script everytime that someone gets/sets the > oids underĀ 1.3.6.1.4.1.5.1. > An example snmpset command that I use is: > snmpset -v3 -u snmpuser 10.0.0.151 .1.3.6.1.4.1.5.1.10 string "TEST" Is it just this OID

pass through not working in snmpd

2010-11-09 Thread Daniel Leicht
Hi, I'm trying to make snmpd run a script everytime that someone gets/sets the oids under 1.3.6.1.4.1.5.1. An example snmpset command that I use is: snmpset -v3 -u snmpuser 10.0.0.151 .1.3.6.1.4.1.5.1.10 string "TEST" I know for sure that the daemon is not even trying to run that file I