Re: Discovery of network map or topology without switch or router
On 21.06.22 01:42, Hugo I. Reyes wrote: Hello, Can NET-SNMP be used to discover the network map or network topology without switch or router? Is it possible to configure all nodes in a network as snmp managers and still discover the network map or networ topology? Thanks in advance for any help on answering these questions! Kind regards ___ 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 Yes. But its complicated. Mit freundlichen Grüßen, -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein ___ 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: Querying available OIDs
On 26.07.21 12:02, Tobias Frost wrote: > Hi, > > > For an service application targeting an embedded device, I'd like to provide > information about the device via snmp. > > However, the list of available information differs a lot from device to > device, > (so I can't have a "preknown list" in the service application) > On top of that querying the value of some of the information is quite > expensive, > (can take significant time). > > IIUC, getnext and getbulk always also retrieve the information as well. > In this case walking the tree with getnext or getbulk would not really > feasible > for my use case, due it would take too much time in certain devices. > > Is there an established way to "just" query the tree of supported OIDs, > without > actually retrieving the value, or is there some established "workaround"? > > Thanks in advacne for helping me in my noob question :) > > Cheers, > tobi > > > ___ > 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 Some devices publish the available MIBs in the system MIB. But this is not very common. Generally you will have to walk the thee. Mit freundlichen Grüßen, -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein ___ 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 over NAT
Am 11.03.19 um 14:15 schrieb Kes Smith: > I have a laptop I often use while outside the house ie on the WAN side of > the home modem router. > I have a raspberry pi on the inside of the houseie on the LAN side of > the home modem router. > The raspberry pi is running NET-SNMP version 5.7.3. > I can snmpwalk all the MIBs of the raspberry pi while at home on the LAN, > but not while outside the house on the WAN. > > All port forwarding is set up on the home modem router, and I sucessfully > use port forwarding with dydns, for a number of services, every day. > > The port forwarding on the home modem router for the SNMP service on the > rasp pi looks like this > "home router WAN IP":1234 --> 192.168.1.131 : 161 > > I have a feeling, but no evidence, perhaps I read it somewhere or someone > suggested it, that the SNMP stack on the rasp pi is responding snmpwalk > requests from the WAN side of the home modem router, but can't get it's > packets back out across the home modem router to the WAN. Perhaps someone > can comemnt on this. > > I have also heard that SNP does not support NAT, but even if this is true I > know there is a work around for everything, if there is a will. > > Can anyone give me ideas for a workaround this problem or any other ideas? > > > > ___ > 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 SNMP works over NAT. Please check it the IP packets arrive at your RPI. tcpdump is your friend. Please also note that SNMP works over udp, not tcp. Please check if you configured the correct NAT on your router. Mit freundlichen Grüßen, -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: OpenPGP digital signature ___ 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: a serious privacy issue with this list
Am Freitag, 18. März 2016, 14:40:24 schrieb Alex: > Going to the list home page, I can pretty much see my - and many others' - > email addresses. The page fully exposes the first part of it with "gm" for > the domain - which basically everyone on the net and their dog can figure > out, is "gmail". No wonder I started getting a lot more spam than I used > to. > > This means this list fully exposes members' email addresses with easily > guessable domains like gmail, outlook, yahoo, etc. > > Should that change, like, yesterday? > > A. Hi, you are talking about privacy and have an email account at google. You must be joking. But seriously, spam protection is done on your mail server, not by obscurity trying to hide your mail address. Tune your mail server and you will not have problems with spam. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140___ 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: Unknown Engine ID
Am Montag, 21. Dezember 2015, 14:27:51 schrieb Simon Chamlian: > Hi, > > > Using Ney-SNMP 5.7.1., I have an agent (v3) running. > > > The user of this agent is responsible for making the server and he is > complaining that when they change the server to a new server (same machine) > to communicate to agent: > >a) They do a GET with empty with empty binding to get the Engine ID > > > b) The engine replies with Unknown Engine ID > > > After that, they can no longer communicate with the agent. who "they"? This is the mechanism to discover the engineID of a unknown device. The manager should continue and request the information using the discovererd engineID. If you have duplicate engineIDs the manager will stop or send out the request with a wrote bootCount. See: https://sys4.de/en/blog/2013/09/23/monitoring-snmpv3-and-engineid/ https://support.zabbix.com/browse/ZBX-8385 Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- ___ 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
Many Processes
Hi, When I use net-snmp on machines with many (!) processes, some requests just run into a timeout. The OID in quesion are: hrSystemProcesses hrSWRunTable prTable Especially the agent completely blocks one CPU processing these requests. Is there any solution for the problem? Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- ___ 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: dskTable entries wrong / zero
Am Sonntag, 8. November 2015, 09:47:43 schrieb Michael Schwartzkopff: > Hi, > > I am experiencing a strange error on all our new-build gentoo machines. > > in my config I have: > > includeAllDisks 10% > disk / 1 > disk /var 5% > > The dskTable now results in: > UCD-SNMP-MIB::dskPath.1 = STRING: > UCD-SNMP-MIB::dskPath.2 = STRING: / > UCD-SNMP-MIB::dskPath.3 = STRING: /var > UCD-SNMP-MIB::dskDevice.1 = STRING: * > UCD-SNMP-MIB::dskDevice.2 = STRING: > UCD-SNMP-MIB::dskDevice.3 = STRING: > > all values of the table are zero ("0"), especially the dskPercent is: > > UCD-SNMP-MIB::dskPercent.1 = INTEGER: 0 > UCD-SNMP-MIB::dskPercent.2 = INTEGER: 0 > UCD-SNMP-MIB::dskPercent.3 = INTEGER: 0 > > Any ideas? How can I debug the problem further? > > Mit freundlichen Grüßen, > > Michael Schwartzkopff Hi, it seems to ba a gentoo related problem and not problem in the net-snmp. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- ___ 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
dskTable entries wrong / zero
Hi, I am experiencing a strange error on all our new-build gentoo machines. in my config I have: includeAllDisks 10% disk / 1 disk /var 5% The dskTable now results in: UCD-SNMP-MIB::dskPath.1 = STRING: UCD-SNMP-MIB::dskPath.2 = STRING: / UCD-SNMP-MIB::dskPath.3 = STRING: /var UCD-SNMP-MIB::dskDevice.1 = STRING: * UCD-SNMP-MIB::dskDevice.2 = STRING: UCD-SNMP-MIB::dskDevice.3 = STRING: all values of the table are zero ("0"), especially the dskPercent is: UCD-SNMP-MIB::dskPercent.1 = INTEGER: 0 UCD-SNMP-MIB::dskPercent.2 = INTEGER: 0 UCD-SNMP-MIB::dskPercent.3 = INTEGER: 0 Any ideas? How can I debug the problem further? Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- ___ 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-MIB and internal information
Am Donnerstag, 5. November 2015, 13:13:05 schrieb Oliver Graute: > Hello, > > I noticed during a snmpwalk that my embedded device provide a lot of > internal information in the HOST-RESOURCES-MIB that I would prefer to > keep secret. > > For example the Host Resources provides some Informations about process > pathes, process ids, memory consumption etc. For Debugging thats all > fine and nice to have, but I wish to hide these deep informations for > real production environments. > > Is it necesseary to disable the hole HOST-RESOURCES-MIB for that? where > I have to do that? > > I'am using net-snmp 5.7.3 > > Best regards, > > Oliver You also could define a VIEW to restrict the access to that information. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- ___ 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
timeout after hrSystemProcesses for many processes
Hi, we have a system with several 10k's of processes. If our monitoring system requests hrSystemProcesses for the number of processes runnning, the SNMP agent goes into "deep thinking" mode and does not answer any further requests until finished. This may last really long. Any ideas how to speed up the counting of the number of processes so that the agent becomes responsive again? Thanks. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk___ 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: perl subagent works partially
Am Sonntag, 10. August 2014, 17:38:20 schrieb Michael Schwartzkopff: > Hi, > > I wrote a SNMP subagent in perl. In snmpd.conf I add the line: > > perl do '/root/pcmk-subagent.pl' || print "Problem running agent.\n" > > and everything works fine when I call the agent from the command line > (/usr/sbin/snmpd). The agent also works in Debian OS calling from the init > system. > > But it does not run in CentOS 6.5. Running /etc/init.d/snmpd start I get > > "Problem running agent." > > which means, my subagent did not start. Any ideas what is wrong with the > CentOS init script? Why does the snmp agent behave different here? Hi, the problem was the selinux beeing still activated in my setup. Without selinux it works. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- ___ 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
perl subagent works partially
Hi, I wrote a SNMP subagent in perl. In snmpd.conf I add the line: perl do '/root/pcmk-subagent.pl' || print "Problem running agent.\n" and everything works fine when I call the agent from the command line (/usr/sbin/snmpd). The agent also works in Debian OS calling from the init system. But it does not run in CentOS 6.5. Running /etc/init.d/snmpd start I get "Problem running agent." which means, my subagent did not start. Any ideas what is wrong with the CentOS init script? Why does the snmp agent behave different here? Thanks for any help. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- ___ 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: SOS, how to convert V2 trap to V3 trap?
Am Donnerstag, 24. Juli 2014, 09:08:36 schrieb Olivier Miakinen: > Hello, > > Le 24/07/2014 03:03, wu.fang.fr...@emerson.com a écrit : > > I have the device A which only sends V2 traps to the device B. The > > device B receives V2 traps from the device A and forwards these traps > > to the device C. My question is how to convert these V2 traps to V3 > > traps, so that the device C receives V3 traps? Does snmptrapd/snmpd > > provide this function? how to do it? > > I am also interested in the answer. > > In case this is not possible with the snmptrapd/snmpd, did someone > develop it ? Yes. I think you need a trapd that receives the trap, calls a script that sends out the v3 trap. Should not be too difficult to script it. But beware! SNMPv3 takes care für correct identification of the devices. SNMPv3 uses a SNMPEngineID that is unique for every agent. So your management system will think it receives traps from your middle box, NOT from the device that originally sent out the trap. Perhaps you cold fake it (man-in-the-middle attack) but only if the data is not authenticated. SNMPEngineID is used to authenticate the data. Conclusion: Get an agent on the original device that is SNMPv3 capable. Talk to the vendor. Greetings, -- Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds___ 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 Protocol
Am Donnerstag, 10. April 2014, 10:25:57 schrieb laguna...@mail.com: > question about SNMP Protocol: where is installed MIB files > (vendor-specific): on the Network management station (NMS) or on the > network devices (network node)? it denepnds ... -- Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees___ 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: tools to manage snmpd.conf files
Am Montag, 17. Februar 2014, 14:45:48 schrieb Taylor, Ben: > Folks, > > Does anyone know of any tools to automatically take a set of hosts > snmpd.conf files and figure out how to minimize snmpd.conf across an > environment that would be managed by cfengine? grep -v "^\W*#|^$" /etc/snmp/snmpd.conf > I have specific hosts which have customizations above a standard snmpd.conf > file, but right now it's gotten to the point where it would be a good idea > to try and standardize across our disparate data centers. We have basic and "pachting" configurations in our cfengine setup. Roll out basic snmpd.conf and patch it per system with a different config. Otherwise your could do some groups or servers and roll our standard snmpd.conf to these groups. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein signature.asc Description: This is a digitally signed message part. -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___ 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: perl snmp subagent table tutotial?
Wes Hardaker schrieb: >Michael Schwartzkopff writes: > >> is there any good tutorial for a snmp subagent to handle a table? > >http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_perl Tables are referenced as TODO in that tutorial. -- Diese Nachricht wurde von meinem Mobiltelefon mit Kaiten Mail gesendet. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk ___ 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: scalars and mib2c for perl
Am Montag, 6. Januar 2014, 18:15:50 schrieb Michael Schwartzkopff: > Hi, > > when I enter > > # mib2c -c mib2c.perl.conf myOID > > node code is generated, but the part of the scalars is missing. tables are > ok, but no scalars are defined. Not in he oidfunc hash nor in the skel.pl > output. > > It looks as is the scalars are never read into the $scalar variable. Is this > a bug? Solved the problem. It was a bug in my MIB. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___ 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
scalars and mib2c for perl
Hi, when I enter # mib2c -c mib2c.perl.conf myOID node code is generated, but the part of the scalars is missing. tables are ok, but no scalars are defined. Not in he oidfunc hash nor in the skel.pl output. It looks as is the scalars are never read into the $scalar variable. Is this a bug? Thanks for any comments. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___ 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
perl snmp subagent table tutotial?
hi, is there any good tutorial for a snmp subagent to handle a table? Thanks for any hints.. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___ 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 v3 is breaking
Am Freitag, 18. Oktober 2013, 14:39:11 schrieben Sie: > Hello , > I already changed the engine id and it still doesn't work . > > Thanks tcpdump the traffic and analyse the problem. You also could post the dump and I could try to help. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ 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 v3 is breaking
Am Freitag, 18. Oktober 2013, 11:23:47 schrieb Indian Warrior: > We have snmp v3 running on Redhat 6.3 and it is breaking after a day and the > server goes out of monitoring . This has never happened with snmp v2 . What > should we do to fix it ? > > Thanks Hi, I have seen such behaviour several times. Perhaps you have duplicate SNMP Engine IDs on several hosts. This might confuse the management system. I wrote a blog article about this problem. Please see: http://sys4.de/en/blog/2013/09/23/monitoring-snmpv3-and-engineid for the details. Quick solution: Change the engine ID on the agent in question. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13 -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk ___ 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: Error: Buffer too small to read octet string
Am Freitag, 5. Juli 2013, 22:15:12 schrieb Vincent Bernat: > ❦ 5 juillet 2013 14:44 CEST, Michael Schwartzkopff : > > I wanted to program a perl subagent and I copied a sample from > > > > https://github.com/vincentbernat/extend-netsnmp/blob/master/agentx- > > perl/ethtool-stats.pl > > > > to my machine. When starting the subagent the output after the > > registration of the subagent is: > > > > Buffer too small to read octet string (17 < 17) > > > > And my subagent never gets any requests. I compiled the latest 5.7.2 from > > the repositories on Debian Wheezy. > > Do you have the same problem with 5.4.x shipped with Wheezy? No. On wheezy (5.4) I had some other problems. that is why I switched to the latest 5.7. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13-- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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: Error: Buffer too small to read octet string
Am Freitag, 5. Juli 2013, 14:44:06 schrieb Michael Schwartzkopff: > Hi, > > I wanted to program a perl subagent and I copied a sample from > > https://github.com/vincentbernat/extend-netsnmp/blob/master/agentx- > perl/ethtool-stats.pl > > to my machine. When starting the subagent the output after the registration > of the subagent is: > > Buffer too small to read octet string (17 < 17) > > And my subagent never gets any requests. I compiled the latest 5.7.2 from > the repositories on Debian Wheezy. Hi, the same happens with the sample from http://search.cpan.org/~hardaker/NetSNMP-agent-5.0401/agent.pm -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13-- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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: Buffer too small to read octet string
Hi, I wanted to program a perl subagent and I copied a sample from https://github.com/vincentbernat/extend-netsnmp/blob/master/agentx- perl/ethtool-stats.pl to my machine. When starting the subagent the output after the registration of the subagent is: Buffer too small to read octet string (17 < 17) And my subagent never gets any requests. I compiled the latest 5.7.2 from the repositories on Debian Wheezy. Any ideas? Thanks for any help. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0162) 1650044 Fax: (089) 620 304 13-- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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: Traphandler
Am Mittwoch, 28. November 2012, 15:19:46 schrieb Stefan Billeb: > Hi Everyone, > > I would like to write a second traphandler for using with my Centreon > Monitoring Setup. > What I need is to save a trap in a separate database. > But I can not see any documentation about arguments I can give my script > in the snmptrapd.conf? > > I see that I can configure additional handlers in snmptrapd.conf like this: > > traphandle "oid" /home/stefan/traps/write_to_db.pl "args" > > Is there any documentation on how I can pass arguments like "host" to > the perl script? > > I guess there must be anything or is everything just passed as 1 > argument always to the scripts and I have to parse it myself? > > I just don't get it from the wiki page and example :-( > > Regards, > Stefan Hi, traps are basically a list of OIDs and values. Your can parse it in your script. Please see traptomail.pl as an example. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 -- Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net ___ 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: is snmp can be used to monitor server services?
> Hello, > > I'm Eka, and this is the first time for me to use SNMP. I have a project to > make a dashbord from monitored server. > I am going to use SNMP but, I cant find any information that show SNMP can > monitor the state of run services in a server for ex. services httpd, squid > etc. > My basic question, is snmp can be used to monitor the state of run services > in a server? > I'm looking forward for your help. > Thanks in advance. > > WR. read snmpd.conf and the section "Process Monitoring" therein. Otherwise you always can use the "extend" feature of net-snmp. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev___ 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: dpid2 - how to enable
> Hello list, > > I was told, dpid2 is included in snmpv3 Daemon. > But how can this been enabled? > > See http://www.snmp.com/protocol/proxyinfo.shtml (Chapter 1.3.2 Native > Subagent Adapter - DPI-II ). > > I have installed: > > # rpm -qa | grep -i snmp > snmp-mibs-5.4.2.1-8.2.1 > perl-SNMP-5.4.2.1-8.2.1 > libsnmp15-5.4.2.1-8.2.1 > net-snmp-5.4.2.1-8.2.1 > > > Best regards, > Thomas. something like: http://www.net-snmp.org/wiki/index.php/Snmpd_proxy found by google for "net-snmp proxy" Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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: snmpv3 exec/extend
> Hello list, > > I tried to implement the googleping example in snmp v3 (was working in snmp > v1/v2 before): > > > Following error is thrown: > duplicate table data attempted to be entered. row exists > Failed to register extend entry 'googleping' - possibly duplicate name. > > snmpd.conf > # extensions > > exec googleping /bin/ping -c 1 -w 1 -q www.google.com > extend googleping /bin/ping -c 1 -w 1 -qn www.google.com > > > Which is the correct syntax for snmp v3? I would name the two checks different: exec gpingexec /bin/ping -c 1 -w 1 -q www.google.com extend gpingextend /bin/ping -c 1 -w 1 -qn www.google.com -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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
Modules to load automatically when starting snmpd
Hi, when starting my snmpd it tells me: Cannot find module (mibII): At line 0 in (none) and it does not deliver any information. When I start my agent mit -I "system_mib ifTable" it delivers the correct MIBs. So I have some questions: 1) How can I compile a agent that includes only the minimal MIBs that I need? As far as I read the docs it should be --enable-minimalist --with-mib-modules "" correct? 2) What are the minimum modules to include if I want to get system and interfaces. What else to include for SNMPv3? 3) How can I start the compiled-in modules automatically when I start the agent? Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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: RFC 5608
> > On 2 November 2011 12:30, Koen Swinters > > wrote: > > > Will net SNMP support RFC5608 > > > > If someone writes the necessary code, yes. > > Though I'm not aware of anyone currently working on this. > > Writing the agent for FreeRADIUS should not be too difficult because there > is an existing SNMP agent that just does not work with net-snmp. > Additionally there are statistics RADIUS requests that your be used. > > So the task would be updating the existing code. Oops. Sorry, that answer does not fit your your question. I meant RFCs 4668ff, but not 5608. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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: RFC 5608
> On 2 November 2011 12:30, Koen Swinters wrote: > > Will net SNMP support RFC5608 > > If someone writes the necessary code, yes. > Though I'm not aware of anyone currently working on this. Writing the agent for FreeRADIUS should not be too difficult because there is an existing SNMP agent that just does not work with net-snmp. Additionally there are statistics RADIUS requests that your be used. So the task would be updating the existing code. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ 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: Strange problem with msgAuthoritativeEngineTime
> >>>>> On Wed, 24 Aug 2011 15:30:54 +0200, Michael Schwartzkopff said: > MS> No comments on this problem? > > Unfortunately, many of us simply don't have the time to respond daily > with free advice. I just happened to read the list (finally) today, > which is the day you posted your above question. Sometimes you just > need to be patient. > > MS> 3) Manager -> Agent > MS> get-request for the OID > MS> msgAuthoritativeEngineID is the one from the agent. > MS> msgAuthoritativeEngineBoots is equal to the number in packet 2) > MS> msgAuthoritativeEngineTime is 3437939 > > MS> the time differs the the time of the agent by 87965 seconds, which > MS> is roughly 24,4 hours. > > MS> Any idea why my manager uses a different time than the one reported by > the MS> Agent? > > Wow, no, not if it is our management stack too. It should be using a > correct seconds value, except for one of a few possible possibilities: > > 1) the clocks are indeed off, but he manager should resync assuming not >hugely off. > 2) If there is an engineID conflict somewhere on the network such that >two agents have the same engineID, this could happen as well. This >is very very bad (TM) and needs to be fixed. > > After that, you probably need to point a debugger at the library. I finally found some time to debug the problem a little bit further. When I do a snmpget I see 6 packets in the line: 1) Manager -> Agent: Please give me your EngineID 2) Agent -> Manager: Here is my EngineID 3) Manager -> Agent: Please give me your boots and time since last boot. 4) Agent -> Manager: Here are my boots and time since last boot. 5) Manager -> Agent: Please give the the value of the OID. 6) Agent -> Manager: Here you are. In the erratic case the manager does not wait for the 4th paket, but sends in the 3rd packet already the correct (!) boot number but the wrong time since last boot. Does net-snmp store the EngineID together with boots and time since last boot of the agents somewhere? Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ 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: Strange problem with msgAuthoritativeEngineTime
> Hi, > > Using the Zabbix NMS IS was wondering why some values were not fetched at > all. So I did a tcpdump the the SNMP communication. > > 1) Mansger -> Agent > get-request without any parameter to get the autoritativeEngineID > > 2) Agent -> Manager > report with the contextEngineID (=msgAuthoritativeEngineID), > msgAuthoritativeEngineBoots and msgAuthoritativeEngineTime. The Time is > 3349974. > > 3) Manager -> Agent > get-request for the OID > msgAuthoritativeEngineID is the one from the agent. > msgAuthoritativeEngineBoots is equal to the number in packet 2) > msgAuthoritativeEngineTime is 3437939 > > the time differs the the time of the agent by 87965 seconds, which is > roughly 24,4 hours. > > 4) Agent -> Manager > reports an error usmStatsNotInTimeWindows.0 > > Any idea why my manager uses a different time than the one reported by the > Agent? > > net-snmp verison of the manager: net-snmp-5.4.2.1 from SLES11.1 > > Thanks for any help. No comments on this problem? -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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
Strange problem with msgAuthoritativeEngineTime
Hi, Using the Zabbix NMS IS was wondering why some values were not fetched at all. So I did a tcpdump the the SNMP communication. 1) Mansger -> Agent get-request without any parameter to get the autoritativeEngineID 2) Agent -> Manager report with the contextEngineID (=msgAuthoritativeEngineID), msgAuthoritativeEngineBoots and msgAuthoritativeEngineTime. The Time is 3349974. 3) Manager -> Agent get-request for the OID msgAuthoritativeEngineID is the one from the agent. msgAuthoritativeEngineBoots is equal to the number in packet 2) msgAuthoritativeEngineTime is 3437939 the time differs the the time of the agent by 87965 seconds, which is roughly 24,4 hours. 4) Agent -> Manager reports an error usmStatsNotInTimeWindows.0 Any idea why my manager uses a different time than the one reported by the Agent? net-snmp verison of the manager: net-snmp-5.4.2.1 from SLES11.1 Thanks for any help. -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ 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
Problem using net-snmp-conf to compile the tutorial
Hi, I encountered a strange error compiling the tutorial agent on my new Debian Squeeze system. I parsed the mibs of the net-snmp tutorial to create the source code: # mib2c -c /etc/snmp/mib2c.int_watch.conf nstAgentSubagentObject (...) writing to nstAgentSubagentObject.h writing to nstAgentSubagentObject.c running indent on nstAgentSubagentObject.h running indent on nstAgentSubagentObject.c good so far. But when I want to compile the agent the easy way I get an error: # net-snmp-config --compile-subagent testagent nstAgentSubagentObject.c generating the tmporary code file: netsnmptmp.5396.c void init_nstAgentSubagentObject(void); checking for init_nstAgentSubagentObject in nstAgentSubagentObject.c init_nstAgentSubagentObject(void) shift: 672: can't shift that many Any ideas? -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98 Fax: (089) 620 304 13 signature.asc Description: This is a digitally signed message part. -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ 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 do I download your net-snmp in Linux?
Am Donnerstag, 18. März 2010 20:44:18 schrieb Day Davis: > Please provide the linux syntax. > > > > Dashun Davis wget http://sourceforge.net/projects/net-snmp/files/net-snmp/5.5/net- snmp-5.5.tar.gz/download -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 do i download the latest version of net-snmp from server?
Am Donnerstag, 18. März 2010 20:54:01 schrieb Day Davis: > What would the command line be in unix? > > > > > > Dashun Davis snmpd -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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: NET-SNMP Firewall Ports
Am Dienstag, 27. Oktober 2009 12:35:31 schrieb Kevin Evans: > Hi, > > > > I require clarification on the ports required to be opened for NET-SNMP > to work. > > > > I know that UDP 161 is required, but I have been unable to confirm if > this needs to be opened as a 2 way rule as shown below: > > > > Source Destination Port > > Monitoring Server Monitored ServerUDP 161 Yes. > Monitored ServerMonitoring Server UDP 161 No. > Or a 1 way rule as shown below: > > > > Source Destination Port > > Monitoring Server Monitored ServerUDP 161 Yes. > I have checked the FAQ and archived messages and have been unable to > find this information. I managed to find the following info (Link > <http://www.net-snmp.org/wiki/index.php/FAQ:General_18> ), but it > doesn't quite clarify the question for me: > > > > What ports does SNMP use? > > There are three main network ports (and one named socket), which are > typically used by SNMP. These are: > > UDP port 161 - SNMP requests (GET* and SET) Port 161 from network management server to the monitored notwork host > UDP port 162 - SNMP notifications (Traps/Informs) Port 162 from the monitored host to the network management server. > TCP port 705 - AgentX > > /var/agentx/master - AgentX AgentX is mainly used only on the server itself, if at all. > Regards > > > > Kevin Evans > > Systems Administrator > > ICT Unit > > 7 Camberwell Way > > Doxford Park > > Sunderland > > SR3 3XN > > > > Tel: 0191 561 4244 > > mailto:kevin.ev...@sunderland.gov.uk > <mailto:kevin.ev...@sunderland.gov.uk> > > > > England 2018 World Cup Bid > > > > Show your support for the Sunderland Host City bid today by voting > online. Visit <http://www.sunderland2018.com/> www.sunderland2018bid.com > <http://www.sunderland2018bid.com/> to pledge your support > > > > > > --- >--- This email and any attached files transmitted are > confidential and intended solely for the person or entity to whom it is > addressed. If you received this email in error you may not take action > based on its contents, nor should you copy, print or show this to anyone; > instead please reply to the sender and highlight the error, then delete the > message from your system. > > Please note that the content of e-mail sent and received may have to be > disclosed by the Council in response to a request for access to > information. > ------- >-- > > Sunderland is aiming to become the most liveable city in the UK. > Visit www.Sunderland.gov.uk for Council services and information. > Business investors can access www.Investinsunderland.co.uk > Visitors to the City should log onto www.Visitsunderland.com -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ 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
Looking for SNMP myths
Hi, I am preparing a talk about the SNMP protocol and especially about the net- snmp implementation on a network monitoring conference. I am looking for the most common and most widespread prejudice against using SNMP. Of course anybody heard about SNMP not beeing safe, SNMP filling up the network or SNMP not beeing reliable. Please mail me any other myths about SNMP you heard. My talk should invalidate all these claims. Thanks for interesting mails. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ 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 Packets Not Received Properly - Ubuntu Hardy/Debian Lenny
Am Freitag, 5. Juni 2009 06:11:40 schrieb a...@spatialsystems.org: > I installed Net-SNMP on windows and it works fine. > > Windows Example: > C:\>snmpget -c public -v 1 192.168.1.201 1.3.6.1.4.1.2254.2.4.1.2.0 > SNMPv2-SMI::enterprises.2254.2.4.1.2.0 = STRING: "F6C1000-TW-RK" > > If I do the same from Ubuntu Hardy or Debain Lenny either installed by > "apt-get install snmp" or compiled by source I get this: > > Debain Lenny Example: > m...@serv:~$ snmpget -c public -v 1 192.168.1.201 > 1.3.6.1.4.1.2254.2.4.1.2.0 > Timeout: No Response from 192.168.1.201. Did you make a netstat -nulp on your system? You will find, that by default, snmpd is listening on 127.0.0.1 only. Please change /etc/default/snmpd accordingly. Michael. -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ 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 traps
Am Mittwoch, 6. Mai 2009 13:38:20 schrieb Vinod Nanjaiah: > Dear Experts, > I did not find much information in net-snmp website about how to implement > an application to send traps. Can you please give me some pointers to the > same? > > Regards, > Vinod man snmptrap -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ 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:
Am Dienstag, 7. April 2009 11:09:26 schrieb Dave Shield: > 2009/4/7 Szymon Klimuk : > > In MIB interface subtree, there are a lot of objects but only one > > (IfAdminStatus) has read-write access. I'm interested in ifSpeed object. > > > > Is there any read-write object where I can change interface speed? > > No. I don't believe so. > > In general, the speed of an interface is typically controlled by the > hardware. I'm not aware of any mechanism (either via SNMP > or on the command line) that would allow you to change this > > Dave ethtool -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: mi...@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ 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 install or use ucdavis ?
Am Donnerstag, 13. November 2008 18:32 schrieb chinofish: > i installed net-snmp with yum. (...) > but when i use > snmpwalk -v 1 -c public 127.0.0.1 mem > > [EMAIL PROTECTED] ~]# snmpwalk -v 1 -c public 127.0.0.1 mem > End of MIB > > why i can not use > http://www.net-snmp.org/docs/mibs/ucdavis.html Because ist no value that snmpwalk can translate to an OID, or in other words, no object is called "mem". -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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: Debain Etch hrProcessorLoad pass script
Am Donnerstag, 6. November 2008 16:14 schrieb Engelbert Roidl: > > Why don't you use laLoad or laLoadInt? > > > > Michael. > > WhatsUp uses predefined Perfomance Counter. I would like to use this! > For laLoad/laLoadInt I have to define Custom Perfomance Counters. > > I defined them, but hrProcessorLoad would be more elegant and > consistent. > > The Problem are the HP Management agents. The only works with the Debian > etch snmpd. Update this and you have Problems with the Management agents. > :-( Perhaps not. I am quite sure that the HP agent uses AgentX protocol, so enableing this in the new, compiled agent will solve your problem. But first be sure if the HP agent is a subagent and how it connects to the master agent of netsnmp. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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: Debain Etch hrProcessorLoad pass script
Am Donnerstag, 6. November 2008 15:15 schrieb Engelbert Roidl: > Hello, > > I'm using Debain Etch on a HP Proliant DL380G5, HP Management Agents and > WhatsUp Gold. WhatsUp tries to get CPU values from .1.3.6.1.2.1.25.3.3.1.2 > which is not implemented in Debian Etch. > > Now I tried to pass the requests to a script via the "pass" directive in > snmpd.conf "pass .1.3.6.1.2.1.25.3.3.1.2.768 /usr/bin/perl /root/stat.pl" > > But when I try an "snmpgetnext -v 1 -On -c private 10.10.10.10 > .1.3.6.1.2.1.25.3.3.1.2.768" the result should be > ".1.3.6.1.2.1.25.3.3.1.2.769". It isn't!!! > The result is .1.3.6.1.2.1.25.3.4.1.1.1025 ! > > The script returns .1.3.6.1.2.1.25.3.3.1.2.769 to the snmpd daemon. > > So WhatsUp does not find the CPU-Values. :-( > > Is this a bug? Why don't you use laLoad or laLoadInt? Michael. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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
problems with logmatch in debian etch
Hi, I used logMatch in OpenSuSE with no problems. Now I switched some servers to debian etch and the logMatch doesn't work any more. The figures are juse "0" always. See output below. Is this a known bug? A feature? Thanks for any enlightening comments. UCD-SNMP-MIB::logMatchMaxEntries.0 = INTEGER: 50 UCD-SNMP-MIB::logMatchIndex.1 = INTEGER: 1 UCD-SNMP-MIB::logMatchName.1 = STRING: ACCEPT UCD-SNMP-MIB::logMatchFilename.1 = STRING: /var/log/syslog UCD-SNMP-MIB::logMatchRegEx.1 = STRING: ACCEPT UCD-SNMP-MIB::logMatchGlobalCounter.1 = Counter32: 0 UCD-SNMP-MIB::logMatchGlobalCount.1 = INTEGER: 0 UCD-SNMP-MIB::logMatchCurrentCounter.1 = Counter32: 0 UCD-SNMP-MIB::logMatchCurrentCount.1 = INTEGER: 0 UCD-SNMP-MIB::logMatchCounter.1 = Counter32: 0 UCD-SNMP-MIB::logMatchCount.1 = INTEGER: 0 UCD-SNMP-MIB::logMatchCycle.1 = INTEGER: 300 UCD-SNMP-MIB::logMatchErrorFlag.1 = INTEGER: 0 UCD-SNMP-MIB::logMatchRegExCompilation.1 = STRING: Success Also no persistant file like /var/lib/snmp/ACCEPT.pos is created. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: [EMAIL PROTECTED] web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ 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