RE: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB)

This is a discussion on RE: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB) within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C67E89.848A3566 Content-Type: text/plain; charset="us-ascii&...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-23-2006
Makavy, Erez
 
Posts: n/a
Default RE: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB)

This is a multi-part message in MIME format.

------_=_NextPart_001_01C67E89.848A3566
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Never mind, it's working now.

_____ =20

From: net-snmp-users-admin@lists.sourceforge.net
[mailto:net-snmp-users-admin@lists.sourceforge.net] On Behalf Of Erez
Makavy
Sent: Thursday, May 18, 2006 9:17 PM
To: net-snmp-users
Subject: Row createtion not working (TARGET-MIB, NOTIFICATION-MIB)


Hi,
=20
Could it be that row-creation (create&wait) is not working for the
TARGET-MIB?
=20
I tried:
------------
snmpset -v 1 -c private localhost 1.3.6.1.6.3.12.1.2.1.9.61.62.63 i 5

Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'=3D>?'

=20
- The index to the table is an implied string, so I'm trying instance
61.62.63
(length 3 is not required, it is implied)
- I'm passing 'i' for integer, and the value 5 (create&wait).
- I got the communities set up in my snmpd.conf:
rocommunity public
rwcommunity private
- I checked that snmpset works:
snmpset -v 1 -c private localhost 1.3.6.1.2.1.1.5.0 s
just-a-string
SNMPv2-MIB::sysName.0 =3D STRING: just-a-string
=20
Maybe I'm missing something?
=20
Thanks,
Erez.
=20

------_=_NextPart_001_01C67E89.848A3566
Content-Type: text/html;
charset="us-ascii"
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=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D733505216-23052006><FONT face=3DArial color=3D#008000 =
size=3D2>Never=20
mind, it's working now.</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> =
net-snmp-users-admin@lists.sourceforge.net=20
[mailto:net-snmp-users-admin@lists.sourceforge.net] <B>On Behalf Of =
</B>Erez=20
Makavy<BR><B>Sent:</B> Thursday, May 18, 2006 9:17 PM<BR><B>To:</B>=20
net-snmp-users<BR><B>Subject:</B> Row createtion not working =
(TARGET-MIB,=20
NOTIFICATION-MIB)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Could it be that row-creation (create&amp;wait) is not working for =
the=20
TARGET-MIB?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried:</DIV>
<DIV>------------</DIV>
<DIV>&nbsp;snmpset -v 1 -c private localhost =
1.3.6.1.6.3.12.1.2.1.9.61.62.63 i=20
5</DIV>
<DIV><BR>Error in packet.<BR>Reason: (noSuchName) There is no such =
variable name=20
in this MIB.<BR>Failed object:=20
SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'=3D&gt;?'<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>- The index to the table is an implied string, so I'm trying =
instance=20
61.62.63</DIV>
<DIV>&nbsp; (length 3 is not required, it is implied)</DIV>
<DIV>-&nbsp; I'm passing 'i' for integer, and the value 5=20
(create&amp;wait).</DIV>
<DIV>- I got the communities set up in my snmpd.conf:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; rocommunity&nbsp; public</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp; rwcommunity&nbsp; private</DIV>
<DIV>- I checked that snmpset works:</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; snmpset -v 1 -c private localhost=20
1.3.6.1.2.1.1.5.0 s just-a-string<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
SNMPv2-MIB::sysName.0 =3D STRING: just-a-string</DIV>
<DIV>&nbsp;</DIV>
<DIV>Maybe I'm missing something?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Erez.</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C67E89.848A3566--


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
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 11:38 AM.


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