LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   snmp + no response from local host (https://www.linuxquestions.org/questions/linux-server-73/snmp-no-response-from-local-host-580673/)

aeby 08-29-2007 06:44 AM

snmp + no response from local host
 
Hi,


I have installed snmp and is trying to configure mrtg.But when i run

snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex

it gives me
Timeout: No Response from localhost

parts of my snmp.conf file


com2sec local localhost public
com2sec mynetwork 192.168.0.0/24 public

group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork

view all included .1 80

access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none


syslocation Linux (RH3_UP2), Home Linux Router.
syscontact Vivek G Gite <vivek@nixcraft.com>


if i run
snmpwalk -v 1 -c public localhost
it lists all the ip address except the localhost ,
i need it to list the local host.

please can anyone tell me what is wrong.
Thanks for the help in advance.

Kind Regards

AlucardZero 08-29-2007 07:31 AM

Code:

#      sec.name  source          community
com2sec readonly  localhost        public

Is what I have, and localhost SNMP access works.

aeby 08-29-2007 08:29 AM

Hi AlucardZero,

i tried that but it still gives me
Timeout: No Response from localhost error


Thanks for the help


All times are GMT -5. The time now is 02:21 PM.