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>

Similar Messages

  • Difference between the balance in FBL3N and FS10n

    Hi Sapians,
          There is a difference between the balance in FBL3N and FS10n. There are no recent changes made in the GL master data. Also there is a difference between the debit and credit balances of FS10N and table GLT0.
    Please advice.
    Ashwin

    Go through following notes:
    FI-GL-GL-D     970096     FS10N: Drilldown -> differences with active new G/L     
    FI-GL-GL-D     1609283     FS10N: Drill-Down leads to differences with active splitting     
    FI-GL-GL-D     1021174     FS10N: Drilldown -> differences despite Note 970096     
    FI-AR-AR-D     327139     Balance display FI: drilldown perfrmnce for balncs     
    FI-AR-AR-D     716640     Balance display: Drilldown: Total of open items <> balance

  • Differance between the Cost based costing and Account based costing

    Hi,
    What is the Differance between the Cost Based Costing and Account Based Costing ?

    You can check sap note 69384
    COSTING-BASED PROFITABILITY ACCOUNT-BASED PROFITABILITY
    ANALYSIS ANALYSIS
    OBJECTIVE
    o profitability and sales accounting
    o evaluation of market segments (for example,
    customers, product groups, sales areas) and corporate
    units (for example, division, sales organization) with
    regard to their profit or contribution margins
    o calculation of profits procedures
    - cost-of-sales accounting
    - interim and reconciled sales report
    - periodic and transaction-based allocation
    - Profitability Analysis on the basis of full and
    direct costs
    o posted and costing-based values o account-based values
    o can be reconciled with FI for o always reconciled with
    account groups (revenues, sales FI on account level
    deductions, costs of goods
    Note 69384 - Information: Account-based Profitability Analysis
    manufactured, and so on)
    DATA STRUCTURES
    o definition of operating concerns o definition of operating
    with fixed characteristics and concerns with fixed and useruser-
    defined characteristics defined characteristics
    and value fields
    o cumulative storage by posting o cumulative storage by
    periods and weeks posting periods
    o storage in operating concern o controlling area currency,
    currency (as of Release 4.0 also company code currency
    optional in company code currency and transaction currency
    if req.)
    o user-definable summarization levels
    FUNCTIONS
    o transfer of profit relevant o transfer of profit-relevant
    business transactions from SD, FI activities from SD, FI, CO, MM
    CO, MM (revenues, sales deductions (revenues, sales deductions and
    and costs organized by value fields) costs organized by accounts)
    o Derivation of characteristics from master
    data or using derivation rules
    o Realignments also for data that is already
    posted
    o Valuation
    (Costs of goods manufactured, imputed
    costs and sales deductions)
    o sales and profit planning o profit planning
    - flexible layout - flexible layout
    - periodic distribution - periodic distribution
    - valuation, revaluation - forecast procedure
    - forecast procedure - top-down distribution
    - top-down distribution - simulation
    - simulation
    o profit analysis by means of 'interactive drill-down
    reporting'
    - Report Painter
    - object list/ranking lists, database schema
    - drill-down
    - key figure systems
    - flexible hierarchies
    - navigation between reports
    - exception reporting
    - ABC analyses
    - Exporting (Excel, Winword, Mail)

  • Downloding the SAP master data and transaction data to a flat file

    Hello All,
    Is there any SAP standard method or transaction to download the SAP master data and transaction data to flat file.
    With out using ABAP development, SAP had provided any tool or method to download the SAP system master and transaction data to flat file.
    Thanks,
    Feroz.

    hi
    as of now up to my knowledge no.

  • Communication between the DNS/DHCP Manager and OES Server

    No communication between the DNS/DHCP Manager Console and OES server (status,start,stop)
    The screenshot shows the tab "DHCP (OES Linux)" in the DNS / DHCP Manager console
    in the bottom of the image it shows the state of the DHCP servers.
    allDHCP.JPG
    The dhcp service is started on all these servers
    You can see that the status is known only for four servers.
    The button "start/stop DHCP service" works fine on this servers and
    the dhcp service can be canceled and also restarted
    But the status of the "dhcp service" is not recognized for all the other DHCP servers
    and so we can not start or stop dhcp service on these servers.
    All servers were installed at different times (last three years) with OES11 and
    are upgraded to OES11SP2 with all patches.
    The server keto (DHCP_keto) is a new installation OES11SP2 few days ago.
    All OES servers were set up identically from me. LDAP, LUM, DMS, DHCP works fine.
    Which service on the OES server is responsible for
    communication (status indicator) between the DNS/DHCP Manager and the OES serve?
    How the status query is performed by the DNS/DHCP Manager?
    How can I test the communication to the server on the client (console)?
    Which configurationfiles I should be compare on the server?
    Thanks in advance
    Gernot

    gernot,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • Difference between the two modes ws_policy and sap_wsdl

    Dear All,
    what is the difference between the two modes ws_policy and sap_wsdl and how do we set them and where do we set them.
    do let me know the steps to be followed.
    Thanks & Regards
    Venugopal

    Venu,
    Please check this document from Bill where he has explained clearly:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?overridelayout=true
    Regards,
    ---Satish

  • Differences between the Horizon 2, A740 and A730?

    Hey guys, I was thinking of buying a Dell 27 inch pc when I found some Lenovo Ideacenter pcs on youtube. They look much sleeker, and I want to get one in June or July.
    Think is, I don't know which one to settle on. I know I want a all in one 1440p tv with a powerful processor to do a lot of movie viewing, and amatuer music making and video editing on FL Studio, Adobe Audition, and Sony Vegas. 
    So right now I'm thinking between the recently announced A740 and Horizon 2 (and the old A730 if push comes to shove). I don't know what the major differences between them spec and feature wise are. Like which would be better to have a bunch of programs open, snappier to use, boots quickly, etc.

    A740 is the latest version of A7x0 series machine, it is the replacement for A730. Horizon series has a built in battery for portability. These are the major differences.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Differences between the FMs of SAVE_TEXT and CREATE_TEXT.

    Hi Experts,
    Let me know that, the differences between the FMs of SAVE_TEXT and CREATE_TEXT.
    Like, Wht Wht scenarioes demand each FM?
    Which is best one, if both perform same functionality.
    replies appreciated.
    thanq

    CREATE_TEXT is used to create a new Text. It uses the SAVE_TEXT inside it.
    SAVE_TEXT is used to update the existing text.
    Regards,
    Naimesh Patel

  • Differences between the Portal Data Collector and the Activity Data Collect

    Hello,
    I want to know what are the differences between the Portal Data Collector and the Activity Data Collector?
    Best Regards.
    Pablo Mortera.

    All of my SQL Server instances  are sql server 2008r2 standard edition(10.50.2500). MDW is existing database, I try to setup collection sets for multiple instances and store data in one central MDW database 
    I create MDW in one instance, then run run configure Management Data Warehouse in target intance. collection sets were created successfully, but job failed with following error:
    Executed as user: COCAD\INTDEPT01SQLAgentC10. The Management Data Warehouse version "00.00.0000.00" is not supported by the current data collector. Please upgrade the Management Data Warehouse by running the Management Data Warehouse Configuration
    Wizard.  Process Exit Code 5.  The step failed.
    Thanks
    PAULqaz

  • Differences Between The Asus P67 EVO And Pro?

    Anyone know of the differences between the Asus P67 EVO and the Pro?
    I want to buy an Asus P67 Pro Motherboard today, but there are only 2 left at Fry's and they are both open-box returns and the other Fry's has only 6 left and ALL are open-box returns.  So I'm thinking there may be an issue with the Pro's?
    Is the EVO just as good?
    On the Asus site specs, it seems the only differences are:
    (and I'm not sure what any of the following means)
    -On the Pro, the PCIe x16-3 slot shares bandwidth with the ESATA12
    -On the EVO, the PCIe x16-3 slot shares bandwidth with the ESATA3G and the PESATA3G
    -The EVO has dual LAN's
    -The EVO has a CMOS Switch
    -The Pro has the "System Panel" Q-Connector
    Adobe seems to be heading towards allowing 2 video cards.
    Would the EVO limit me if this happens?
    I notice there's only one EVO on the PPBM5 site in the upper realms (Novak). 
    There seems to be more Pro's.
    I don't plan on doing huge overclocking, maybe minor.
    Components to be used:
    -i7 2600K
    -Corsair Vengeance 16GB
    -Corsair AX 850 Watt Gold
    -EVGA GTX 460 1GB Superclocked
    -OCZ Agility 3 SSD 120GB
    -Seagate Barracuda 3GB Storage
    -Seagate Barracuda 1GB for Exports, Page File, Previews, Media Cache
    -Seagate Barracuda 3GB Storage in  Acomdata Samba External Enclosure for Backup
    -WD My Book 3GB External for Another Backup
    Any help would be appreciated.
    Thanks Guys.

    addiZ wrote:
    I'm going to use my MacBook mainly for gaming and editing videos
    Don't get the 13".  It only has an integrated video card.  Both the 15" and 17" models have an integrated as well as a dedicated video card.

  • What is the difference between the 4th generation ipad and the ipad 3 with retnia display?

    What is the difference between the 4th generation iPad and the "New iPad with retina display"? i don't quite understand. are they stilll the same size or would i have to get a different case?

    The 3rd and 4th generation iPads are the same size. The 4 has a faster processor, and a little better iSight camera for FaceTime. The 4 also has the lightning connector so your old cable will not work with the iPad 4.
    You should always check with the manufacturer of the case to see if it will fit. You can probably do that on the manufacturers website.
    This might be of some interest to you.
    http://www.zdnet.com/ipad-4-teardown-pretty-much-the-same-as-the-ipad-3-70000068 33/

  • What is the difference between the normal function module and bapi function

    hi,
    what is the difference between the normal function module and bapi function module.

    Hi
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    Regards
    Anji

  • Between the Blackberry Curve 3G and the Bold 9700

    I am confused between the Blackberry Curve 3G and the Bold 9700. Please guide me with the difference in features,options,performance,display.... which one is advisable...

    The 9700 has 3g
    9700 has a better camera and a flash
    9700 has GPS
    http://na.blackberry.com/devices/compare/
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Pros and cons between the large log buffer and small log buffer?

    pros and cons between the large log buffer and small log buffer?
    Many people suggest that small log buffer (1-3MB) is better because we can avoid the waiting events from users. But I think that we can also have advantage with the bigger on...it's because we can reduce the redo log file I/O...
    What is the optimal size of the log buffer? should I consider OLTP vs DSS as well?

    Hi,
    It's interesting to note that some very large shops find that a > 10m log buffer provides better throughput. Also, check-out this new world-record benchmark, with a 60m log_buffer. The TPC notes that they chose it based on the cpu_count:
    log_buffer = 67108864 # 1048576x cpuhttp://www.dba-oracle.com/t_tpc_ibm_oracle_benchmark_terabyte.htm

  • How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated

    Hello,
    How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated and since it updated it reduced the space. Now the space is too thin which makes it more difficult to move the open window frame around when I need to grab something from Desktop. Image attached.

    In the image, see how thin the space is right above the tab? It was much wider before Firefox update so if any know how to make it wider again, please let me know. Thank you
    ''troyable7 [[#question-1058550|said]]''
    <blockquote>
    Hello,
    How to I increase the space between the top of tabs and the frame of the entire window? It was fine until Firefox updated and since it updated it reduced the space. Now the space is too thin which makes it more difficult to move the open window frame around when I need to grab something from Desktop. Image attached.
    </blockquote>
    In the image, see how thin the space is right above the tab? It was much wider before Firefox update so if any know how to make it wider again, please let me know. Thank you

Maybe you are looking for