Re: SNMP requested timed out on windows
Its only responding to the loopback 127.0.0.1 not even for the local linux ip(192.168.1.90) too. snmpget -v2c -c public 127.0.0.1 1.3.6.1.2.1.1.1.0 SNMPv2-MIB::sysDescr.0 = STRING: Linux xxx snmpget -v2c -c public 192.168.1.90 1.3.6.1.2.1.1.1.0 Timeout: No Response from 192.168.1.90. What will be the issue? On Fri, Jan 4, 2013 at 2:37 PM, Dave Shield wrote: > On 4 January 2013 19:19, Niels Baggesen wrote: > Is there a firewall . on the Linux host, that blocks SNMP? > > > That was my immediate reaction too. > If you're running iptables, and haven't tweaked the default settings, > it probably only accepts incoming requests for specific, known services > (which wouldn't include SNMP) > > That wouldn't affect the localhost queries, as the default iptables > setup would typically allow anything from 127.0.0.1 > But it would block queries from another source, unless you open > up the firewall to allow them (or turn it off altogether) > > The other thing to check is how the agent has been started. > If it's only listening on interface 127.0.0.1, then it wouldn't > respond to remote queries either. >But I'd start by looking at iptables. > > Dave > -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: SNMP requested timed out on windows
the netstat results netstat -a -u Proto Recv-Q Send-Q Local Address Foreign Address State udp0 0 localhost.localdom:snmp*:* On Fri, Jan 4, 2013 at 2:54 PM, Suna Sana wrote: > Its only responding to the loopback 127.0.0.1 not even for the local > linux ip(192.168.1.90) too. > > snmpget -v2c -c public 127.0.0.1 1.3.6.1.2.1.1.1.0 > SNMPv2-MIB::sysDescr.0 = STRING: Linux xxx > > snmpget -v2c -c public 192.168.1.90 1.3.6.1.2.1.1.1.0 > Timeout: No Response from 192.168.1.90. > > What will be the issue? > > On Fri, Jan 4, 2013 at 2:37 PM, Dave Shield wrote: > >> On 4 January 2013 19:19, Niels Baggesen >> wrote: >> Is there a firewall . on the Linux host, that blocks SNMP? >> >> >> That was my immediate reaction too. >> If you're running iptables, and haven't tweaked the default settings, >> it probably only accepts incoming requests for specific, known services >> (which wouldn't include SNMP) >> >> That wouldn't affect the localhost queries, as the default iptables >> setup would typically allow anything from 127.0.0.1 >> But it would block queries from another source, unless you open >> up the firewall to allow them (or turn it off altogether) >> >> The other thing to check is how the agent has been started. >> If it's only listening on interface 127.0.0.1, then it wouldn't >> respond to remote queries either. >>But I'd start by looking at iptables. >> >> Dave >> > > -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: SNMP requested timed out on windows
This makes it works. Thanks. edit /etc/defaults/snmpd change the line: SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1' with the following: SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid' then issue: sudo /etc/init.d/snmpd reload On Fri, Jan 4, 2013 at 3:03 PM, Suna Sana wrote: > the netstat results > netstat -a -u > Proto Recv-Q Send-Q Local Address Foreign Address > State > udp0 0 localhost.localdom:snmp*:* > > > On Fri, Jan 4, 2013 at 2:54 PM, Suna Sana wrote: > >> Its only responding to the loopback 127.0.0.1 not even for the local >> linux ip(192.168.1.90) too. >> >> snmpget -v2c -c public 127.0.0.1 1.3.6.1.2.1.1.1.0 >> SNMPv2-MIB::sysDescr.0 = STRING: Linux xxx >> >> snmpget -v2c -c public 192.168.1.90 1.3.6.1.2.1.1.1.0 >> Timeout: No Response from 192.168.1.90. >> >> What will be the issue? >> >> On Fri, Jan 4, 2013 at 2:37 PM, Dave Shield >> wrote: >> >>> On 4 January 2013 19:19, Niels Baggesen >>> wrote: >>> Is there a firewall . on the Linux host, that blocks SNMP? >>> >>> >>> That was my immediate reaction too. >>> If you're running iptables, and haven't tweaked the default settings, >>> it probably only accepts incoming requests for specific, known services >>> (which wouldn't include SNMP) >>> >>> That wouldn't affect the localhost queries, as the default iptables >>> setup would typically allow anything from 127.0.0.1 >>> But it would block queries from another source, unless you open >>> up the firewall to allow them (or turn it off altogether) >>> >>> The other thing to check is how the agent has been started. >>> If it's only listening on interface 127.0.0.1, then it wouldn't >>> respond to remote queries either. >>>But I'd start by looking at iptables. >>> >>> Dave >>> >> >> > -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
How to use dlmod in net-smmp windows mode
Hi, I added dlmod command in snmpd.conf under C:\usr\etc\snmp but its not loading. dlmod nstAgentModuleObjectTest test5DLL.dll test5DLL.dll has the function definition for init_ test5DLL.dll(). Where to copy(which location) the test5DLL.dll to make it work? The agent gets the linker error error LNK2001: unresolved external symbol _init_nstAgentModuleObjectTest Do I need to compile dlmod.c file? Thanks, Suresh -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
need net-snmp 5.4.1 version source for debian
Hi, I need net-snmp 5.4.1 source. Could you please share the link to get it. Thanks, Suresh -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
I want to understand about net-snmp OIDs
Hi, Could you please give me the link to read about OID allocatiion. How to create a OID for my objects. Could you please explain me about OIDs handlings in notification.c[under \agent\mibgroup\examples]. Why the notification_oid has 10 digits but hbeat_rate_oid has 11 digits? Thanks, Suresh -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: netsnmp register char instance
Hi, I used netsnmp_create_handler_registration(), netsnmp_init_watcher_info6() and netsnmp_register_watched_instance() for registering the string variable. But I want to change the string value dynamically inside the code and update to it. For that what function need to call to get it updated? Thanks in advance. Regards, Suresh On Tue, Jan 1, 2013 at 7:35 AM, Dave Shield wrote: > >> On 30 December 2012 23:08, SureshCilutions S >> wrote: >> > Is there any function for register "string/char variable" similar to >> > netsnmp_register_long_instance? >> >>netsnmp_register_watched_instance >> >> This can be used to handle strings or OID-valued variables. >> >> See 'examples/watched.c' in the source tree. >> >> Dave >> > > -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Need example for net-snmp table handling
Hi, Could you please give me the name of the files having sample table handling. I want to create a table for my application. So I need some sample programs. Thanks & Regards, Suresh -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders