Subagent -- GET

Hi!
I will write a subagent using SDK. The agent shall give me the states of many software-components and it shall provide a interface to a GUI using C++ wedges. From this GUI I want to send GET and SET to the SEA Master Agent. Will he provide GET and set from a Subagent?
Best regards,
cAner

Hi,
I am not sure about the question here. There are lot of documents on how to use the Solstice Enterprise Agents.
The following link should help
http://www.sun.com/software/entagents/docs.html
Please note that sets and gets to the subagent can be done via the master agent.
Thanks
Sujeet (Sun-DTS)

Similar Messages

  • Running net-snmp as a subagent.

    I am trying to setup net-snmp or ucd-snmp as a subagent through SunMC. I followed the instructions from the Sunmc 3.6.1 installation and configuration guide for modifying the subagent-registry-d.x file and put the following entry:
    netsnmp = {
    type = legacy
    persist = false
    snmpPort = "20161"
    errorAction = restart
    startCommand = "/export/home/xxx/crap.sh -p %port"
    stopCommand = "kill -9 %pid"
    pollInterval = 60
    pollHoldoff = 60
    managedTrees = "ucdavis"
    oidTrees = 1.3.6.1.4.1.2021
    snmpVersion = SNMPv1
    securityLevel = auth
    securityName = LALA
    the startup script crap.sh contains the following line:
    /export/home/xxx/snmpd -c /export/home/xxx/snmpd.conf -p 20161
    When I run a ctail on /var/opt/SUNWsymon/log/agent.log I get the following (removing all lines not assocaited with subagent calls)
    info Feb 06 11:17:39 agent subagent registry successfully loaded
    info Feb 06 11:17:39 agent startLegacySubagents: <>
    info Feb 06 11:17:39 agent startLegacySubagent: netsnmp
    info Feb 06 11:17:39 agent sh: Executing /export/home/psopel/crap.sh -p 20161 process 11859
    warning Feb 06 11:17:44 agent Failed to start legacy subagent netsnmp
    I am able to snmpwalk from another server on port 20161 so I see the net-snmp agent is responding as per the following ouput:
    snmpwalk srvname:20161 -c LALA -v 1 .1.3.6.1.4.1.2021.11
    UCD-SNMP-MIB::ssIndex.0 = INTEGER: 1
    UCD-SNMP-MIB::ssErrorName.0 = STRING: systemStats
    UCD-SNMP-MIB::ssSwapIn.0 = INTEGER: 0
    UCD-SNMP-MIB::ssSwapOut.0 = INTEGER: 0
    UCD-SNMP-MIB::ssIOSent.0 = INTEGER: 0
    UCD-SNMP-MIB::ssIOReceive.0 = INTEGER: 0
    UCD-SNMP-MIB::ssSysInterrupts.0 = INTEGER: 67
    UCD-SNMP-MIB::ssSysContext.0 = INTEGER: 48
    UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 0
    UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 1
    UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 98
    But when I try to launch the command through talking to sunmc on port 161 I get:
    snmpwalk srvname -c LALA -v 1 .1.3.6.1.4.1.2021.11
    End of MIB
    A tail of the Agent.log file again shows this line appearing when I launch an snmpwalk:
    info Feb 06 11:40:45 agent getValuePDU: .iso.org.dod.internet.private.enterprises
    info Feb 06 11:40:45 agent getValuePDU: - nodeType is branch
    My understanding is that sunmc should receive the request on port 161 and sending the request to the external net-snmp running on the server. I am expecting to get the same output.
    Is this not how it should be working?
    -Pierre

    Hello Dave,
    I know it is long ago for you, but at the moment I have the same problem that you had in Jan. 2002, and possibly you have solved it meanwhile, or anyone else:
    I am looking for a servlet engine for Windows Mobile 2003.
    We are having a Web application for sales people that sell insurances. The application consists of JSP's and servlets. It runs under RESIN as servlet engine on a regular server and the clients are desktop PC's. My task is to investigate whether the application can be run on an HP iPAQ or similar device, both, server and client, such that the sales person can use it on the go, if he is NOT CONNECTED. The idea is to use the application as is, without modifying the code. B.T.W. a database is not required since all data is held in XML files.
    Any help is appreciated,
    Thanks a lot,
    Regards,
    Klaus.

  • 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

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

  • Subagent process id

    Hello,
    I have used SEA sdk to develop our subagent, in this i wanted to know the process id once the subagent becomes daemon. My requirement is to handle multiple instances of our subagent meaning we should not allow to run multiple instances of subagent. For this first place we should be knowing the pid of the process started so that next time before it can get daemonized we can check for the provious process id and can give error message and exit.
    I tried getting pid when agent_init is invoked but then the agent_init is invoked after some 20sec so, by then we can invoke again the same process several times.
    If anyone have suggestion/input pls post me asap. Thanks. my email id:[email protected]
    Kalpana

    Oracle does not create process on the client machine but only on the server machine.
    From Oracle Concepts http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm#sthref1471
    >
    Connections and Sessions
    Connection and session are closely related to user process but are very different in meaning.
    A connection is a communication pathway between a user process and an Oracle instance. A communication pathway is established using available interprocess communication mechanisms (on a computer that runs both the user process and Oracle) or network software (when different computers run the database application and Oracle, and communicate through a network).
    A session is a specific connection of a user to an Oracle instance through a user process. For example, when a user starts SQL*Plus, the user must provide a valid user name and password, and then a session is established for that user. A session lasts from the time the user connects until the time the user disconnects or exits the database application.
    Multiple sessions can be created and exist concurrently for a single Oracle user using the same user name. For example, a user with the user name/password of SCOTT/TIGER can connect to the same Oracle instance several times.
    In configurations without the shared server, Oracle creates a server process on behalf of each user session. However, with the shared server, many user sessions can share a single server process.
    >
    Edited by: P. Forstmann on May 29, 2009 9:25 AM

  • [ID 702911 daemon.error] subagent registration failed

    Hi,
    I am getting the following error messages in the /var/adm/messages:
    dhemapn1 /opt/sog/bin/sogalarmd: [ID 702911 daemon.error] subagent registration failed
    Would anyone please suggest how to handle this issue.
    Thanks in advance
    Regards
    Shahriar

    Hi,
    Suggest to check sub agent registration file in /etc/snmp/conf directory(with .reg exetention). Please verify if you have mentioned any port number in it. Check same not being used by any other agent or application. Also check "command" veriable in master agent resource file to invokes subagent. Most likely I feel it may be port clash issue.
    You may also confirm that port you are using is not listed for some other application in /etc/services file.
    Thanks,
    Santosh

  • Get all values from request.getParameter

    In ASP, I can do something like that...
    For each item in Request.Form
    Response.write "Name is:" & item & " value is:" & Request(item)
    Next
    How about in JSP? How do i get the names and values of the form using a loop?

    You can use request.getParameterNames() which will return an enumeration, then you can iterate through the enumeration and use request.getParameterValue(String paramName) method to get the values.

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Apple Mini-DVI to Video Adapter - Can't get it to work!

    Bought the Apple Mini-DVI to Video Adapter to hook up my Macbook to my TV. I tried it when it first arrived and it worked within minutes of setting up. Great! I go to set it up and use it again a week later, and it wouldn't work at all. I went through every possible setting I could to try and get it to work, nothing. Do these things have a tendency to go out or short out or something? I'm getting nothing but scrambled screens, grey screens, etc. Nothing seems to work.
    http://store.apple.com/us/product/M9319G/A?mco=MTY3ODQ5OTY
    Any other solutions for playing my laptop on my TV?

    Hey Rob,
    Is your profile information accurate? The MacBook 2,1 was introduced in November of 2006 and discontinued in May of 2007, so the mini-DVI to video adapter ought to work.
    What, exactly, do you see on your screen? Are all of the connections nice and snug? Do you have another RCA cable you can try? You can use a white or red one if you want; they all will work as long as you're connecting the video adapter to the yellow port on the TV.
    ~Lyssa

  • Clicking on Year view to get Week view in iCal

    In the  Lion version, is there any way I can double click a date and get to the 'week view' rather than the 'day view'?

    CaptainStarwars,
    Try using (⌘+C) and then (⌘+V). That action retains the event in the original, while also placing a duplicate in the new location.
    If you want to remove the event from the original time, use (⌘+X), then (⌘+V) in the new time frame.
    ;~)

  • Is there a way of getting a "schedule view" in iCal on a mac and on iPad in the same way you can get one on iPhone?

    IS there a way to get a schedule view of events on a busy day in iCal on the iPad 2 Air and on the Macbook Pro?  I can get this view on an iPhone.

    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks) or share some of my personal information (scanned copies of my birth certificate, passport, certificates, photos, etc.) on the web.
    If you put your info into the computer and hand it to another, you have to assume they will copy everything.
    Why are you putting scanned copies of valuable identity information into a computer than can be hacked, stolen, lost or compromised by a dirty tech?
    Have you lost your mind?
    Is there a way of finding out what activity has taken place whilst they've had it in their possession?
    No. The tech would just deny it if he did, or tell the truth which the answer would be "NO" in either case.
    The employer won't ask that sort of questions without solid proof, less they make a enemy of the employee and/or risk being sued for defamation of character.
    It's not like they bother to have a team of people watching over his shoulder that he doesn't stick a USB thumb drive of your data into his pocket to take home.
    I am paranoid that some untrusted technician is going to make a copy of my music (11,000 tracks)
    If it's iTunes music, it has your personal ID embedded into the song files. Most IT techs know this though.
    I appreciate any advice you guys can offer.
    Too late now, all you can do is not worry about it.
    Take your personal info out of the machine and if you need it, burn cd/dvd copies, a few USB thumb drives, Iron Keys or self encrypting external storage drives with key and/or keypad.

  • How can i get music to another account?

    I had another account with apple with was [email protected] but i had to give that one to my boyfriend cause i gave him my old my ipad and he didnt have a email account so i let him use that one which i had bought so ablums on that account and i had to have dell restart my whole comp just a few days ago and now i cant get the ablums i bought on the other account onto my new account with my iphone what can i do to get that fixed?

    Content acquired with an Apple ID is permanently tied to that Apple ID.  There is no way to transfer media from one Apple ID to another.
    For what silly reason would anyone give away their Apple ID?  Just because the bf did not have one is no reason to give him your Apple ID.  Make him create his own.  Email addresses from Hotmail, Yahoo, Gmail and many others are free.

  • Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    Can I put more than one user under one Apple ID account. I want to let other family members use imessage on their own Apple device. Or is there another way to get this end result?

    You can seach the net for solutions like this one http://appletvvpn.com/how-to-connect-apple-tv-2-to-vpn/ another idea is to use a PC as the control and fit that with a wireless card and set up a ad hoc wireless network that the Apple TV uses. 

  • How can you get your data back on i tunes

    Hi i am Justin,
    I have i phone and i have i tunes here is my problom. last night i formatted my HP windows 7 computer and i backed up my pictures and backed up i tunes witch i thoght i did becasue i backed it up on my external 500 MB hard drive and with out making a folder and c oping i tunes i only backed up library and before the format i went to edit, preferences and adavaned in i tunes (sorry about the bad spelling) becasue apples's step by step i read and saw the pictures were to go and i thought i can back up i tunes that way. My phone has 333 songs all my pictures apps and contacts and there is no way to re copy from the phone back in to i tunes i do not use i cloud becasue (one i do not want to pay for more space) and 2 the free version tells me i do not have enough space to back it up so i am worried one sync i will lose all my info. these songs are from cd's i have and off the Internet before the courts stopped Napster and Lime Wire. Sos what should i do just unstalli tunes and leave my computer as a re charging stastion? or is there any secret way to get all my things back then this time i can make a folder and do it right in case the next time i have to re format my drive from a problems or need to what is the best case here?
    Justin

    Sync is only oneway, from PC to your device. Unless you have the music on your PC, iTunes is going to wipe out what you have on your device if you are syncing to a new library.
    You can only transfer Purchased music over to Itunes on your PC.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/HT1848
    As for you own music, you may have to use a third party software. A good Free one is called Sharepod which you can download from Download.com here:
    http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2

  • When i send a PDF via e-print, it gets cropped, is there a way to prevent this from happening?

    PDF's are printing fine when i print direct to the printer but when they are sent by e-mail they get cropped, is there a way to get the document to fit to page when sent as an email attachment?
    The Printer in question is a HP LaserJet Enterprise 500 color M551n, the printer is brand new installed last week so i don't know if this is the norm or not.
    Edit: Please can someone please explain how to correct this.

    If you're using a desktop or notebook PC to send the email you could try installing the HP ePrint Mobile Driver software on your machine, the link to the download is here. This will allow you to print the PDF to any ePrint capable printer without having to email it to the printers email address as an attachment.
    Once installed and with your PDF open on your machine, select Print from the File menu, then select "ePrint" from the list of available printers (don't select the actual printer itself) and click Print in the bottom right corner of the box. A dialogue box will open showing the avaialble ePrint printers you can print to. Click on the Connected button on the left of the screen to add your printer to the list if its not listed.  
    Hope this helps.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

Maybe you are looking for