This is a discussion on pass_persist issue... within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============1640068363== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0028_01C7EB1C.10B5CCB0" This ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============1640068363== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0028_01C7EB1C.10B5CCB0" This is a multi-part message in MIME format. ------=_NextPart_000_0028_01C7EB1C.10B5CCB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm trying to implement my private MIB using the persist_test.py = script posted here recently, and am having a problem. The script starts up and does the PING/PONG handshake, but when I try an = snmpget, after the stdin/stddout lines are exchanged, the script receives 4 SIGPIPE signals, and snmpget reports "There is no = such variable name in this MIB". If I run the script manually, everything looks fine: [root@myserver kware]# ./persist_test.py=20 PING PONG get ..1.3.6.1.4.1.29090.1.1 ..1.3.6.1.4.1.29090.1.1 integer 1 Any help would be appreciated. Ken.... ------=_NextPart_000_0028_01C7EB1C.10B5CCB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2838" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3DArial size=3D2> I'm trying to = implement my=20 private MIB using the persist_test.py script posted here recently, and = am having=20 a problem.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>The script starts up and does the = PING/PONG=20 handshake, but when I try an snmpget, after the stdin/stddout lines are=20 exchanged,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>the script receives 4 SIGPIPE signals, = and snmpget=20 reports "There is no such variable name in this MIB".</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>If I run the script manually, = everything looks=20 fine:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3D"Times New Roman" = size=3D3>[root@myserver=20 kware]# ./persist_test.py=20 <BR>PING<BR>PONG<BR><BR>get<BR>.1.3.6.1.4.1.29090. 1.1<BR>.1.3.6.1.4.1.290= 90.1.1<BR>integer<BR>1</FONT><BR></FONT></DIV> <DIV><FONT face=3DArial size=3D2>Any help would be = appreciated.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Ken....</FONT></DIV> <DIV><FONT face=3DArial size=3D2> </DIV></FONT> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> ------=_NextPart_000_0028_01C7EB1C.10B5CCB0-- --===============1640068363== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --===============1640068363== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1640068363==-- |