RE: RE: snmpget returns Unknown host
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC070F1B57@mailserver.metatv-ds.metatv.com> |
> From: [email protected] > [mailto:[email protected]] On > Behalf Of Reza Salehi > When I use 127.0.0.1 it works fine but I can also so do < > ping localhost > and that works fine too. I doubt that means anything, since I would expect ping to have the value of "localhost" compiled in. > It seems snmpget > doesn't like the localhost name. Just look at your /etc/hosts file. If it doesn't define "localhost", you can't use it. Many current distros don't, for reasons I cannot fathom. HTH, Mike ------------------------------------------------------------------------- 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