Re: Repeated SET requests failing

2007-05-30 Thread Noah Gift
I am impressed you got it to compile. What compile options did you use for 5.4? On 5/30/07, Ward Witt <[EMAIL PROTECTED]> wrote: > I'm working on a Mac OSX program that controls a video processing > card. After opening a session reading from the card works flawlessly, > and the very first set com

Re: Can I put LD_LIBRARY_PATH into a "conf" file?

2007-05-30 Thread Magnus Fromreide
On ons, 2007-05-30 at 06:09 -0700, Need Help wrote: > I already include the following --prefix when performing the > "configure" command: > > --prefix=/export/home/myname/snmp/usr/local > > ... however, this does not allow for the ".so" library files to be > found in the following directory: >

Repeated SET requests failing

2007-05-30 Thread Ward Witt
I'm working on a Mac OSX program that controls a video processing card. After opening a session reading from the card works flawlessly, and the very first set command I send always works, but subsequent set commands will work or fail depending on which ones I send. One command that sets aspec

Re: select() on external FDs in get APIs

2007-05-30 Thread Magnus Fromreide
On ons, 2007-05-30 at 14:28 +0530, Shivani Garg wrote: > Hi, > > I am building a netSNMP sub-agent which accepts SNMP Get from master > daemon and has to forward the request to an external process (say > myModule). My sub-agent will wait for a response to this SNMP Get from > myModule and will fi

MfD specific questions for someone who is familiar with this code (Robert perhaps)

