Re: query: actual date and time of a server
hi... ans to your questions in Steps(i am new to SNMP): 1) Dont kw? 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 3)Dont know(How to do)? 4)How to check agent working? waiting for you kind reply --- On Tue, 13/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Tuesday, 13 July, 2010, 2:20 PM On 13 July 2010 21:51, vineet gehlot vineetgehlot9...@yahoo.com wrote: From any client that has allowed SNMP access to the server query the datecheck with: ~$ snmpwalk -v2c -c public 172.18.21.174 NET-SNMP-EXTEND-MIB::nsExtendOutputFull and i got the following error: ~$ Timeout: No Response from 172.18.21.118 What happens if you walk the 'system' group? What happens if you query the agent from the same server (using 'localhost')? What are the access control settings in snmpd.conf? Are you sure that the agent is actually running? Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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: query: actual date and time of a server
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) 2) i checked the agent it is open for remote requests. tell what should i do know... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes of the problem are: a) there are firewall settings on the host that are only accepting SNMP requests on the loopback interface, or b) the agent is only listening on the localhost interface You haven't said anything about what operating system you are using, so it's impossible to provide more detailed information about what to do next. But on a RedHat/Fedora system, I'd check the first possibility by turning off the firewall (service iptables stop) and re-running the remote walk. If that works, then it's definitely a firewall issue. (But remember to turn the firewall on again!) I'd check the second using the command netstat -an | grep 161 If that lists an entry for 0.0.0.0:161, then the agent is open to remote requests If that lists an entry for 127.0.0.1:161, then the agent is local only. Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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: query: actual date and time of a server
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) 2) i checked the agent it is open for remote requests. tell what should i do know... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes of the problem are: a) there are firewall settings on the host that are only accepting SNMP requests on the loopback interface, or b) the agent is only listening on the localhost interface You haven't said anything about what operating system you are using, so it's impossible to provide more detailed information about what to do next. But on a RedHat/Fedora system, I'd check the first possibility by turning off the firewall (service iptables stop) and re-running the remote walk. If that works, then it's definitely a firewall issue. (But remember to turn the firewall on again!) I'd check the second using the command netstat -an | grep 161 If that lists an entry for 0.0.0.0:161, then the agent is open to remote requests If that lists an entry for 127.0.0.1:161, then the agent is local only. Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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: query: actual date and time of a server
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) 2) i checked the agent it is open for remote requests. tell what should i do know... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes of the problem are: a) there are firewall settings on the host that are only accepting SNMP requests on the loopback interface, or b) the agent is only listening on the localhost interface You haven't said anything about what operating system you are using, so it's impossible to provide more detailed information about what to do next. But on a RedHat/Fedora system, I'd check the first possibility by turning off the firewall (service iptables stop) and re-running the remote walk. If that works, then it's definitely a firewall issue. (But remember to turn the firewall on again!) I'd check the second using the command netstat -an | grep 161 If that lists an entry for 0.0.0.0:161, then the agent is open to remote requests If that lists an entry for 127.0.0.1:161, then the agent is local only. Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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: query: actual date and time of a server
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) 2) i checked the agent it is open for remote requests. tell what should i do know... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes of the problem are: a) there are firewall settings on the host that are only accepting SNMP requests on the loopback interface, or b) the agent is only listening on the localhost interface You haven't said anything about what operating system you are using, so it's impossible to provide more detailed information about what to do next. But on a RedHat/Fedora system, I'd check the first possibility by turning off the firewall (service iptables stop) and re-running the remote walk. If that works, then it's definitely a firewall issue. (But remember to turn the firewall on again!) I'd check the second using the command netstat -an | grep 161 If that lists an entry for 0.0.0.0:161, then the agent is open to remote requests If that lists an entry for 127.0.0.1:161, then the agent is local only. Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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: query: actual date and time of a server
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) 2) i checked the agent it is open for remote requests. tell what should i do know... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes of the problem are: a) there are firewall settings on the host that are only accepting SNMP requests on the loopback interface, or b) the agent is only listening on the localhost interface You haven't said anything about what operating system you are using, so it's impossible to provide more detailed information about what to do next. But on a RedHat/Fedora system, I'd check the first possibility by turning off the firewall (service iptables stop) and re-running the remote walk. If that works, then it's definitely a firewall issue. (But remember to turn the firewall on again!) I'd check the second using the command netstat -an | grep 161 If that lists an entry for 0.0.0.0:161, then the agent is open to remote requests If that lists an entry for 127.0.0.1:161, then the agent is local only. Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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: query: actual date and time of a server
1) i turned the firewall off and run the snmpwalk command , got this error: NET-SNMP-EXTEND-MIB::nsExtendOutputFull = No more variables left in this MIB View (It is past the end of the MIB tree) 2) i checked the agent it is open for remote requests. tell what should i do know... --- On Wed, 14/7/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: query: actual date and time of a server To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, 14 July, 2010, 12:40 AM On 14 July 2010 07:06, vineet gehlot vineetgehlot9...@yahoo.com wrote: 2) using localhost its working: # snmpwalk -v2c -c public localhost NET-SNMP-EXTEND-MIB::nsExtendOutputFull NET-SNMP-EXTEND-MIB::nsExtendOutputFull.datecheck = STRING: Wed Jul 14 11:31:49 IST 2010 The most likely causes of the problem are: a) there are firewall settings on the host that are only accepting SNMP requests on the loopback interface, or b) the agent is only listening on the localhost interface You haven't said anything about what operating system you are using, so it's impossible to provide more detailed information about what to do next. But on a RedHat/Fedora system, I'd check the first possibility by turning off the firewall (service iptables stop) and re-running the remote walk. If that works, then it's definitely a firewall issue. (But remember to turn the firewall on again!) I'd check the second using the command netstat -an | grep 161 If that lists an entry for 0.0.0.0:161, then the agent is open to remote requests If that lists an entry for 127.0.0.1:161, then the agent is local only. Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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
query: actual date and time of a server
hi ... i am a new user...i want to check an actual date and time of a server. I have done the following: On the remote server configure date extension in /etc/snmp/snmpd.conf. Simply add this single line at the end of the config file and reload snmpd: extend datecheck /bin/date From any client that has allowed SNMP access to the server query the datecheck with: ~$ snmpwalk -v2c -c public 172.18.21.174 NET-SNMP-EXTEND-MIB::nsExtendOutputFull and i got the following error: ~$ Timeout: No Response from 172.18.21.118 plz tell me the possible factors for this error and how to remove this. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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-module:make test failure
hi.. plz tell me abt how to set LD_LIBRARY_PATH Regards, Vineet Gehlot --- On Tue, 18/5/10, Bart Van Assche bvanass...@acm.org wrote: From: Bart Van Assche bvanass...@acm.org Subject: Re: Perl-module:make test failure To: vineet gehlot vineetgehlot9...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net, Thomas Anders thomas.and...@blue-cable.de Date: Tuesday, 18 May, 2010, 10:57 PM On Tue, May 18, 2010 at 11:15 PM, vineet gehlot vineetgehlot9...@yahoo.com wrote: hello everyone... i m presently working with net-snmp-5.5 i insatlled it properly but while i was trying to install a perl-module present in its extracted folder i faced the afolowwing error.. PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/lib -I../blib/arch test.pl 1..90 Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.20: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 203. at test.pl line 97 Compilation failed in require at test.pl line 97. BEGIN failed--compilation aborted at test.pl line 97. not ok 1 make[1]: *** [test_dynamic] Error 2 make[1]: Leaving directory `/home/vin/Desktop/net-snmp-5.5/perl/default_store' make: *** [subdirs-test] Error 2 You must either install Net-SNMP (make install) or set LD_LIBRARY_PATH properly before you run make perltest. Bart. -- ___ 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-module:make test failure
yes i did followed the same steps as you mentioned... 1)./configure --with-perl-modules ...: done 2)make: done 3)make test: done 4)make perltest: error .. PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/lib -I../blib/arch test.pl 1..90 Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.20: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 203. at test.pl line 97 Compilation failed in require at test.pl line 97. BEGIN failed--compilation aborted at test.pl line 97. not ok 1 make[2]: *** [test_dynamic] Error 2 make[2]: Leaving directory `/home/vin/Desktop/net-snmp-5.5/perl/default_store' make[1]: *** [subdirs-test] Error 2 make[1]: Leaving directory `/home/vin/Desktop/net-snmp-5.5/perl' make: *** [perltest] Error 1 Regards, Vineet Gehlot --- On Tue, 18/5/10, Thomas Anders thomas.and...@blue-cable.de wrote: From: Thomas Anders thomas.and...@blue-cable.de Subject: Re: Perl-module:make test failure To: net-snmp-users@lists.sourceforge.net Date: Tuesday, 18 May, 2010, 2:39 PM vineet gehlot wrote: i m presently working with net-snmp-5.5 i insatlled it properly but while i was trying to install a perl-module present in its extracted folder i faced the afolowwing error.. PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/lib -I../blib/arch test.pl 1..90 Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.20: cannot open shared object file: No such file or directory at What exact steps did you perform to build net-snmp with the Perl modules and run the tests? The recommended way is: ./configure --with-perl-modules ... make make test make perltest make install (as root) +Thomas -- ___ 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 -- ___ 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-module:make test failure
hello everyone... i m presently working with net-snmp-5.5 i insatlled it properly but while i was trying to install a perl-module present in its extracted folder i faced the afolowwing error.. PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/lib -I../blib/arch test.pl 1..90 Can't load '../blib/arch/auto/NetSNMP/default_store/default_store.so' for module NetSNMP::default_store: libnetsnmp.so.20: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.10.0/i386-linux-thread-multi/DynaLoader.pm line 203. at test.pl line 97 Compilation failed in require at test.pl line 97. BEGIN failed--compilation aborted at test.pl line 97. not ok 1 make[1]: *** [test_dynamic] Error 2 make[1]: Leaving directory `/home/vin/Desktop/net-snmp-5.5/perl/default_store' make: *** [subdirs-test] Error 2 plz help -- ___ 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