> I checked even with the
> wireshark, the get request and response packets are present, however the
> returned value is "No Such Instance". I even ran the snmpd with
> -Ducd-snmp/pass and it prints the following line
> ucd-snmp/pass: pass-running:  /bin/sh
> /home/rvragav/11n/net-snmp-5.7.1/local/passtest -g
> .1.3.6.1.4.1.8072.2.255.1.0

Is the passtest script being run? Can you verify this by modifying it
to write to a log file somewhere?

1. If it is not being run, check the permissions in snmpd.conf. You'll
need some combination of com2sec/group/view that allows access to the
OID subtree.

2. If it is being run, what is it printing on stdout? Please run it
manually and paste the output in a reply.
e.g.
./passtest -g .1.3.6.1.4.1.8072.2.255.1.0

According to the snmpd.conf man-page, it should print just three lines
and then exit:
oid
type
value

The oid should be that passed in. The type should be one of: integer,
gauge, counter, timeticks, ipaddress, objectid, string.

What snmp command are you using to test snmpd? Please show command line.

Alistair

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to