Snmp


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Snmp
# 1  
Old 02-16-2006
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.
# 2  
Old 02-16-2006
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


@_@
# 3  
Old 02-16-2006
try the download - OpenSSL available at

http://www.sunfreeware.com/programli...html#openssl7c
# 4  
Old 02-16-2006
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.
# 5  
Old 05-02-2006
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies

2. Infrastructure Monitoring

SNMP traps to SNMP server

Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies

3. IP Networking

SNMP Problem - SNMP not getting to the agent.

I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the... (0 Replies)
Discussion started by: broberts
0 Replies

4. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

5. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

6. Infrastructure Monitoring

SNMP - what am I seeing?

Hey everyone! First, thank you in advance for any help you can provide. I'm a fairly experienced linux user, and just getting my feet wet in solaris for a project here at the office. I am trying to use snmpget on a linux box to get information from a Solaris 10 system. The solaris 10 system has... (5 Replies)
Discussion started by: msarro
5 Replies

7. Infrastructure Monitoring

snmp

hello, I am looking for Overall CPU usage info in net-snmp 5.1.2 on solaris 5.8. I didn't see hrProcessorLoad info from host-resource-mib. Is there any other MIB I could look into? Thanks (0 Replies)
Discussion started by: lamou23
0 Replies
Login or Register to Ask a Question