The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
snmp manoj.solaris SUN Solaris 1 09-20-2007 04:43 AM
Snmp capeme UNIX for Dummies Questions & Answers 2 04-12-2007 06:31 AM
Want to set up SNMP with MIB on SCO OS5 herd5cusa SCO 0 05-19-2006 02:01 PM
SNMP in HP-UX. Nguyen Quang Vu HP-UX 1 04-15-2005 08:02 AM
Snmp S.Vishwanath UNIX for Advanced & Expert Users 2 01-08-2003 08:03 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-16-2006
Registered User
 

Join Date: Aug 2005
Posts: 31
Snmp

Hi all,

I am trying to enable SNMP port 161 on my solaris 9 machine, I have started the process and here is the output of ps -ef

# ps -ef | grep snmp
root 83 1 0 Sep 27 ? 0:00 /etc/opt/SUNWconn/atm/bin/atmsnmpd -n
root 333 1 0 Sep 27 ? 0:00 /usr/lib/dmi/snmpXdmid -s sunntp01
root 24091 1 0 13:58:20 ? 0:00 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf

However, when I tried to connect to port 161 via telnet
# telnet localhost 161
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

It is normal? I trying to add this machine to a monitoring server for alerting monitoring purposes. Please help. Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-16-2006
Registered User
 

Join Date: Aug 2005
Posts: 31
I have installed the newest netsnmp package in /usr/local

but when I start the SNMP process again. it said

# /usr/local/sbin/snmpd
ld.so.1: snmpd: fatal: libcrypto.so.0.9.7: open failed: No such file or directory
Killed


@_@
Reply With Quote
  #3 (permalink)  
Old 02-16-2006
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,490
try the download - OpenSSL available at

http://www.sunfreeware.com/programli...html#openssl7c
Reply With Quote
  #4 (permalink)  
Old 02-16-2006
Registered User
 

Join Date: Aug 2005
Posts: 31
thanks man, however, it works but when I do

# telnet localhost 161
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

is it normal? I thought that port 161 would be opened and listen to any requests.
Reply With Quote
  #5 (permalink)  
Old 05-02-2006
Registered User
 

Join Date: May 2006
Posts: 3
snmp test

Hi,

You cannot telnet to the snmp port because its UDP and not TCP.

In order to test it, you could use snmpget command from the net-snmp package (http://net-snmp.sourceforge.net/tuto...s/snmpget.html).

Hope it helped...

Shahar.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0