Solaris 10 - starting snmpdx at boot time on a port other than 161

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring Solaris 10 - starting snmpdx at boot time on a port other than 161
# 1  
Old 12-03-2009
Solaris 10 - starting snmpdx at boot time on a port other than 161

Hi All,

Can we start the snmpdx on another port at boot time on solaris 10 instead of the default 161 port? What is the configuration file to set this?

We can make it run in a different port after the system boots up by using
snmpdx -p port_number

This requirement is because i have an application that uses port 161 as default and i also want snmpdx to run. I can start snmpdx by executing
/usr/lib/snmp/snmpdx
and it runs on port 16161
but as far as i remember i never configured this anywhere. Smilie
# 2  
Old 12-04-2009
you need to add it to the startup. check /lib/svc/method/svc-snmpdx

Code:
${SNMP_BIN}  -y -c ${SNMP_CONFDIR}

needs to be changed to something like:
Code:
${SNMP_BIN}  -p 1161 -y -c ${SNMP_CONFDIR}

after change:
Code:
-bash-3.00# svcadm restart snmpdx
-bash-3.00# svcs -a | grep snmpd && netstat -an | grep 1161
online         22:06:49 svc:/application/management/snmpdx:default
      *.1161                              Idle

however, i would recommend you use sma instead of snmpdx. technically snmpdx (sea) is obsolete. usually what i do for snmp monitoring is install the latest version of net-snmp. in this case, it looks to be 5.5. after you install, point the sma startup (svc-sma) to the new version of net-snmp and you will actually get better output via snmp.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Smb & nmb not starting at boot - CentOS7

I would like the smb and nmb to start on boot. In the terminal (as root) I did: /sbin/chkconfig smb --addor chkconfig --add sambaor chkconfig --add /sbin/smbdresault is message like below : error reading information on service smb: No such file or directory Please use CODE tags as... (2 Replies)
Discussion started by: momed131
2 Replies

2. AIX

Blocking/starting a Port in AIX 6.1

Hello Team, We are having weblogic which running on AIX 6.1 Lpar machine. We not enabled any firewall(IPSEC) in AIX level. Our weblogic is running on cluster.Whenever we stop/restart the cluster we would like to stop/start the port(by using command) which used by the weblogic. Please... (2 Replies)
Discussion started by: gowthamakanthan
2 Replies

3. 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

4. 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

5. Infrastructure Monitoring

UDP Port 161

hi guys My linux server have SNMP configure port by default is 161 (UDP) now my monitor team - who are using Nagios - say the server are not being monitor so check netstat -lnu and I see all is OK and snmp service is running fine what else should I check about this port 161? to see if it is... (0 Replies)
Discussion started by: karlochacon
0 Replies

6. HP-UX

help auto starting app on boot

Hi I need a bit of help figuring out how to auto start an application on boot on an HPUX. I am a fairly exp AIX guy now working an HP shop. I use to change a /etc/rc... file. Any advise would be a great help TIA. –K If it is a help the program is a DB and runs as root /usr/ud{##}/startud... (3 Replies)
Discussion started by: KmJohnson
3 Replies

7. UNIX for Dummies Questions & Answers

Hitting with custom port in CLOSE_WAIT state for long time in solaris 10

Hi, Occasionally I am getting the port state in CLOSE_WAIT for long time in the solaris server. I am not sure is it application problem or not. Because we are using port 9009 for Tomcat process in our web application, some time when I start the application, the port 9009 is in CLOSE_WAIT... (0 Replies)
Discussion started by: mgmk.84
0 Replies

8. Solaris

Using LOM port to start boot solaris 10

Hi. Hopefully a question with a very short answer. Previously I have been using a windows hyperterminal to boot solaris 10 systems (SunFire) over a serial lom cable. I want to perform the same operation from a solaris 8 machine to boot solaris 10. Can anyone tell me what commands I should... (2 Replies)
Discussion started by: RottingBadger
2 Replies

9. SCO

Scologin not starting on boot up

Hi, I just finished swapping my computer to a new case. However, now when I try booting up the machine, I cannot get the Scologin to start. It just stays at the screen which says "Scologin is starting (/dev/tty02). Please wait.....". Does anyone have any idea how to fix this? Thanks (1 Reply)
Discussion started by: AtALoss
1 Replies

10. Slackware

starting up something on boot

I'm trying to bring up a database server when the linux 6.2 machine is restarted, in unix i can set up a Sxxdbstart script under rc3.d and run su user -c /path/to/my/script How can I do this in linux? I thought I could just run it under the rc.d/rc.local script and add it at the end of the... (2 Replies)
Discussion started by: kymberm
2 Replies
Login or Register to Ask a Question