SNMPv3 trap configuration question
Hi I am trying to configure device to generate snmpv3 traps. I use the trapsess directive to define the trap host, however I notice that the traps being sent out do not include authoritative engine ID, engine boots and engine time. I need to manually assign -e option to the trapsess in order to see these fields. Is there any way for the net-snmp to fill in the engine id automatically if -e is not present? If not, what's the easiest way to get the current engine id from the net-snmp? Here is my snmpd.conf access authgroup "" any noauth exact all none none group authgroup usm authuser authuser read,write authuser noauth createUser authuser view all included .1 80 authtrapenable 1 trapsess -v 3 -u authuser 172.16.22.5:162 #trapsess -v 3 -e 80001F888019E4EF18459E727D -u authuser 172.16.22.5:162 Regards, Kevin. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
To obtain the information about CPU,
Dear all, To obtain the information about CPU, I followed this tutorial page http://www.net-snmp.org/tutorial/tutorial-5/mrtg/index.html. But there is no example net-snmp command there. I just found graph and MRTG configuration. If I run following command ( which I got from mrtg guide page ) perl cfgmaker [EMAIL PROTECTED] --global "WorkDir: c:\www\mrtg" --output mrtg.cfg I can see system general information. regards, galaxy - Everyone is raving about the all-new Yahoo! Mail beta.- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmp agent crashed when i used the tool snmpwalk running through out my private MIB(a table).
On 22/12/06, jiang jilin <[EMAIL PROTECTED]> wrote: > Program received signal SIGSEGV, Segmentation fault. > 0xb7e95b20 in rsfwTable_handler (handler=0x80a1e60, > reginfo=0x80a1ea0, reqinfo=0x0, requests=0x810ebe0) at rfw/rs.c:361 > 361 > snmp_set_var_typed_integer(request->requestvb, ASN_COUNTER, Hmmm... I'm not sure I believe the problem lies with 'reqinfo'. If this was indeed NULL, then the module would have crashed earlier, back at the statement: switch (reqinfo->mode) I'm suspicious of the table_entry variable - which you extract from the request structure, but never actually check before using. Try putting a breakpoint on line 361, run the agent again, and check the values of 'reqinfo', 'request' and 'table_entry' - *before* executing the snmp_set_var_typed_integer call. >snmp_set_var_typed_value(request->requestvb, > SNMP_NOSUCHOBJECT, NULL, 0); That's not right. Try netsnmp_set_request_error(reqinfo, request, SNMP_NOSUCHOBJECT); instead Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Regarding agent extension
On 21/12/06, noopur tiwari <[EMAIL PROTECTED]> wrote: > i am interested in extending the net-snmp agnet for a >... table in this mibi have used the mib2c utility with > mib2c.iterate.conf file and ... now want that whenever an snmpget > command is issued then value of the OID should be > retrieved from a file OK. Then the "get_first" hook routine should open this file and read the first line. The "get_next" hook routine should read the next line of the file each time. You should be able to pass the line read in as 'data_context' and the file handle as 'loop_context' (or else have this as a global variable). You don't say how the table is indexed, but that's the role of the 'netsnmp_variable' index parameter. When you get to the end of the file, "get_next" should return NULL. The helper would then be passed the relevant line of the file and can return the appropriate value. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: About the SNMP Agent extending, Please Help me, Thanks.
[ 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. ] On 20/12/06, ss vincent <[EMAIL PROTECTED]> wrote: > Hi Dave, > I appreciate your help, I have looked the Net-SNMP-Extend-MIB, I think my > last mail doesn't express clearly, what I want to do is how to invoke the > Shell scripts in the Net-SNMP agent ( C code), I am trying to use the > system() function, it seems doesn't work Probably the easiest way to run a sub-command would be to use the run_exec_command() or run_shell_command() APIs. You give these routines the command to run, together with an input string (if required) and a buffer for the output - and they handle everything else. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: sending traps from embedded AgentX subagent
On 20/12/06, Srivastava, Namburi (IE10) <[EMAIL PROTECTED]> wrote: > These are the packet dumps I got even after changing the socket through > which the master and sub-agent communicate. Hmmm... Looking back at the previous conversation, you were talking about configuring the Master and subagent to use /var/agentx/master. So I don't understand why these dumps are showing connections via 127.0.0.1: > Received 80 bytes from 127.0.0.1 > : 01 01 00 00 00 00 00 00 00 00 00 00 5B 0A B0 59... What are the settings in your snmpd.conf file? Which version of the agent are you using? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: How to get information on NFS server and file system of HDD
>I would like to obtain >1) information on NFS server >2) file system of HDD >Which net-snmp command should I use ? Assuming your know your community string (I'm using 'public' as an example) a simple walk of the entire system would give you some hints as to where this information might be displayed. Some exists in UCD-SNMP in various spots, but most of it can be found in HOST-RESOURCES-MIB. The exact location may vary from UNIX to UNIX, so you'll just to have to try it, or give us more of a hint as to your exact platform. This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. Any communication received in error, or subsequent reply, should be deleted or destroyed. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: How to get information on NFS server and file system of HDD
On 14/01/07, Galaxy Virus <[EMAIL PROTECTED]> wrote: > I log-in the unix workstation remotely and > using net-snmp comman, I would like to obtain > > 1) information on NFS server > 2) file system of HDD That's a little bit vague. Exactly what information do you want to find out? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmpset question regarding rlCopy.mib
On 11/01/07, Eric Estes <[EMAIL PROTECTED]> wrote: > Is anyone familiar with copying a network switches running configuration to > the startup configuration using rlCopy.mib (Create&Go)? I'm been trying to > get this working for ages and have had no luck. I'm sorry - I'm not familiar with "rlCopy.mib". Is this a tool that you have written using the Net-SNMP suite, or what? A bit more detail about exactly what kit/tools you are using and exactly what you have tried might be useful. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: host-resources disk usage in bytes
Hi Dave, On 1/9/07, Dave Shield <[EMAIL PROTECTED]> wrote: > On 09/01/07, Deon van der Merwe <[EMAIL PROTECTED]> wrote: > > According to net-snmp disk usage percentage is: 78.20% > > Different than df, but df is also strange... > > [EMAIL PROTECTED] df -B4096 > > Filesystem 4K-blocks Used Available Use% Mounted on > > /dev/sda3 8517017 6661036 1423331 83% / > > > > Again it reports 83% use, but if you do the calculation yourself you > > get: 78.20% which is the same as net-snmp... but what about this 83% > > then? > > Traditionally, Unix filesystems have reserved a small percentage of the > disk for "root-only" activity. This is therefore not available for general > use. > You'll note that User+Available = 8084367, which is not the same as the > total size. > 6661036/8084367 = 82.3% Thanks for the pointer in the right direction. The confirmation is in the documentation: man mke2fs ... -m reserved-blocks-percentage Specify the percentage of the filesystem blocks reserved for the super-user. This avoids fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem. The default percentage is 5%. ... - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Open Source Graphical Mib Editor
Hi Barrie, I do not know of an editor like that. What I do is to use a standard text editor and then verify the result with http://www.mibble.org. On 1/12/07, Barrie Hill <[EMAIL PROTECTED]> wrote: > Hi, > > Does anyone know of an open source graphical mib editor for Linux or > Windows? > > Cheers, Barrie > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: SET command only works with system (SNMPv2-MIB) objects
On 03/01/07, Corral Martínez Andrés <[EMAIL PROTECTED]> wrote: > When I try to do a set command to writable objects not in the > SNMPv2-MIB MIB the command fails. > > It prints the following error: "Reason: (genError) A general failure occurred" What OIDs have you tried this with? Just ifAdminStatus(.1.3.6.1.2.1.2.2.1.7) or other OIDs as well? > I'm using version 5.4.0. Previously I was using version 5.1.4 and the > reported error was "notWritable" What O/S are you working with? My suspicion is that this may be related to the new IF-MIB implementation, that has been introduced (or rather activated) with the 5.4 release. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmpd (5.4) cannot open shared object file
Ah! Well ldconfig creates a "static" table of libraries. (read the man page, read the man page...) Removing 5.3.1 and remaking it gets you the same version of the libraries (according to ldconfig). You will have the same problem *if* you un-install 5.3.1, run ldconfig to rebuild the *static* list of libraries, then re-install 5.3.1. David Arthur wrote: Thanks for the suggestions...looking into 'ldconfig' now. BTW, my OS is SUSE Linux Enterprise Server 9. I just wonder why I am needing to use this to get to version 5.4 (from 5.3.1). I started with 5.1.3 and removed it using RPM. I then extracted/configured/built everything in 5.3.1 from the source tar.gz and used the Makefile to install etc. There was no need to 'ldconfig' for that, everything just worked. Does the 5.4 source Makefile(s) not update the links when you install everything, or do something differently than 5.3.1? Thanks for the info guys! Dave Arthur -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Dave Shield Sent: Saturday, January 13, 2007 7:45 AM To: David Arthur Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd (5.4) cannot open shared object file On 12/01/07, David Arthur <[EMAIL PROTECTED]> wrote: When I try to run snmpd (while su, in /usr/local/sbin) as: ./snmpd -m all ./snmpd: error while loading shared libraries: libnetsnmpmibs.so.15: cannot open shared object file: No such file or directory Which O/S are you running on? You may need to run something like 'ldconfig' to update the linker cache information, so that it knows about the new libraries. See your system's documentation for 'ld' for full details. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
How to get information on NFS server and file system of HDD
Hello, I am sorry to bother you again. I log-in the unix workstation remotely and using net-snmp comman, I would like to obtain 1) information on NFS server 2) file system of HDD Which net-snmp command should I use ? regards, galaxy - Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games.- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
How to get information on NFS server and file system of HDD
Hello, I am sorry to bother you again. I log-in the unix workstation remotely and using net-snmp comman, I would like to obtain 1) information on NFS server 2) file system of HDD Which net-snmp command should I use ? regards, galaxy - Don't pick lemons. See all the new 2007 cars at Yahoo! Autos.- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
How to install 2 net-snmp in the same machine
hello i want to install 2 net-snmp in the same machine the first will be a sub agent ( for getting private mibs i can't use derective monitor) the second ( to generate trap and using derective monitor ) thanks for your help _ Ten : Messenger en illimité sur votre mobile ! http://mobile.live.fr/messenger/ten/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: snmpd (5.4) cannot open shared object file
Thanks for the suggestions...looking into 'ldconfig' now. BTW, my OS is SUSE Linux Enterprise Server 9. I just wonder why I am needing to use this to get to version 5.4 (from 5.3.1). I started with 5.1.3 and removed it using RPM. I then extracted/configured/built everything in 5.3.1 from the source tar.gz and used the Makefile to install etc. There was no need to 'ldconfig' for that, everything just worked. Does the 5.4 source Makefile(s) not update the links when you install everything, or do something differently than 5.3.1? Thanks for the info guys! Dave Arthur -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Saturday, January 13, 2007 7:45 AM To: David Arthur Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpd (5.4) cannot open shared object file On 12/01/07, David Arthur <[EMAIL PROTECTED]> wrote: > When I try to run snmpd (while su, in /usr/local/sbin) as: > > ./snmpd -m all > > ./snmpd: error while loading shared libraries: libnetsnmpmibs.so.15: cannot > open shared object file: No such file or directory Which O/S are you running on? You may need to run something like 'ldconfig' to update the linker cache information, so that it knows about the new libraries. See your system's documentation for 'ld' for full details. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Try to receive a GET in a GETNEXT handle
Dear all, I have a table with 2 indexes : OCTET-STRING.INTEGER. There is a good behaviour when I receive a GETNEXT. When I receive a GET net-snmp don't transmit the request to the handle : 20070115171024 lecture udp1 Received 53 bytes from UDP: [172.26.225.75]:1053 : 30 33 02 01 00 04 06 70 75 62 6C 69 63 A1 26 0203.public.&. 0016: 02 03 E0 02 01 00 02 01 00 30 1A 30 18 06 14 2B.0.0...+ 0032: 06 01 04 01 98 5D 01 01 06 01 32 01 03 52 45 53.]2..RES 0048: 30 33 01 05 00 03... Received SNMP packet(s) from UDP: [172.26.225.75]:1053 GETNEXT message -- R-MIB::dataAna.'RES03'.1 anaTable_get_first_data_point - DEBUT anaTable_get_first_data_point - FIN anaTable_get_next_data_point - DEBUT anaTable_get_next_data_point - FIN anaTable_get_next_data_point - DEBUT anaTable_get_next_data_point - FIN anaTable_get_next_data_point - DEBUT anaTable_get_next_data_point - FIN anaTable_get_next_data_point - DEBUT anaTable_get_next_data_point - FIN anaTable_get_next_data_point - DEBUT anaTable_get_next_data_point - FIN anaTable_get_next_data_point - DEBUT anaTable_get_next_data_point - FIN anaTable_get_next_data_point - DEBUT anaTable_get_next_data_point - (entry == NULL) - FIN anaTable_handler - DEBUT anaTable_handler - GET anaTable_handler - COLUMN_DATAANA - DEBUT anaTable_handler - FIN Sending 73 bytes to UDP: [172.26.225.75]:1053 : 30 47 02 01 00 04 06 70 75 62 6C 69 63 A2 3A 020G.public.:. 0016: 02 03 E0 02 01 00 02 01 00 30 2E 30 2C 06 14 2B.0.0,..+ 0032: 06 01 04 01 98 5D 01 01 06 01 32 01 03 52 45 53.]2..RES 0048: 30 33 02 04 14 52 45 53 30 33 2D 49 4E 44 32 2D03...RES03-IND2- 0064: 31 32 33 34 35 00 00 00 00 12345 --> till here all is good but justa after my client do a GET : 20070115171025 lecture udp1 Received 53 bytes from UDP: [172.26.225.75]:1053 : 30 33 02 01 00 04 06 70 75 62 6C 69 63 A0 26 0203.public.&. 0016: 02 03 E1 02 01 00 02 01 00 30 1A 30 18 06 14 2B.0.0...+ 0032: 06 01 04 01 98 5D 01 01 06 01 32 01 03 52 45 53.]2..RES 0048: 30 33 02 05 00 03... Received SNMP packet(s) from UDP: [172.26.225.75]:1053 GET message -- R-MIB::dataAna.'RES03'.2 Sending 53 bytes to UDP: [172.26.225.75]:1053 : 30 33 02 01 00 04 06 70 75 62 6C 69 63 A2 26 0203.public.&. 0016: 02 03 E1 02 01 02 02 01 01 30 1A 30 18 06 14 2B.0.0...+ 0032: 06 01 04 01 98 5D 01 01 06 01 32 01 03 52 45 53.]2..RES 0048: 30 33 02 05 00 03... Why net-snmp don't give the deal to "anaTable_handler" ??? Could anybody help me please? I have already looked for this error in FAQ but ... Any help would be much appreciated. regards, Matthieu ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmpset question regarding rlCopy.mib
[ 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. ] On 15/01/07, Eric Estes <[EMAIL PROTECTED]> wrote: > > I was just wondering if anyone had experience with RADLAN-COPY-MIB. I'm > trying to save the configuration of a network switch using it. Your best bet would probably be to talk to Radlan about this problem, Failing that, perhaps if you could tell us exactly what you've already tried (i.e. the *exact* SNMP SET commands), and what the results were. Posting a copy of the MIB might be useful too - since it doesn't seem to be immediately obvious on the Web. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: ask about souce code generated with mib2c .iterate.conf
On 05/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > could I know the detail mechnism about this code or how to modify them for > us? That's a somewhat vague question. Could you perhaps give a bit more detail about exactly what you are struggling with? There are basically two bits of the code generated by mib2c.iterate.conf that you'd need to tweak. One is the 'get_{first,next}' routines, which should walk through each row of the table, returning the index information for each row and a handle on the data for that row. The second is the handler routine itself, where you take the row handle (as supplied by the get_{first,next} routines), and return the value of the relevant column from that row. Which of these are you having problems with? Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
error in netsnmpmibs/subagent.c
Dear NetSnmp, in Function: subagent_register_ping_alarm: if (ss) { if (ss->securityModel != SNMP_DEFAULT_SECMODEL) { DEBUGMSGTL(("agentx/subagent", "unregister existing alarm %d\n", ss->securityModel)); snmp_alarm_unregister(ss->securityModel); } DEBUGMSGTL(("agentx/subagent", "register ping alarm every %d seconds\n", ping_interval)); /* * we re-use the securityModel parameter for an alarm stash, * since agentx doesn't need it */ ss->securityModel = snmp_alarm_register(ping_interval, SA_REPEAT, agentx_check_session, ss); } > Problem: securityModel seems to be overwritten by SNMP_SEC_MODEL_USM (=3) even though the agent runs as an AgentX subagent. If the agent happens to have allocated a timer with id 3 before, (which is not this ping_interval timer), that timer will be unregistered here. This Problem occured in Net-SNMP version 5.3.0.1. > regards > ingo > [*]TELES AG > > Postfach 11 07 60 > D-10837 Berlin > > fon: (+49) 30-399 28 1645 > e-mail: [EMAIL PROTECTED] > > > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: problem in sending more than one trap
On 03/01/07, payal singla <[EMAIL PROTECTED]> wrote: > We are mainly initializing the session , opening the session, creating pdu, > sending the pdu(trap) n closing the session. > main commands used for the above are: > snmp_open > snmp_pdu_create(SNMP_MSG_TRAP2) > snmp_send > snmp_close > > since we are able to receive the trap for the first time, this means that we > are going on the right track. but for the next time when we change that > host-name again, there is some problem related to the session as the > snmp_open commands fails and returns NULL. > Kindly point out the things which we might be missing Please try posting the exact code that you are using. That might help in identifying what is going wrong. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Registering your own MIB
On 15/01/07, Shuaib Siddiqui <[EMAIL PROTECTED]> wrote: > where can i find the details of the routine register_mib() ? The code is mostly in agent/agent_registry.c though it ends up calling 'netsnmp_register_old_api' from agent/helpers/old_api.c But note that this is part of the old v4 module API. We'd encourage you to use the v5 handler-based approach for any new MIB implementations. Dave - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Registering your own MIB
Hello, where can i find the details of the routine register_mib() ? thanks! Shuaib -- MSc in Communication Systems I&C Faculty EPFL Switzerland Home page: http://shuaibe.googlepages.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users