2007-05-30 Thread Need Help
** I am using the MfD configuration file to generate code and I am very confused. I have the following two tables defined in my MIB file. TABLE 1 (osStbHostAVInterfaceTable): ocStbHostAVInterfaceIndex ocStbHostAVInterfaceType ocStbHostAVInterfaceDesc ocStbHostAVInterfaceStatus TABLE 2 (osStbH

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Need Help
Yes, that worked by adding a space character, thanks. However, I do not want to give up on the MfD configuration just yet. I was reading about it and it says that it is the most complete configuration file offered and that existing MIBs are being transferred over to this new format. Based o

Re: How to support subagent.conf update

2007-05-30 Thread Emi . Yanagi
Hi Dave, The subagent framework is from mib2c.mfd.conf, I added snmpd_register_config_handler() by myself so it can read from subagent .conf file and save the p tokens to permanent subagent .conf file. That part is working successfully. I'm just wondering if there is a way to automatically re-rea

Re: How to support subagent.conf update

2007-05-30 Thread Dave Shield
On 30/05/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is there a function in net-snmp library that will force the subagent to > re-read subagent.conf file? My subagent is in a different process from > snmpd. After subagent.conf is updated, how to make the subagent read the > new configuratio

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Dave Shield
On 30/05/07, Need Help <[EMAIL PROTECTED]> wrote: > I tried your recommendation, but got the following error message: > > # mib2c -c mib2c.table_data.conf -Scache=1 ocStbHostAVInterfaceTable > no variable specified for -S flag. at /usr/local/bin/mib2c line 96. Umm... Try -S ca

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Need Help
I tried your recommendation, but got the following error message: # mib2c -c mib2c.table_data.conf -Scache=1 ocStbHostAVInterfaceTable no variable specified for -S flag. at /usr/local/bin/mib2c line 96. Is there something I am missing? I am using NetSnmp-v5.4 Dave Shield <[EMAIL PROTECTED]>

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Need Help
My plan is to integrate NetSNMP into my company's main build load. I will implement procedures to gather the correct MIB information within my company's software, then the NetSNMP code (generated by mib2c) will be updated to call these new procedures to get the data information which will then

How to support subagent.conf update

2007-05-30 Thread Emi . Yanagi
I looked around in agent_read_config.c and read_config.c, also searched in FAQ, but I couldn't find an answer to the question. Is there a function in net-snmp library that will force the subagent to re-read subagent.conf file? My subagent is in a different process from snmpd. After subagent.conf

Re: Regarding Verbose output

2007-05-30 Thread Dave Shield
On 30/05/07, G, Nagendra (Nagendra) <[EMAIL PROTECTED]> wrote: > With our netsnmp simulators I see a lot of verbose output scrolling up > our screen, it looks like a record of the alarms sent. In normal operation, I wouldn't expect to see much output at all. It sounds as if you might have switched

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Dave Shield
On 30/05/07, Need Help <[EMAIL PROTECTED]> wrote: > If there is another widely used configuration file then I would like to play > around with that one as well to get a better feeling of different kinds of > approaches which can be used in NetSNMP. I'd tend to prefer the 'mib2c.table_data.conf' fr

Regarding Verbose output

2007-05-30 Thread G, Nagendra (Nagendra)
Hi , This is Nagendra G from Alcatel-Lucent, need a quick help from you. I'm testing alarms with NetSnmp tool. With our netsnmp simulators I see a lot of verbose output scrolling up our screen, it looks like a record of the alarms sent. There is such a lot of information scrolling past

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Need Help
Well, it seems there are actually about six "sparse" tables in my MIB which are extensions of Table1, so I will need to look into this a bit more to figure out how to approach this correctly. Now, it would be great to hear from Robert on this issue since he is familiar with the MfD configuratio

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Dave Shield
On 30/05/07, Need Help <[EMAIL PROTECTED]> wrote: > Table1 is the "main table" while Table2 is a "sparse" table. Table2 can be > thought of as providing additional column information to extend Table1 and > Table2 is indexed by the same table index defined by Table1. > > What would be the best way

Re: Can I put LD_LIBRARY_PATH into a "conf" file?

2007-05-30 Thread Need Help
Ok, it is a Unix command . I will give it a try thanks Need Help <[EMAIL PROTECTED]> wrote: No I have not. Is "ldconfig" a NetSnmp command? I will look into this and see what it is. I do not have a Linux background, so thanks for any help you provide. Dave Shield <[EMAIL PROTEC

Re: Can I put LD_LIBRARY_PATH into a "conf" file?

2007-05-30 Thread Need Help
No I have not. Is "ldconfig" a NetSnmp command? I will look into this and see what it is. I do not have a Linux background, so thanks for any help you provide. Dave Shield <[EMAIL PROTECTED]> wrote: On 30/05/07, Need Help wrote: > I already include the following --prefix when performing

Re: Can two MIB Tables be related and be required to share the same row index?

2007-05-30 Thread Need Help
Thanks for the explanation . although I have some more questions. Table1 is the "main table" while Table2 is a "sparse" table. Table2 can be thought of as providing additional column information to extend Table1 and Table2 is indexed by the same table index defined by Table1. What would

Re: Can I put LD_LIBRARY_PATH into a "conf" file?

2007-05-30 Thread Noah Gift
Would it be possible to include ldconfig running as part of the make process? I think this has bitten a few people, that aren't normally used to doing it and are compiling. Although, if there is a rpm that included python bindings out, that would great too! On 5/30/07, Dave Shield <[EMAIL PROTEC

Re: Can I put LD_LIBRARY_PATH into a "conf" file?

2007-05-30 Thread Dave Shield
On 30/05/07, Need Help <[EMAIL PROTECTED]> wrote: > I already include the following --prefix when performing the "configure" > command: > > --prefix=/export/home/myname/snmp/usr/local > > ... however, this does not allow for the ".so" library files to be found in > the following directory: > >

Re: Can I put LD_LIBRARY_PATH into a "conf" file?

2007-05-30 Thread Need Help
I already include the following --prefix when performing the "configure" command: --prefix=/export/home/myname/snmp/usr/local however, this does not allow for the ".so" library files to be found in the following directory: /export/home/myname/snmp/usr/local/lib/ Magnus Fromreide

select() on external FDs in get APIs

2007-05-30 Thread Shivani Garg
Hi, I am building a netSNMP sub-agent which accepts SNMP Get from master daemon and has to forward the request to an external process (say myModule). My sub-agent will wait for a response to this SNMP Get from myModule and will fill the values for objects in var_() functions { which are generated