Accessing from external memory for Scalars?

2006-08-25 Thread Srivastava, Namburi (IE10)
Title: Accessing from external memory for Scalars? Hi, I need to access a scalar MIB object that is stored in external memory. I don't see any documentation for this in the tutorial section. Help needed. Thanks and Regards, Sri. **

Re: try to remove row in ifTable

2006-08-25 Thread Dave Shield
On 24/08/06, Dominique bastien <[EMAIL PROTECTED]> wrote: > the explaination of the mask is not > clear and the padding that you add at the end (the > five bit set to 0) to make the thing work is not > obvious. OK - I follow you know. (I can't believe that I didn't spot the

Re: General snmptrap question

2006-08-25 Thread Dave Shield
On 24/08/06, Jonathan Shan <[EMAIL PROTECTED]> wrote: > How can I make snmptrap more useful? Well the first thing is to take a step back (TM), and think about what you are actually wanting to do. SNMP is just a tool - and the best tool in the world is no use unless you have a task to perform. S

Re: 答复:

2006-08-25 Thread Dave Shield
On 25/08/06, MCG PENG Mingxing <[EMAIL PROTECTED]> wrote: > But when I run "net-snmp-config --snmpconfpath" command, the output is: > "unknown option --snmpconfpath" > . > > (My net-snmp package version is 5.1.2 for linux enterprise 4.0) That's an extremely old

Re: Accessing from external memory for Scalars?

2006-08-25 Thread Dave Shield
On 25/08/06, Srivastava, Namburi (IE10) <[EMAIL PROTECTED]> wrote: > I need to access a scalar MIB object that is stored in external memory. Is there an API for retrieving this value? Do you have control over the application or subsystem that maintains this value? Dave --

RE: Accessing from external memory for Scalars?

2006-08-25 Thread Srivastava, Namburi (IE10)
Yes, I have an API for retrieving this value... Sri. * This e-mail, and

Re: Accessing from external memory for Scalars?

2006-08-25 Thread Dave Shield
On 25/08/06, Srivastava, Namburi (IE10) <[EMAIL PROTECTED]> wrote: > I have an API for retrieving this value... Ok - use 'mib2c -c mib2c.scalar.conf' (with the name of your MIB object or object group) to generate a template for implementing this MIB object. Then insert your API call to retriev

snmpget for SCO OpenServer 5.0.7

2006-08-25 Thread Michael Thomson
Hi, I have installed net-snmp 5.1.2Sa (from SCO Skunkware) as a replacement for the limited SNMP tools (eg getone, getmany, trap_rece etc) shipped with SCO OSR 5.0.7. I have set up a test system using the SCO server and a Cisco 2950 (with SNMP packet debugging enabled). The SCO command `getone

Unix socket not deleted in a config master/subagent

2006-08-25 Thread Arnaud BODENAN
To add some details: When I start the master agent, 'ls -ltr master' gives: srwxrwxr-x 1 arnboden rms0 Aug 25 11:09 ../master= When I start the subagent, the same command gives the same result: srwxrwxr-x 1 arnboden rms0 Aug 25 11:09 ../master= Bu, I'm a bit confused

答复: 答复:

2006-08-25 Thread MCG PENG Mingxing
Hi Dave: OK, thanks for your friendly help, I have solved this problem. -原始邮件- 发件人: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Dave Shield 发送时间: 2006年8月25日 16:32 收件人: MCG PENG Mingxing 抄送: net-snmp-users@lists.sourceforge.net 主题: Re: 答复: On 25/08/06, MCG PENG Mingxing <[EMAIL PR

using java in SNMP

2006-08-25 Thread Kawthar Moria
i am using Java and would like to get some MIB information from remote device. i couldnt find resources that use java there is only C++ .. anyone can help Best regards, Mrs. Kawthar Moria Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail.

I'm confused about xupsTrapBasic

2006-08-25 Thread Christopher Fowler
I'm confused about the OID that is sent with 'xupstbControlOff' Here is a section from the MIB: -- Traps (xupst) -- -- 1) Powerware's traps are defined in this MIB for three different sources: -- a) Basic Agents for which the trap variables have not been defined, -- though trap

Re: Unix socket not deleted in a config master/subagent

2006-08-25 Thread Dave Shield
On 25/08/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > When I start the master agent, 'ls -ltr master' gives: > srwxrwxr-x 1 arnboden rms0 Aug 25 11:09 ../master > > When I start the subagent, the same command gives the same result: > srwxrwxr-x 1 arnboden rms0 Aug 25

Re: using java in SNMP

2006-08-25 Thread Dave Shield
On 25/08/06, Kawthar Moria <[EMAIL PROTECTED]> wrote: > i am using Java and would like to get some MIB information from remote > device. i couldnt find resources that use java there is only C++ .. This is probably the wrong place to ask - the Net-SNMP package is primarily a C-based toolkit (though

extending snmp agent without c

2006-08-25 Thread John Dunne
Hey to all, I'm planning on extending the snmp agent by writing modules written in C, which will set variables. Since some of these modules are only going to call another already written program and pass the variable onto it, is it possible to write such modules in perl or another script that will

Re: extending snmp agent without c

2006-08-25 Thread Dave Shield
On 25/08/06, John Dunne <[EMAIL PROTECTED]> wrote: > I'm planning on extending the snmp agent by writing modules written in > C, which will set variables. Since some of these modules are only going > to call another already written program and pass the variable onto it, > is it possible to write su

Re: Unix socket not deleted in a config master/subagent

2006-08-25 Thread Arnaud BODENAN
In the file, snmpd.c, I've seen the following code: RETSIGTYPE SnmpdShutDown(int a) { #ifdef WIN32 extern netsnmp_session *main_session; #endif running = 0; #ifdef WIN32 /* * In case of windows, select() in receive() function will not return * on signal. Thats why following f

Re: try to remove row in ifTable

2006-08-25 Thread Dominique bastien
The line: view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xffa0 The agent only get the 0xa0 with this line The line need to be change to: view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xff:0xa0 In this case everything is fine. Dominique --- Dave Shield <[EMAIL PROTECTED]> wrote: > On 24/08/06, D

Re: try to remove row in ifTable

2006-08-25 Thread Dave Shield
On 25/08/06, Dominique bastien <[EMAIL PROTECTED]> wrote: > > The line: > view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xffa0 > > The agent only get the 0xa0 with this line By Jove, you're right! Well, I never > The line need to be change to: > view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xff

Re: extending snmp agent without c

2006-08-25 Thread John Dunne
That was easy! Thanks Dave Dave Shield wrote: > On 25/08/06, John Dunne <[EMAIL PROTECTED]> wrote: > >> I'm planning on extending the snmp agent by writing modules written in >> C, which will set variables. Since some of these modules are only going >> to call another already written program a

Re: try to remove row in ifTable

2006-08-25 Thread Dominique bastien
Yes this notation also works. --- Dave Shield <[EMAIL PROTECTED]> wrote: > On 25/08/06, Dominique bastien <[EMAIL PROTECTED]> > wrote: > > > > The line: > > view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xffa0 > > > > The agent only get the 0xa0 with this line > > By Jove, you're right! Well, I n

I'm confused about xupsTrapBasic

2006-08-25 Thread Christopher Fowler
I'm confused about the OID that is sent with 'xupstbControlOff' Here is a section from the MIB: -- Traps (xupst) -- -- 1) Powerware's traps are defined in this MIB for three different sources: -- a) Basic Agents for which the trap variables have not been defined, -- though trap

sending a generic trap

2006-08-25 Thread Christopher Fowler
I have a server that runs a program in Perl that tries to ping heartbeat some remote devices. Typically when the device goes down it will email notify someone. I have a customer who would also like an snmp trap. I do not want to have to create a whole mib with an extension of our enterprise simp