pass-through and snmpget problem

This is a discussion on pass-through and snmpget problem within the SNMP Users forums, part of the Networking and Network Related category; Hi, I'm using net-snmp v 5.1.1 on solaris, and i got some problems with the pass-...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-03-2005
Ambroise GUABELLO
 
Posts: n/a
Default pass-through and snmpget problem


Hi,

I'm using net-snmp v 5.1.1 on solaris, and i got some problems with the
pass-through method.

In my snmpd.conf, I have added the following line:
"pass .1.3.6.1.4.1.1368 /root/passtestbis"

When I try to do a snmpget with the following line command, :
"snmpget -v 1 -c public myaddressip .1.3.6.1.4.1.1368.2231.1.1.1.7"

Sometimes I have the good returned value,
sometimes it doesn't work and the snmpget command returned:
"Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IADR-MIB::idcsManageSupervision"

The problem is only with snmpget, snmpset always works.
I have traced my called pass script, and It is always called.

The problem seems to be between my snmpd agent and my script.

Here is the -g process in my pass script:
"while getopts :g:s: argument
do
case $argument in

g)
MIB=$OPTARG
echo $MIB
echo integer
VALUE=`cat OID_VALUE`
echo 1
;;
s)
MIB=$OPTARG
TYPE=$3
VALUE=$4

;;
*)
echo "NONE"
;;
esac
done

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:47 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0