Re: Wls agent as subagent to Sun's Snmp Master Agent

I have successfully configured the WL SNMP agent as subagent to
Sun's (Solaris 7 in my case) master SNMP agent.
Sun's Solstice Enterprise Agent documentation under docs.sun.com
is a bit confusing but serves as a reference if not a step-by-step guide.
Here are the general steps that I took:
1) Modify the shipped startSNMPAgent.sh for your system password
and community (I wouldn't use "public"!).
Add some if-then-fi code to check for the $1 command line parameter,
so Sun's master agent can pass in the dynamically allocated port number
that the agent will listen to. I also changed the ownership of this
script so only root can see it, as it contains the WL admin password.
2) Go to the /etc/snmp/conf directory (default Solaris 7 install).
Create the files weblogic.rsrc and weblogic.reg using the mibiisa.*
files as templates.
3) In the weblogic.reg file, add the lines
"macros = { bea = enterprise.140 }" before the "agents" line.
This defines the weblogic agent's starting OID point.
Then, change the subtree line to "bea".
4) In the .rsrc file, change the command used to spawn the
agent to "/weblogic/startSNMPAgent.sh $PORT".
Be aware that this spawn command is visible through Sun's master
agent MIB, so don't put anything sensitive in there (like a
community name or password).
5) Finally, there is a timing condition that you should be aware of.
WebLogic's SNMP agent will only bind to an active WL server.
Sun's master agent will only bind to an active subagent.
Therefore, you should ensure that
WebLogic server is started first (and the server comes completely
up), then Sun's master agent is started. I setup my /etc/rc3.d
startup files to run weblogic before snmpdx. I had to insert a
sleep command to make sure that WL was completely up before
snmpdx was run. This is because my startup script runs java in
the background, so if you don't sleep then WL won't be up before
snmpdx spawns the subagent and tries to bind to it.
Finally, Sun's mib files can be found under /var/snmp/mib.
Easier to find than NT's mib files!
Hope that helps -
Tom
"Sanjeev Chopra" <[email protected]> wrote:
>
Robert Prakash <[email protected]> wrote in message
news:[email protected]...
Hi Sanjeev
My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
There is no problem with that.
But can I make WLS agent, subagent to Sun's Snmp Agent.For that I needWls
SubAgent resource
files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled"
with
other agents it needs to co-ordinate with. I haven't tried it, however
i
beleive it should work. Because the master agent doesn't rely on built-in
protocol for interaction with other agents. (much like -otherAgents option
in the wls agent).
You just need to specify in SUN's syntax (resource files...) where the
wls
agent is running, what is its community, which MIBs it supports , what
should be the timeout and such ...
Good Luck!
If you run into any problem let me know.
Is this possible in the first place and if so how do I do it. I sawyour
response on the same issue for
Windows NT. I am mailing to find out if its different on Solaris(orUnix).
Thanks
Robert

Hello:
I created exactly as you specified. I.e weblogic.reg, weblogic.rsrc, weblogic.acl. But the issue I have is My weblogic snmp agent is listening on port 8061. Snmp demon on 161. So when I request the Snmp demon with OID of weblogic object. I am not getting the result also call is not reaching weblogic agent. Instead I am getting no such name or OID. So I am wondering why snmp demon is not forwarding the request to snmp demon.
Also Could you please explain the execution sequence of snmp demon and where you think I need to look at. Also please explain the constructs used in reg/acl/rsrc files.
Note:
I am using wls 6.1 sp2. So just my starting admin server. The enabled snmp gets started. Also I configured snmp demon so that when ever it gets started the weblogic server also starts. Also there is no issue in receiving traps.
Thanks in Advance.
Vijay

