> -----Original Message----- > From: fedora-list-bounces@xxxxxxxxxx > [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Manu Linux Lookit > Sent: Saturday, April 23, 2005 4:41 PM > To: For users of Fedora Core releases > Subject: Snmp daemon doesn't work but loaded ... > > Hi, i'd like to use and learn more about SNMP protocole. > > I havegot some pbs with it under my FC3/770kernel : > > Here are the results of sh commands : > > [root@nsl3 ~]# ps -ef | grep snm > root 4690 1 0 20:08 ? 00:00:00 > /usr/sbin/snmptrapd -Lsd > -p /var/run/snmptrapd.pid > root 23090 1 0 23:37 ? 00:00:00 > /usr/sbin/snmpd -Lsd -Lf > /dev/null -p /var/run/snmpd -a > root 23104 22795 0 23:37 pts/2 00:00:00 grep snm > [root@nsl3 ~]# telnet 127.0.0.1 161 > Trying 127.0.0.1... > telnet: connect to address 127.0.0.1: Connection refused > telnet: Unable to connect to remote host: Connection refused > [root@nsl3 ~]# more /etc/snmp/snmpd.conf rocommunity nsl > disk / 10000 > [root@nsl3 ~]# > > > i don't know why i can't access on snmpd daemon to use it > under nagios . > > Any help will be welcome. > > Regards > Emmanuel > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list > > You can't telnet to an snmp port because it uses udp. Its connectionless so as you send a request to it (or as it sends a trap out) it doesn't require a response. If you send an snmpwalk to it and it doesn't respond it could be because of network issues, a firewall, or very commonly an invalid community string. The default is public. Once you get the daemon up and running Try this command (change "public" to your community string if you changed it: snmpwalk -v2c -c public your.hostname.com That should send a bunch of stuff to std out. Once you get that info you can start getting information from the machines. I too use SNMP a lot for nagios, it works great. -Mike