snmpget returns Unknown host

Reza Salehi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,
   
  I am having problem with snmpget or set on query from local host.
  When I type    : snmpget -d -v 2c -c TC localhost sysUpTime  
                     snmpget  : Unknown host
   
  But if I use  the real IP address of machine it will work:
   
                     snmpget  -v 2c -c TC  192.168.0.12 sysUpTime
               SNMPv2-MIB::sysUpTime.0=................09:01
   
  I appreciate it if someone can help me with that.
   
  Regards,
  Reza

       
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
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.