Re: MIB file creation - table of groups

2009-05-27 Thread Dave Shield
2009/5/26 Radhika Srivatsa : > 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. There's no need to download smilint. If you actually read the FAQ entry that I mentioned, you'll see that it talks about an on-line inte

In which SNMP SET mode data is written to the database.

2009-05-27 Thread venkatgiri
Hi all, can i know in which mode [RESERVE1, RESERVE2, FREE, ACTION, COMMIT, UNDO] the data is written from the SNMP SET command, and in which mode i have to check for the consistency. Can any one explain the above question with the below example. xyz::= SEQUENCE { a InetAddressType, MA

Re: Troubles with snmpget

2009-05-27 Thread Dave Shield
2009/5/26 May The Dog : > I found that > snmpget -c communityName   ipaddress:port > does not work. No - it doesn't. Please try reading the *full* text of my response. Dave -- Register Now for Creativity and Technol

Re: snmpset operation

2009-05-27 Thread Dave Shield
2009/5/27 Mike Ayers : >> From: chandan [mailto:chandan.b...@globaledgesoft.com] >> The following condition applies to each conceptual row of the table: >> "If TableRowStatus is set to Active, TableAddrType MUST not >> be modified". >>  In this scenario should the following SET operation succeed

Re: In which SNMP SET mode data is written to the database.

2009-05-27 Thread Dave Shield
2009/5/27 venkatgiri : > can i know in which mode [RESERVE1, RESERVE2, FREE, ACTION, COMMIT, > UNDO] the data is written from the SNMP SET command, and in which mode i > have to check for the consistency. Please read the description of SET processing in the file AGENT.txt Dave --

Re: using mib2c compiler

2009-05-27 Thread Dave Shield
2009/5/27 Jaikar Nalthooru : > 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 > http://www.icir.org/fenner/mibs/extracted/SIP-TC-MIB-sip-1

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

2009-05-27 Thread Dave Shield
2009/5/27 Richard Gipps : > The object being accessed (1.3.6.1.4.1.33302.10.4.15) is from one of > our enterprise MIBs. I have attached the MIB for reference. Given that all of the MIB objects being monitored appear to be scalars, I'd start by converting all of the "monitor" lines to use exact ins

Re: In which SNMP SET mode data is written to the database.

2009-05-27 Thread venkatgiri
Dave Shield wrote: 2009/5/27 venkatgiri : can i know in which mode [RESERVE1, RESERVE2, FREE, ACTION, COMMIT, UNDO] the data is written from the SNMP SET command, and in which mode i have to check for the consistency. Please read the description of SET processing in the file AGENT.txt

Re: In which SNMP SET mode data is written to the database.

2009-05-27 Thread Dave Shield
2009/5/27 venkatgiri : > i have gone through AGENT.txt, there he is specified as the data will be > written in ACTION mode, but he is not specified the mode in which the > consistency check has to be done. It doesn't *have* to be done in any one place - it's up to you where and how you do any part

questions on traps

2009-05-27 Thread Filka Michal
Hi, I have defined proprietary notification (testTr, test is related unsigned32 value). When the notification is generated it comes together with couple traps or notifications (see below), which seems to be related to it. Where the other traps come from? Trap (V2), 04-27-2009 12:21:38,

Re: questions on traps

2009-05-27 Thread Dave Shield
2009/5/27 Filka Michal : > I have defined proprietary notification (testTr, test is related > unsigned32 value). When the notification is generated it comes together > with couple traps or notifications (see below), which seems to be > related to it. Where the other traps come from? How have you c

RE: Subagent timeout

2009-05-27 Thread Joan Landry
I found that the actual time or delay is 10 seconds. What I have determined is if the subagent delays for 10 seconds during a get operation net-snmp closes it's pipe and the subagent program receives signal SIGPIPE, Broken pipe. I added a SIGPIPE handler to the subagent to prevent it from being

Re: Subagent timeout

2009-05-27 Thread Bart Van Assche
On Wed, May 27, 2009 at 1:40 PM, Joan Landry wrote: > I found that the actual time or delay is 10 seconds. What I have > determined is if the subagent delays for 10 seconds during a get > operation net-snmp closes it's pipe and the subagent program receives > signal SIGPIPE, Broken pipe. > > I add

Re: questions on traps

2009-05-27 Thread Dave Shield
2009/5/27 Filka Michal : >> How have you configured trap destinations in your snmpd.conf file? >> If you have *both* "trapsink" and "trap2sink" lines, then you will >> always get two copies of each trap. > I have trapsink even trap2sink directives. Sorry - that doesn't make sense. What is the con

RE: questions on traps

2009-05-27 Thread Filka Michal
> How have you configured trap destinations in your snmpd.conf file? > If you have *both* "trapsink" and "trap2sink" lines, then you will > always get two copies of each trap. I have trapsink even trap2sink directives. "testTr" is defined as SNMPv2 notification. > > What is the OID of "testTr" ? t

Re: questions on traps

2009-05-27 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/

RE: questions on traps

2009-05-27 Thread Filka Michal
> > trapcommunity public > > trapsink > > trap2sink > > OK - so that explains why you are getting two copies of each trap. ... the Is supposed as target for SNMPv1 traps even SNMPv2 notifications. However I currently generate just one SNMPv2 notification only. > > Again, this is covered in the

Re: questions on traps

2009-05-27 Thread Dave Shield
2009/5/27 Filka Michal : >> > trapcommunity public >> > trapsink >> > trap2sink >> >> OK - so that explains why you are getting two copies of each trap. > ... the Is supposed as target for SNMPv1 traps even SNMPv2 > notifications. However I currently generate just one SNMPv2 notification > only.

Re: MIB file creation - table of groups

2009-05-27 Thread Radhika Srivatsa
Hi Dave, Thanks for the detailed response. Yes, that's (expanding the group item as individual items in the Entry itself) what I did yesterday and things look good now. One more question though --- to run the smilint, we would have to load all the other MIBs that are listed in the IMPORTS section

RE: quagga snmp

2009-05-27 Thread Mike Ayers
> From: attia med [mailto:hmohame...@gmail.com] > Sent: Monday, May 25, 2009 9:49 AM > 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 think you should

RE: net-snmp usage

2009-05-27 Thread Mike Ayers
> From: Mayukh Das [mailto:u_peerl...@yahoo.co.in] > Sent: Sunday, May 24, 2009 12:04 AM > 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. http

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

2009-05-27 Thread Richard Gipps
Hi Dave, Thanks for the tip. Did you mean monitor -I rather than -i? Anyway the -I certainly fixed the problem I was having, but when I apply this to the monitor expressions none of the traps fire (even when they are supposed to). Richard. -Original Message- From: dave.

Does anyone has the mib file "tlab8000nmMIB"can provide to me

2009-05-27 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 anyone has the mib file can provide to me thanks Regards

dows mib2c generate write routines for set commands

2009-05-27 Thread Richard Gipps
Hi, I have been successfully using mib2c to generate code deals with an SNMP get command, but now I want to implement some code for SNMP set commands. I have added am object to my MIB with read-write access, but when I run mib2c with the following parameters it does not generate

RE: questions on traps

2009-05-27 Thread Filka Michal
> The first and fourth traps are the standard DisMan Event MIB trap > "mteTriggerFired" (again with two copies, becuase you've got two > trap*sink directives). So, anytime when I use DisMan for generating a trap, I get "mteTriggerFired" trap too? Is it possible to somehow suppress that? > > > No