Similar Messages

  • Wls agent as subagent to Sun's Snmp Master Agent

    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagent to it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need Wls SubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.
    Is this possible in the first place and if so how do I do it. I saw your response on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(or Unix).
    Thanks
    Robert

    Robert Prakash <[email protected]> wrote in message
    news:3a002079$[email protected]..
    >
    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need WlsSubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled" with
    other agents it needs to co-ordinate with. I haven't tried it, however i
    beleive it should work. Because the master agent doesn't rely on built-in
    protocol for interaction with other agents. (much like -otherAgents option
    in the wls agent).
    You just need to specify in SUN's syntax (resource files...) where the wls
    agent is running, what is its community, which MIBs it supports , what
    should be the timeout and such ...
    Good Luck!
    If you run into any problem let me know.
    >
    Is this possible in the first place and if so how do I do it. I saw yourresponse on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(or Unix).
    Thanks
    Robert

  • Dialog between the SNMP Master Agent and a SNMP SubAgent

    I have developped a SNMP SubAgent. The Master Agent uses the static method to register the SubAgent. In the Registration File of the SubAgent, I have specified the UDP port number (example: port = 1234). When the SubAgent is started (by the MasterAgent), it must open the UDP port specified in the Registration File. The dialog works fine between the SubAgent and the Master Agent.
    I would prefer not to specify the UDP port number in the Registration File so that the Master Agent chooses itself a free UDP port number. But the SubAgent needs to know this UDP port number to dialog with the Master Agent. I thought the SubAgent could read it in the Status File of the Master Agent. BUT in fact, when the Master Agent invokes the SubAgent, its Status File isn't yet updated with the right port number value.
    How may the SubAgent know the UDP port number chosen by the Master Agent ?
    NB: I haven't use the SunOS SNMP toolkit to develop the SubAgent.

    Hi ,
    Good question.
    The subagent only communicates via the port 161 with the master agent as per my understanding. It only listens for SNMP request on the port number mentioned in the <<agentname>>.rsrc file or the port assigned by the master agent. Please start the subgent with no options "-d 4" and then you can confirm the behaviour. Enclosed below is a snippet of that output for reference. Also the UserGuide at the following link will be helpful.
    http://www.sun.com/software/entagents/docs.html
    Thanks
    Sujeet
    <pre>
    ./init.snmpdx start
    PDU:
    version: 0
    community: public
    type: SET_REQ_MSG (0xa3)
    request id: 0
    error status: noError(0)
    error index: 0
    name: 1.3.6.1.4.1.42.2.15.5.0
    type: OCTET STRING (0x4)
    length: 8
    value: snmpdemo ( 73 6e 6d 70 64 65 6d 6f )
    PACKET:
    30 30 02 01 00 04 06 70 75 62 6C 69 63 A3 23 02
    01 00 02 01 00 02 01 00 30 18 30 16 06 0A 2B 06
    01 04 01 2A 02 0F 05 00 04 08 73 6E 6D 70 64 65
    6D 6F
    sent 50 bytes to sump.161<< received 50 bytes from sump.161
    PACKET:
    30 30 02 01 00 04 06 70 75 62 6C 69 63 A2 23 02
    01 00 02 01 00 02 01 00 30 18 30 16 06 0A 2B 06
    01 04 01 2A 02 0F 05 00 04 08 73 6E 6D 70 64 65
    6D 6F
    PDU:
    version: 0
    community: public
    type: GET_RSP_MSG (0xa2)
    request id: 0
    error status: noError(0)
    error index: 0
    name: 1.3.6.1.4.1.42.2.15.5.0
    type: OCTET STRING (0x4)
    length: 8
    value: snmpdemo ( 73 6e 6d 70 64 65 6d 6f )
    </pre>

  • SNMP subagent with SMUX SNMP master agent

    I'm looking for the smux agent configuration for ucp-snmp to be able to use it as the master agent on a Linux/Solaris server. The subagent would be the LDAP instance snmp sub-agent. According to the documentation, if I have a master agent that I can't get rid of and is smux compliant, I can use it instead of the Netscape SNMP Master agent.
    Even by configuring the ucp-snmp master agent as per the Netscape Directory Server documentation, the subagent is not starting. I always get the following error: "Unexpected error" in the console 4.2 window.
    I'm using a Netscape Directory Server 4.16
    Can anybody help me on what should be the smux configuration and then how to start the LDAP instance subagent?

    Hi,
    Iplanet does not support for it's products being installed on linux or snmp for linux.

  • Snmp master agent won't start

    I'm using Web Server 7.0U1 on Solaris 10U4. I'm trying to start the SNMP master subagent. On my Linux test platform, this works fine. But on the Solaris host, 'magt' hangs forever at startup and does nothing. This happens both when using the web console and wadm start-snmp-master-agent command.
    How do I make magt work?

    The SNMP master agent fails to start on Solaris 10U2 (and higher) due to the TCP fusion feature added in Solaris 10U2. (TCP fusion is a protocol-less data path for loopback TCP connections). One of the possible workarounds for this issue is to disable TCP fusion by adding the following line in /etc/system:
    set ip:do_tcp_fusion = 0x0
    The Sun Info Doc 86046 available on sunsolve explains the various TCP fusion related tunables.

  • Dbsnmp unable to connect to SNMP master agent

    DBSNMP for 32-bit Windows: Version 9.2.0.1.0 - Production on 13-JAN-2006 10:58:24
    Copyright (c) 2002 Oracle Corporation. All rights reserved.
    System parameter file is C:\oracle\ora92\network\admin\snmp_ro.ora
    Log messages written to C:\oracle\ora92\network\log\dbsnmp.log
    Trace information written to C:\oracle\ora92\network\trace\dbsnmp_728.trc
    Trace level is currently 0
    NMS-00001: Warning: dbsnmp unable to connect to SNMP master agent
    I get the above message as dbsnmp.log every day in my testdb.. wat is the purpose and meaning
    oracle_home\network\log

    Hmmmmm.
    Using the online error code lookup facility in the Oracle documentation, I see the following:
    NMS-00001: Warning: service unable to connect to SNMP master agent.
    Cause: An SNMP Master Agent is used to communicate with a third party SNMP monitoring console. The specified service could not contact the SNMP master agent. The master agent supported by Oracle for this platform is not installed, or has not been started. Messages specific to this platform follow.
    This is a warning and does not prevent the agent from communicating with the console. If Oracle Enterprise Manager is the only monitoring console accessing this agent, the NMS-00001 error can be considered informational and should be ignored. Configuration of the SNMP Master Agent is not reguired for the Oracle Enterprise Manager Console.
    Action: Consult Oracle documentation for your platform; then, make sure that the correct SNMP master agent is installed and started. The SNMP Master Agent and the Oracle Intelligent Agent must be configured correctly before the Oracle Intelligent Agent can communicate over SNMP to the Master Agent.
    The Oracle Intelligent Agent needs to be configured. The 7.3.2.x agent required an SNMP.ORA file. All later versions of the Oracle Intelligent Agent are self-configuring and do not reguire the creation of an snmp.ora file.
    Solution Explanation
    1. The Oracle Intelligent Agent needs to be configured. The 7.3.2.x agent required an SNMP.ORA file. All later versions of the Oracle Intelligent Agent are self-configuring and do not reguire the creation of an snmp.ora file.
    2. The SNMP Master Agent needs to be configured and started.
    There is even more. Especially in the are of 'how to configure and start'. Can wee look that up for you as well?

  • Ports used for Intelligent agent and snmp master agent

    I could not find any documentation regarding which ports are used for communication between master and intelligent
    agent. Moreover which port has to be mentioned if I use snmpget for the master agent. Please let me also know if I use a
    management platform like CA-Unicenter with which port I have to send the traps and where to configure.
    Thanks
    Pragati Awasty

    John Ross Hunt (guest) wrote:
    : Once libtcl7.5.a is built and copied to the
    : $ORACLE_HOME/network/lib directory, can the rest of the
    : installation in /usr/local be deleted?
    Yes, all that Oracle needs is the library to link in.
    - Phil
    null

  • Netsnmp as subagent in sun-snmp

    hi @ all!
    I would like to run the netsnmp-agent as subagent in the standard sun-snmp master-agent!
    Can anywhere give me a detailed documentation what i have to configure??
    please send replay to: [email protected]
    Thx�s a lot!
    bye
    stefan

    Robert Prakash <[email protected]> wrote in message
    news:3a002079$[email protected]..
    >
    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need WlsSubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled" with
    other agents it needs to co-ordinate with. I haven't tried it, however i
    beleive it should work. Because the master agent doesn't rely on built-in
    protocol for interaction with other agents. (much like -otherAgents option
    in the wls agent).
    You just need to specify in SUN's syntax (resource files...) where the wls
    agent is running, what is its community, which MIBs it supports , what
    should be the timeout and such ...
    Good Luck!
    If you run into any problem let me know.
    >
    Is this possible in the first place and if so how do I do it. I saw yourresponse on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(or Unix).
    Thanks
    Robert

  • SNMP Solstice Master agent

    Hi All,
    I have a Subagent that talks with SNMP Solstice Master Agent on solaris 8. For the set requests sent by the Command line or Manager the Master Agent breaks the PDU into multiple set requests and then sends them one by one(with 1 variable at a time) to my Subagent.How can I avoid this break up of PDU at SNMP Master agent.
    Thanks
    Priya

    Hello:
    I created exactly as you specified. I.e weblogic.reg, weblogic.rsrc, weblogic.acl. But the issue I have is My weblogic snmp agent is listening on port 8061. Snmp demon on 161. So when I request the Snmp demon with OID of weblogic object. I am not getting the result also call is not reaching weblogic agent. Instead I am getting no such name or OID. So I am wondering why snmp demon is not forwarding the request to snmp demon.
    Also Could you please explain the execution sequence of snmp demon and where you think I need to look at. Also please explain the constructs used in reg/acl/rsrc files.
    Note:
    I am using wls 6.1 sp2. So just my starting admin server. The enabled snmp gets started. Also I configured snmp demon so that when ever it gets started the weblogic server also starts. Also there is no issue in receiving traps.
    Thanks in Advance.
    Vijay

  • Com.adventnet.snmp.snmp2.agent.AgentRuntimeException

    We have 2 WL 5.1 clusters deployed on two HP-UX 9000 machines. Both servers are
    running HP OV (Open View) SNMP agent to feedback snmp traps back to another OV
    mangemnet server (ovvpm). ov agent is running ok and feedback trap info to ovvpm.
    But question is we're getting following message when startup WL SNMP agent:
    $ ./startSNMPAgent.sh
    Exception in thread "main" com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
    Failure in opening SnmpSession, errstat: 0, errvalue: 0
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.java:801)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:955)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(SnmpAgent.java:1034)
    at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.initBEA_WEBLOGIC_MIB(BEA_WEBLOGIC_MIB.java:38)
    at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.<init>(BEA_WEBLOGIC_MIB.java:109)
    at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.<init>(BEA_WEBLOGIC_MIB.java:90)
    at weblogic.management.snmp.agent.WebLogicAgent.<init>(WebLogicAgent.java:390)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.SNMPAgent.main(SNMPAgent.java:24)
    the setup of startSNMPAgent.sh is
    $JAVA weblogic.SNMPAgent -password password -serverURLs t3://web64:8001 -trapDes
    tinations ovvpm:162
    even we setup with -snmpPort it still doesn't work anyway. Your input will be
    greatly appreciated.

    Please post on 6.0 beta management newsgroup
              - Prasad
              Hoang Kieu Chau wrote:
              > Hi,
              >
              > I can not start SNMPAgent.sh. The error is :
              >
              > Exception in thread "main"
              > com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
              > Failure in opening SnmpSession, errstat: 0, errvalue: 0
              >
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              > at
              > com.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRunt
              > imeException.java:63)
              > at
              > com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(Snmp
              > Agent.java:801)
              > at
              > com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.j
              > ava:939)
              > at
              > com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(Compiled Co
              > de)
              > at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(Compiled
              > Code)
              > at weblogic.management.snmp.agent.WebLogicAgent.init(Compiled
              > Code)
              > at
              > weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.ja
              > va:377)
              > at weblogic.SNMPAgent.main(SNMPAgent.java:25)
              >
              > Any help would be greatly appreciated
              

  • Sun Access Manager,Policy Agent 2.2, IIS7?

    Hello everybody
    Is it possible to protect IIS7 with policy agent 2.2 and Sun Access Manager 7.1?
    Policy Agents 3.0 (for Open SSO) works with Sun Access Manager 7.1?
    regards!
    Alex Dávila

    Tanks handat      
    I found
    http://download.oracle.com/docs/cd/E19575-01/820-5816/galtf/index.html
    http://download.oracle.com/docs/cd/E19681-01/821-0267/gfxhz.html#scrolltoc     
    greetings
    alex davila

  • SUN cluster 3.1 Agent for Siebel Server

    Hi All
    I dont have the CD for the Sun Cluster 3.1 agent . Please suggest me a link from where i can download the agent for Sun HA For Siebel Server,
    Thanks/Regards

    Hi,
    the agent should be part of the latest JAS release, which is SC3.1 8/05.
    Mark the Java Availability Suite checkbox on
    www.sun.comhttp://www.sun.com/software/swportfolio/get.jsp
    and hit "Get downloads". That should lead you to the download section.
    Regards
    Hartmut

  • SUN snmpdx SNMP Agent

    Hello *,
    In our project I want to use SUN (Solaris 9 and 10) SNMP Agent to send hardware failure traps.
    As I know, besides other things, I have to edit snmpdx.acl file using following example.
    snmpdx.acl:
    # trap parameters
    trap =
    trap-community = public
    hosts = atpcundx
    enterprise = "sun"
    trap-num = 0, 1, 2-5, 6-16
    Problem that I have is that I cannot find explanations for meaning for parameter "enterprise" and "trap-num".
    Does anyone have an idea where I can find descriptions what enterprise = "sun" or "snmp" or "3com" or "Solaris Volume Manager" means and what is the meaning of trap numbers integer values.
    I tried to test configuration as it is described in SUN documentation. I have strange results. Traps are not sent until in snmpd.conf "trap = <hostname>" is set.
    Entries from snmpd.acl file are ignored even in this case.
    Generally, does anyone knows how to configure this feature to work.
    Any help will be appreciated.
    Thanks in advance.
    Brgds
    SF

    Dear folks,
    Does the Sun JES server have a separate SNMP sun
    agent?Indeed:
    http://docs.sun.com/app/docs/doc/819-2650/6n4u4dtvq?q=snmp&a=view
    >
    I want to run the Solaris SNMP agent (snmpdx) as
    master agent with the Sun JES sub-agent. Is it
    possible?I don't know why not. Start by looking at the documentation.
    >
    Thanks in advance.
    T Dang

  • I cannot add SNMP legacy agent to SunMC

    Hi there,
    I have problems with adding my SNMP legacy agent to SunMC, I would appreciate any suggestions/solutions.
    I wrote a SNMP agent using SNMP4j. It works well when stand alone. Then I try to add it to SunMC as a legacy agent. I followed the steps listed in the document "Sun Management Center 3.6.1 Installation and configuration Guide":
    1, I modify the file "/var/opt/SUNWsymon/cfg/subagent-registry-d.x"; the main part that I I added is,
    type = legacy
    persist = false
    snmpPort = "4650"
    startCommand = "java -cp /profilium/SNMP4j/lib/log4j-1.2.9.jar:/profilium/SNMP4j/target/classes:/profilium/snmp-exercise snmpexercise.SnmpSend"
    pollInterval = 60
    pollHoldoff = 60
    oidTrees = 1.3.6.1.4.1.23460
    snmpVersi = SNMPv2c
    securityLevel = noauth
    securityName = public
    I think in the modification, the tricky part is the 'startCommand'. I use the java command to start my agent, as it works at the Unix command line.
    2, then I stop and restart Sun MC to make the changes effective.
    The SunMC doesn't complain anything when I restart it. ~But~, after I reopen the SunMC console, I don't see anything added there. Everything looks the same as before.
    Is there anything wrong with what I did? Or, I have to configure more things in the SunMC?
    Thank you for advices.
    Xinxin

    If I want to integrate my application into SunMC, ie
    get/set SNMP parameters and receive traps, do I need
    to hardcode all OID in the module?
    Ideally, I would write a module that would proxy all
    SNMP traffic to the manager server which would then
    make it available to the console. This only
    information I would give the module is the port
    number to connect to and the port number to receive
    traps. Is this possible?It doesn't quite work like that. Even if you have SunMC proxy snmp requests for your other snmp process... it won't be displayed in the Console. Basically all you're gaining is the ability to send all snmp traffic to a single port (SunMC's) and it passes along those requests on your behalf. I'd say that's not too popular a solution.
    A better way to do things is to write a "module" for SunMC, and that module would know the OIDs in your manager that you're interested in. That way your data would show up properly in the Console, and you'd get access to all of SunMC's other features for "free" (i.e. setting alarms on thresholds, sending email, running scripts when bad things happen, a history of alarms in the SunMC database, and the ability to graph/report your values over time from the SunMC PRM addon).
    A module is the official way of registering your other snmp process. So it depends on what you want to do... do you want SunMC to just manage the SNMP traffic for you... or do you want all the alarming/trending/graphing GUI features as well?
    If you're not too sure about building a module you can have Halcyon build that part for you (we probably only need the MIB for your SNMP program/device). We're very good at it since we've been building SunMC modules for years :)
    http://www.halcyoninc.com/products/a-z.php
    Regards,
    [email protected]
    http://www.HalcyonInc.com

  • How to get Leopard ssh agent to work if you previously used "SSH Agent" App

    Hi Everyone,
    I had previously been using the *SSH Agent* application from http://www.phil.uu.nl/~xges/ssh/ and wanted to get rid of it and use the built-in support for ssh-agent in Leopard.
    However, it didn't work. Doing "env | grep SSH" it would show /tmp/501/nl.uu.phil.SSHAgent.socket and ssh'ing from a terminal window would request your passphrase every time. Executing ssh-agent would say "no agent is running." Even deleting the *SSH Agent* app and rebooting, it would still have this phil socket.
    The solution is to use terminal, go to your home directory, cd to .MacOSX and look and see if there's an environment.plist file. In there will be some XML to set this persistent string for SSHAUTHSOCK. You need to take that out. If there's other stuff in the file, like a CVSHOME entry, hand-edit the XML to take out the SSHAUTHSOCK entry. (How to do that is beyond the scope of this post.) If the only thing is that entry, just delete the environment.plist file.
    Afterwards, reboot, or maybe just log out and log back in, open a terminal window, and you should be able to ssh out and the system will start ssh-agent behind your back and find your .ssh/id_dsa file or whatever.
    Karl

    The man page for ssh-agent provides the following documentation:
    -a bind_address
    Bind the agent to the unix-domain socket bind_address. The
    default is /tmp/ssh-XXXXXXXXXX/agent.<ppid>.
    The system ssh-agent's startup arguments are in /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist so you could add something like the following to array that defines the ProgramArguments:
    <string>-a</string>
    <string>/whatever/the/path/is/that/you/want/to/have</string>
    Note that since these mods are being done in /System, they could be wiped out by any system update. You could try making a copy of the file and putting the copy in /Library/LaunchAgents; perhaps files in that directory take precedence over files in /System. Certainly, stuff in /Library shouldn't be wiped out by a system update, though.

Maybe you are looking for