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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============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> </DIV> <DIV>I am having problem with snmpget or set on query from local host.</DIV> <DIV>When I type : snmpget -d -v 2c -c TC localhost sysUpTime </DIV> <DIV> &nb sp;   ; snmpget : Unknown host</DIV> <DIV> </DIV> <DIV>But if I use the real IP address of machine it will work:</DIV> <DIV> </DIV> <DIV> &nb sp;   ; snmpget -v 2c -c TC 192.168.0.12 sysUpTime</DIV> <DIV> &nb sp; SNMPv2-MIB::sysUpTime.0=................09:01</DIV> <DIV> </DIV> <DIV>I appreciate it if someone can help me with that.</DIV> <DIV> </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==-- |