CCS developed the first C Compiler for Microchip microcontrollers over 20 years ago and continues to provide software solutions to developers of embedded applications using PIC ® MCU and PIC24/dsPIC ® DSC devices. CCS compilers are easy to use and quick to learn. CCS C Program in C on a PIC micro CCS C projects CCS C sample code CCS C application. These circuits using CCS C Compiler and use of LM35 temperature sensor includes menu design on Graphic LCD. Menu selection, etc., especially on graphic LCD. One of the rare examples of issues on the Internet.
On Tue, 31 Aug 2004 15:04:31 -0700 (PDT) MrD wrote:M Can multiple variables be set in differnet modules inM one snmp set command?Yes.M I know that mib2c prototypes a function for eachM variable to be set is this the only way snmp set willM work, one variable or one module at a time?The old style (v4) API did pass in a single request at a time. The new style(v5) passes in a list of requests.-Robert Story; NET-SNMP Junkie. Well I designed a VLAN on one of our routers and it worked. But that is notwhat this user group is for.
The set commands as far as I know access asingle oid within your MIB. But you could create your own SET request whichwould use the individual SET requests? A wee' wrapper.It shouldnt be that difficult to do. The applications provided forsnmptranslate and set etc are pretty cool.MIB2c just provides the template code which us mere mortals have to conjureour applications.Cheers,Garyc- Original Message -From: 'MrD' To: Sent: Tuesday, August 31, 2004 5:04 PMSubject: configuring VLANS or multiple variable sets in one SNMP command Hello, Sorry if this posts twice:) I recently found the net-snmp lib and tools and I love them:) Thanks all involved.
I've built them from the source on a linux system very easy just one failure for perl doing the test. Can't load './blib/arch/auto/NetSNMP/agent/agent.so' for module NetSNMP::agent: /usr/lib/libnetsnmpmibs.so.5: undefined symbol: rpmdbClose at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229. at test.pl line 11 Compilation failed in require at test.pl line 11. BEGIN failed-compilation aborted at test.pl line 11. But this is not my question.
If you know the answer great but my real concern right now is. Can multiple variables be set in differnet modules in one snmp set command? I know that mib2c prototypes a function for each variable to be set is this the only way snmp set will work, one variable or one module at a time? I'm not a snmp expert so forgive me if my ignorance is showing:) Has anyone worked on configuring switchs, VLANs specifically, via snmp? If so I'd love to here from you and pointers to anything you can share.
Thanks in advance:) Dave Do You Yahoo!? Tired of spam?
Mail has the best spam protection around - This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. Net-snmp-users mailing list Net-snmp-users@.
Please see the following page to unsubscribe or change other options. Hello,Sorry if this posts twice:)I recently found the net-snmp lib and tools and I lovethem:) Thanks all involved.
I've built them from thesource on a linux system very easy just one failurefor perl doing the test.Can't load './blib/arch/auto/NetSNMP/agent/agent.so'for module NetSNMP::agent:/usr/lib/libnetsnmpmibs.so.5: undefined symbol:rpmdbClose at/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pmline 229.at test.pl line 11Compilation failed in require at test.pl line 11.BEGIN failed-compilation aborted at test.pl line 11.But this is not my question. If you know the answergreat but my real concern right now is.Can multiple variables be set in differnet modules inone snmp set command?I know that mib2c prototypes a function for eachvariable to be set is this the only way snmp set willwork, one variable or one module at a time?I'm not a snmp expert so forgive me if my ignorance isshowing:)Has anyone worked on configuring switchs, VLANsspecifically, via snmp? If so I'd love to here fromyou and pointers to anything you can share.Thanks in advance:)DaveDo You Yahoo!?Tired of spam? Mail has the best spam protection around. Hello,I recently found the net-snmp lib and tools and I lovethem:) Thanks all involved.
I've built them from thesource on a linux system very easy just one failurefor perl doing the test.Can't load './blib/arch/auto/NetSNMP/agent/agent.so'for module NetSNMP::agent:/usr/lib/libnetsnmpmibs.so.5: undefined symbol:rpmdbClose at/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pmline 229.at test.pl line 11Compilation failed in require at test.pl line 11.BEGIN failed-compilation aborted at test.pl line 11.But this is not my question. If you know the answergreat but my real concern right now is.Can multiple variables be set in differnet modules inone snmp set command?I know that mib2c prototypes a function for eachvariable to be set is this the only way snmp set willwork, one variable or one module at a time?I'm not a snmp expert so forgive me if my ignorance isshowing:)Has anyone worked on configuring switchs, VLANsspecifically, via snmp? If so I'd love to here fromyou and pointers to anything you can share.Thanks in advance:)DaveDo you Yahoo!?Win 1 of 4,000 free domain names from Yahoo! On Tue, 31 Aug 2004 13:42:40 +05180030 vchauhan@. Wrote:VC Quoting Robert Story:VC I got another idea today.
Use the mib2c.array-user.conf template, butVC inject a custom handler right above it that finds the row/value for allVC the requests and inserts them into the container. Then call the generatedVC handler, which will find the rows in the container and return the values.VC After the request finishes, empty the container so it will be ready forVC the next request.VCVC Thanks for this new suggestion. In fact I have tried a similar solution butVC using the iterator conf file. The reason why this solution is not the bestVC fit for me is that I cannot afford to populate the table at every requestVC made to read any variable(s) of the table.You didn't read my suggestion closely enough. I didn't say 'load all the rows',I said 'load all the rows for all the requests'. Look at the requestsparameter and the mode, and just find the rows you need to answer thoserequests. Insert those rows into the container (or the datastore for theiterator).-Robert Story; NET-SNMP Junkie.
On Tue, 31 Aug 2004 17:02:26 +0800 Jim wrote:JS 1. On Tue, 31 Aug 2004 21:42:09 +0200 Horst wrote:HT But the numerical output forHT the private mib (cisco=.9.x) is not very useful.
I want to get literalHT outputs, so I can read what the reason of the snmp-trap was. So IHT downloaded the Cisco MIB v1 and v2. For several hours I have read the docsHT and tried to get the MIB into net-snmp to get the literal output - but withHT no success. I really do not know what to do;-( Can anybody help me?Have you read these FAQ entries?It would help if you tell us exactly what you have tried, and what errors youget.-Robert Story; NET-SNMP Junkie. Attachments:Hello,I have a debian woody with net-snmp 5.
I use the snmpd for receiving =traps from differnent network devices e.g. Cisco.But the numerical output for the private mib (cisco=3D.9.x) is not very =useful. I want to get literal outputs, so I can read what the reason of =the snmp-trap was.
So I downloaded the Cisco MIB v1 and v2.For several hours I have read the docs and tried to get the MIB into =net-snmp to get the literal output - but with no success. I really do =not know what to do;-(Can anybody help me?Many thnks Horst.
Attachments:Hello,I have a debian woody with net-snmp 5. I use the snmpd for receiving =traps from differnent network devices e.g. Cisco.But the numerical output for the private mib (cisco=3D.9.x) is not very =useful. I want to get literal outputs, so I can read what the reason of =the snmp-trap was. So I downloaded the Cisco MIB v1 and v2.For several hours I have read the docs and tried to get the MIB into =net-snmp to get the literal output - but with no success. I really do =not know what to do;-(Can anybody help me?Many thnks Horst.
1) Have you built your genertated template OK using mib2c? Yes/no 2) If yes you should see an initialization function being generated. Since this list obviously should serve the needs of the majority of list members, everyone.please tell the list admin. (not the list, to keep list noise low) whether you vote.for. or.against.
adding a net-snmp-users tag to the subject line. Mailto:net-snmp-users-admin@. I'll count the results first thing on Wednesday 1st September,Just to remind everyone that I'll be counting the results of this ballottomorrow. So if you have any preference (either way), then rememberto let me know. Thomas has already pointed you in the direction of the most likelycause of the timeout problem. Attachments:Hello All,I have a problem executing mib2cexport MIBDIRS=3D/opt/iexpress/net-snmp/share/snmp/mibsexport MIBS=3DALLmib2c -c mib2c.old-api.conf UCD-SNMP-MIB::ucdavis -f outputfileI get the following error=20No log handling enabled - turning on stderr loggingUCD-SNMP-MIB: Module not foundYou didn't give mib2c a valid OID to start with.
IE, I could not findany information about the mib node 'UCD-SNMP-MIB::ucdavis'. This could =be causedbecause you supplied an incorrectly node, or by the MIB that you'retrying to generate code from isn't loaded. To make sure your mib isloaded, run mib2c using this as an example:env MIBS=3D'+MY-PERSONAL-MIB' mib2c -c mib2c.old-api.conf =UCD-SNMP-MIB::ucdavis -f outputfileYou might wish to start by reading the MIB loading tutorial at:And making sure you can get snmptranslate to display information aboutyour MIB node. Once snmptranslate works, then come back and try mib2cagain.But when I execute using the object identifiers i get the following =outputmib2c -c mib2c.old-api.conf.1.3.6.1.4.1.2021 -f outputfilewriting to outputfile.hwriting to outputfile.cSTORE(SNMP::MIB=3DHASH(0x40059f94) outputfile HASH(0x401cc634)): write =access to the MIB not implementedrunning indent on outputfile.hrunning indent on outputfile.cWhat may be the reasonThanks,PrakashThanks,Prakash. Hello SNMP gurus.
I have the snmpd daemon running without problems. I am running snmpd with -D but the debugging content in the log file delivers little info or ideas as to what is wrong. However, when I try to access the daemon via snmpwalk or snmpstatus I only get the following: Time out: no response from localhost. Input parameters:snmpstatus localhost publicsnmpwalk -v 1 192.168.1.1 publicsnmpwalk -v 1 localhost publicsnmpwalk -v 2c localhost publicThe firewall logs show no sign of blocking access to: snmpdInvoking: snmptest localhost public returns:variables: quitting.Please advise, David.