Re: Problem with snmpset.

2009-05-26 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/5/

quagga snmp

2009-05-26 Thread attia med
hi, i have 2 ligne token from file /var/log/syslog [smux_accept] accepted fd 10 from 127.0.0.1:36306 refused smux peer: oid SNMPv2-SMI::enterprises.3317.1.2.5, descr Quagga-0.99.9 i don't know why refused smux peer ,can some one help me. ---

Re: issue with snmpget

2009-05-26 Thread Dave Shield
2009/5/22 Tanisha Kashyap : > I have to a get on a MIB variable but it gives me a timeout everytime. > > I am able to do a set on this variable successfully so it doesn’t look like > a access control problem. Using the same administrative settings for both? In which case, I'd agree. If a SET reque

error on subcontainer 'interface container' insert (-1)

2009-05-26 Thread Valdemir Santos
Please, I´m trying run snmpd daemon in solaris non-global machine, and I´m receiving this message: zone> /usr/local/sbin/snmpd -f -Le error on subcontainer 'interface container' insert (-1) error on subcontainer 'interface container' insert (-1) error on subcontainer 'interface container' insert

Re: Create VLAN using Q-BRIDGE-MIB

2009-05-26 Thread Dave Shield
2009/5/21 Vincent Bernat : > This is not the way to create a new row in a table. You should try: > > snmpset -v 2c -c private 192.168.2.241 \ >  Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo \ >  Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 You need to specify an *instance* of these two object

Re: Reg: net-snmp usage

2009-05-26 Thread Dave Shield
2009/5/24 Mayukh Das : > I am new to net-snmp. When doing snmpwalk I usually use the OID of the > object to retrieve the data, like: > snmpwalk -v 2c -c "public" , > But if I specify the object name, then it throws error. What error? What object name? If you want us to help you, you *must* give

Re: Enable / Disable MIB through snmp.conf

2009-05-26 Thread Dave Shield
2009/5/22 Amar Mudrankit : > the configuration in snmpd.conf, that I tried was as follows: > > view udpview    included        .1 >  view udpview    excluded        .1.3.6.1.2.1.7 > >  authcommunity read public       10.50.0.0/16    -V udpview Yes - that should work. I've just tried essentially t

Re: MIB file creation - table of groups

2009-05-26 Thread Dave Shield
2009/5/22 Radhika Srivatsa : > I am trying to create a MIB file which has a table consisting of > groups of items as its rows. Please post the definition of your MIB. It's not worth us wasting time trying to guess what you have done. Much easier to show us. > I don't think it should be a problem

Re: monitor "looking" at objects which are not supposed to be monitored

2009-05-26 Thread Dave Shield
2009/5/26 Richard Gipps : > I am using monitor to “keep an eye on” some parameters in a mib. I have > found that objects which are not being monitored are still being accessed by > snmpd (as if a get command was issued). What objects are being accessed? >

snmpd and proprietary mib

2009-05-26 Thread Filka Michal
Hi all, I have a little problem with snmpd. I would be glad of any help. Background: I created a proprietary mib (module name PIM-MIB) and loadable module. MIB contains one Unsigned32 variable (testNo) and one notification (testTr). snmp.conf contains: mibdirs + mibs +PIM-MIB snm

RE: monitor "looking" at objects which are not supposed to be monitored

2009-05-26 Thread Sowmya P Venkatesh
Hi Dave, In NET-SNMP, when we load a mib file there is a function called LoadMib. This function returns true or false that indicated whether the mib has been loaded. From where do I get the mib name because I may have a different file name but the mib name may be different. Regards, Sowmya

Re: snmpd and proprietary mib

2009-05-26 Thread Dave Shield
2009/5/26 Filka Michal : >  snmp.conf contains: [snip] Where is this snmp.conf file? >  snmpd.conf contains: [snip] Where is this snmpd.conf file? Dave -- Register Now for Creativity and Technology (CaT), Jun

Re: monitor "looking" at objects which are not supposed to be monitored

