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.
10 More Discussions You Might Find Interesting
1. Slackware
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
2. SCO
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
3. Solaris
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
4. UNIX for Dummies Questions & Answers
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
5. HP-UX
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
6. Infrastructure Monitoring
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
7. IP Networking
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
8. Red Hat
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
9. AIX
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
10. UNIX for Advanced & Expert Users
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
snmpdx(1M) System Administration Commands snmpdx(1M)
NAME
snmpdx - Sun Solstice Enterprise Master Agent
SYNOPSIS
/usr/lib/snmp/snmpdx [-hy] [-a filename] [-c config-dir] [-d debug-level] [-i filename] [ -m GROUP -m SPLIT] [-o filename] [-p port]
[-r filename]
DESCRIPTION
The Master Agent, snmpdx, is the main component of Solstice Enterprise Agent technology. It runs as a daemon process and listens to User
Datagram Protocol (UDP) port 161 for SNMP requests. The Master Agent also opens another port to receive SNMP trap notifications from vari-
ous subagents. These traps are forwarded to various managers, as determined by the configuration file.
Upon invocation, snmpdx reads its various configuration files and takes appropriate actions by activating subagents, determining the sub-
tree Object Identifier (OID) for various subagents, populating its own Management Information Bases (MIBs), and so forth. The Master Agent
invokes subagents, registers subagents, sends requests to subagents, receives responses from subagents, and traps notifications from sub-
agents.
The Master Agent is invoked from a start-up script at boot time only if contents of the resource configuration file /etc/snmp/conf/snm-
pdx.rsrc are non-trivial.
OPTIONS
The following options are supported:
-a filename Specify the full path of the access control file used by the Master Agent. The default access control file is
/etc/snmp/conf/snmpdx.acl.
-c config-dir Specify the full path of the directory containing the Master Agent configuration files. The default directory is
/etc/snmp/conf.
-d debug-level Debug. Levels from 0 to 4 are supported, giving various levels of debug information. The default is 0 which means
no debug information is given.
-h Help. Print the command line usage.
-i filename Specify the full path of the enterprise-name OID map. This file contains the PID used by the Master Agent for
recovery after a crash. It contains tuples of the UNIX process ID, port number, resource name, and agent name. The
default file is /var/snmp/snmpdx.st.
-m GROUP | -m SPLIT Specify the mode to use for forwarding of SNMP requests.
GROUP Multiple variables can be included in each request from the Master Agent to the subagents. This results
in, at mose, one send-request per agent.
SPLIT Each variable in the incoming request results in one send-request to each subagent.
The default is GROUP.
-o filename Specify the full path of the file containing the tuple (enterprise-name, OID). For example, (Sun Microsystems,
1.3.1.6.1.4.32). The Master Agent uses this file as a base for look-up in the trap-filtering and forwarding
process. The default file is /etc/snmp/conf/enterprises.oid.
-p port Specify the port number. The default port number is 161.
-r filename Specify the full path of the resource file to be used by the Master Agent. This file stores information about the
subagents that the Master Agent invokes and manages. The default resource file is /etc/snmp/conf/snmpdx.rsrc.
-y Set a recovery indicator to invoke the recovery module. The recovery process discovers which subagents in the pre-
vious session are still active; those subagents not active are re-spawned by the Master Agent.
FILES
/etc/snmp/conf/enterprises.oid Enterprise-name OID map
/etc/snmp/conf/snmpdx.acl Access control file
/etc/snmp/conf/snmpdx.rsrc Resource configuration file
/var/snmp/snmpdx.st Master Agent status file
/var/snmp/mib/snmpdx.mib Master Agent MIB file
EXIT STATUS
The following error values are returned:
0 Successful completion.
non-zero An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsasnm |
+-----------------------------+-----------------------------+
SEE ALSO
snmpXdmid(1M), attributes(5)
SunOS 5.10 17 Oct 2002 snmpdx(1M)