Re: query: actual date and time of a server
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 14 July 2010 07:06, vineet gehlot <[email protected]> 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users