Re: query: actual date and time of a server

vineet gehlot <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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 <[email protected]> wrote:

From: Dave Shield <[email protected]>
Subject: Re: query: actual date and time of a server
To: "vineet gehlot" <[email protected]>
Cc: [email protected]
Date: Wednesday, 14 July, 2010, 12:40 AM

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.