2009-05-26 Thread Dave Shield
2009/5/26 Sowmya P Venkatesh : > In NET-SNMP, when we load a mib file there is a function called LoadMib. Errr... where? I've done a quick search of the source code and can't spot any routine by this name. (It doesn't feel like Net-SNMP naming convention either). > From where do I get the mib n

RE: snmpd and proprietary mib

2009-05-26 Thread Filka Michal
Both in /etc/snmp Michal Filka > -Original Message- > From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On > Behalf Of Dave Shield > Sent: 26. května 2009 13:17 > To: Filka Michal > Cc: net-snmp-users@lists.sourceforge.net > Subject: Re: snmpd and proprietary mib > > 2

Re: Troubles with snmpget

2009-05-26 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2009/5

Getting the MIB Name by reading the file

2009-05-26 Thread Sowmya P Venkatesh
Hi Dave, Let me be specific with my query. My requirement is : User can add mibs. The Custom mibs should be validated and should be loaded. For example my mib file name can be sample.mib. Inside that I may have a IfMIB. So in that case my mib name should be IfMIB and not sample. In NET SNMP we h

Re: Getting the MIB Name by reading the file

2009-05-26 Thread Dave Shield
2009/5/26 Sowmya P Venkatesh : > What my requirement is > Load the mib files and check if they are valid. If so return the mib name. Have a look at the source code for 'read_mib' (in the file snmplib/parse.c) You should be able to tweak (a copy of) this to return the module name, rather than the

VACM access for .1.3 subtree only

2009-05-26 Thread kusuma.bm
Hi, i want to allow snmp access for subtree ".1.3" only and not for ".1", how can i do this? i tried giving ".1.3" in place of ".1" in snmp_standard_views() in vacm_conf.c , but it didn't work out. So where else i need to look out? -kusuma -

Re: VACM access for .1.3 subtree only

2009-05-26 Thread Dave Shield
2009/5/26 kusuma.bm : >  i want to allow snmp access for subtree ".1.3" only and not for ".1", > how can i do this? In snmpd.conf: viewsubtree13 included .1.3 rocommunity public default -V subtree13 (untested, but it should work) Dave --

RE: snmpd and proprietary mib

2009-05-26 Thread Filka Michal
I've parsed command: start-stop-daemon --quiet --start --exec /usr/sbin/snmpd -- -Lsd -Lf /dev/null -p /var/run/snmpd.pid out of /etc/init.d/snmpd and all is working fine. Seems that problem is in setting shell environment. Michal Filka > > Both in /etc/snmp > > Michal Filka > > > -Orig

Re: VACM access for .1.3 subtree only

2009-05-26 Thread kusuma.bm
thank you for ur reply, but i am not reading the snmpd.conf file. i am making use of Net-snmp 5.4.2.1 as my agent and have created the v2c community. I am giving the subtree as .1.3 for the vacm_parse_view() in vacm_vars.c . Even this is not working. So anywhere in the code i can configure li

Re: VACM access for .1.3 subtree only

2009-05-26 Thread Dave Shield
2009/5/26 kusuma.bm : > but i am not reading the snmpd.conf file. i am making use of Net-snmp > 5.4.2.1 as my agent and have created  the v2c community. I am giving the > subtree as .1.3  for the vacm_parse_view() in vacm_vars.c . Even this is not > working. So anywhere in the code i can configure

Re: Nested Table

2009-05-26 Thread Dave Shield
2009/5/26 Julius Naperkowski : > I want to have a table which is included in an instance of another tablerow. You can't - this is invalid SMI structure. You need to use "shared indexes" and parallel tables. Have a look at the Disk and Partition tables (in the Host Resources MIB) for an example.

Nested Table

2009-05-26 Thread Julius Naperkowski
Hello everybody, I was wondering how to complete mib2c output in order to create some kind of a nested table which i have already defined in a mib file. In other words, I want to have a table which is included in an instance of another tablerow. I used mib2c with create-dataset.conf but it just

RE: How often is "pass" called?

2009-05-26 Thread Fredrik Arnerup
>>> What is doing the polling? > >FA> As far as I can tell, nothing. > > I disagree. pass scripts shouldn't be run randomly. Turn on the -d switch to figure out what's doing the polling. Ok, I can't make sense of the log though. Excerpt below. > (disman event mib support could certainly trigger

Long delays when a value is set in an snmp table

2009-05-26 Thread Philip Mason
Hello all, I'm adding an agent to some embedded hardware and I have created a table that contains details I need. When I try to set values however the agent takes 4 or 5 seconds to reply to the manager which is performing the set. After some hunting I've located the line of code that is causing

Re: clientaddr option in 5.4.1

2009-05-26 Thread Glenn McAllister
lanas wrote: > Hello all, > > Any doubts concerning the clientaddr option in 5.4.1 ? I've tried it > briefly, adding it to anmp.conf as 'clientaddr 192.168.33.33' (this IP > being a valid eth4 LAN interface although not the one by which the traps > will go which is eth1 and 10.159.9.37) and the

Re: MIB file creation - table of groups

2009-05-26 Thread Radhika Srivatsa
Hi, Thank you for the message. Attached is my MIB file and the parsed output from snmptranslate (which looks ok). I do not have smilint loaded on my m/c and am trying to download that to see if the MIB syntax can be validated through smilint. Let me know if you see something problematic with this

Re: Troubles with snmpget

2009-05-26 Thread May The Dog
Hi everyone, I found that snmpget -c communityName ipaddress:port does not work. I raised the issue in another email also. Regards, On Tue, May 26, 2009 at 7:36 AM, Dave Shield wrote: >[ First - *please* don't mail me privately, without copying > any responses to the mailing list

Re: Create VLAN using Q-BRIDGE-MIB

2009-05-26 Thread Vincent Bernat
OoO En cette fin de matinée radieuse du mardi 26 mai 2009, vers 11:54, Dave Shield disait : >> snmpset -v 2c -c private 192.168.2.241 \ >>  Q-BRIDGE-MIB::dot1qVlanStaticRowStatus = createAndGo \ >>  Q-BRIDGE-MIB::dot1qVlanStaticName = vlan6 > You need to specify an *instance* of these two obje

Re: clientaddr option in 5.4.1

2009-05-26 Thread lanas
On Tue, 26 May 2009 11:15:23 -0400, Glenn McAllister wrote : >> Should the clientaddr option in 5.4.1 work ? Are there any quirks >> about it ? > It does, but it needs to be processed before your trepsess options in > your snmpd.conf file. Read the thread starting at > http://thread.gmane

Does everybody has the mib file "tlab8000nmMIB"can prov ide to me

2009-05-26 Thread hungta
Dear All, I maintaine the Tellabs MR8660 Edge Swich in Telcom Company And I need a mib file "tlab8000nmMIB" to get data Because the file is hard to find in internet and its cooperation, so. Does everybody has the mib file can provide to me thanks Regards -

RE: snmpset operation

2009-05-26 Thread Mike Ayers
> From: chandan [mailto:chandan.b...@globaledgesoft.com] > Sent: Monday, May 25, 2009 1:50 AM > Consider the following MIB table definition: > > 1. TableIndex (integer) > 2. TableAddrType (InetAddressType) > 3. TableAddr (InetAddress) > 4. TableRowStatus (Rowstatus) > > The following condition

RE: Subagent timeout

2009-05-26 Thread Mike Ayers
> From: Joan Landry [mailto:joan.lan...@overturenetworks.com] > Sent: Monday, May 25, 2009 4:56 AM > I have a situation where it takes 2 minutes to reload some of > the tables > and unfortunately when I call agent_check_and_process after 2 minutes > the code in net-snmp stops my subagnet from ru

RE: monitor "looking" at objects which are not supposed to be monitored

2009-05-26 Thread Richard Gipps
Dave, See my responses below... >> I am using monitor to "keep an eye on" some parameters in a mib. I have >> found that objects which are not being monitored are still being accessed by >> snmpd (as if a get command was issued). > What objects are being accessed? The object being acce

using mib2c compiler

2009-05-26 Thread Jaikar Nalthooru
Hi All,  I am new to net-snmp mib2c complier. I need to compile the SIP MIB using mib2c complier. I am following bellow steps to generate .c and .h files from the SIP MIB file. 1. I installed net-snmp on redhat 5 system and copied SIP MIB file to /usr/local/share/snmp/mibs folder. (MIB file from