snmpget returns Unknown host

This is a discussion on snmpget returns Unknown host within the SNMP Users forums, part of the Networking and Network Related category; --===============1176276383== Content-Type: multipart/alternative; boundary="0-1950544943-1188511258=:81497" Content-Transfer-Encoding: 8bit --0-1950544943-1188511258=:81497 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-30-2007
Reza Salehi
 
Posts: n/a
Default snmpget returns Unknown host

--===============1176276383==
Content-Type: multipart/alternative; boundary="0-1950544943-1188511258=:81497"
Content-Transfer-Encoding: 8bit

--0-1950544943-1188511258=:81497
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

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.
--0-1950544943-1188511258=:81497
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>Hi All,</DIV> <DIV>&nbsp;</DIV> <DIV>I am having problem with snmpget or set on query from local host.</DIV> <DIV>When I type&nbsp;&nbsp;&nbsp; : snmpget -d -v 2c -c TC localhost sysUpTime&nbsp; </DIV> <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; snmpget&nbsp; : Unknown host</DIV> <DIV>&nbsp;</DIV> <DIV>But if I use&nbsp; the real IP address of machine it will work:</DIV> <DIV>&nbsp;</DIV> <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp; snmpget&nbsp; -v 2c -c TC&nbsp; 192.168.0.12 sysUpTime</DIV> <DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp; SNMPv2-MIB::sysUpTime.0=................09:01</DIV> <DIV>&nbsp;</DIV> <DIV>I appreciate it if someone can help me with that.</DIV> <DIV>&nbsp;</DIV> <DIV>Regards,</DIV> <DIV>Reza</DIV><p>
<hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a>
--0-1950544943-1188511258=:81497--


--===============1176276383==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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/
--===============1176276383==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============1176276383==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:35 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0