ACE monitoring with XML

Hi, can anyone please explain how you can monitor the ACE module with XML. I've read the limited Cisco documentation about the XML interface and read posts about using curl but I don't understand how you combine the two to automatically extract the data. All I want to do at this stage is develop a web page that shows the result of show serverfarm to see what is up/down. Thanks for your help.

I've added an attached presentation that outlines the use of the ACE XML API that may also be of help.
Cheers,
David K.

Similar Messages

  • CCMS Alert Monitor (edit monitor-configuration.xml. ?)

    Hi Friends
    I'm trying to change the default polling time for the CCMS Alert Monitor, 5 minutes instead of 30 minutes.
    In http://help.sap.com/saphelp_nwpi71/helpdata/en/e5/5d1741b393f26fe10000000a1550b0/content.htm you can read:
    Accuracy
    The default polling period for the monitor is 30 minutes. If you want to have shorter polling periods, you can change them in the SAP NetWeaver Administrator as follows:
    1. Choose Availability and Performance Management ® Resource Monitoring ® Java System Reports (alias: /nwa/java-sys-reports).
    2. Select an arbitrary Number of errors entry in the monitoring tree of the Adapter Engine (leaf node).
    3. Choose Configuration in the right-hand pane.
    4. Choose Edit in the dialog box that appears.
    5. Change the polling period to 5 minutes, for instance.
    6. Choose Save and wait until saving is finished (be patient, since this may take a while).
    7. Choose Configuration Management ® Infrastructure Management ® Java Configuration Browser.
    8. Choose apps ® sap.com ® com.sap.aii.af.app ® Monitoring Configurator ® monitor-configuration.xml.
    9. In the xml file, change the polled-by-template period to the same value as above, for example, 5 minutes.
    10. Save the modified xml file.
    11. Choose Operations Management ® Infrastructure Management ® Start & Stop ® Java EE Services to restart the Monitoring service to apply the changes.
    But in step 9, the xml file I've found in my PI 7.1 (SP6) is this:
    <monitor-configuration>
    <monitor-semantics />
    <monitor-tree />
    </monitor-configuration>
    Also, there is no way to modify that file, you can only display it or download it.
    can anyone tell me how to edit the file.
    regards
    raja

    Hi Raja,
    This is the same as doing the following:
    You can locate the monitor-configuration.xml file in the SDA com.sap.aii.af.app.sda (inside META-INF folder). You can find this SDA in the install directory of PI installation. In this XML file please locate and edit the following tag:
    <template-info template-name="SAP_XIJ2EE_RCRDS">
                            <polled-by-template period="30" unit="MINUTE">
                                <generating-resource
                                    name="com.sap.aii.utilxi.rtcheck.mx.standard.XIJ2EEComponentMBean" type="APPLICATION"/>
                                <template-attribute-mapping>
                                    <invoked-resource-method name="getMonitoringRecords"/>
                                </template-attribute-mapping>
                            </polled-by-template>
                        </template-info>
    Change the above to the following *************
    <template-info template-name="SAP_XIJ2EE_RCRDS">
                            <polled-by-template period="5" unit="MINUTE">
                                <generating-resource
                                    name="com.sap.aii.utilxi.rtcheck.mx.standard.XIJ2EEComponentMBean" type="APPLICATION"/>
                                <template-attribute-mapping>
                                    <invoked-resource-method name="getMonitoringRecords"/>
                                </template-attribute-mapping>
                            </polled-by-template>
                        </template-info>
    The main change is the polled-by-template value from 30 mins to 5 mins as per your req ******
    Construct back the SDA (you can search SDN for that) with this edited XML and then redeploy this SDA with the help of JSPM tool.
    This will re-start the PI Server for the changes to come into effect.
    I hope this helps.
    PS: You can consult your BASIS consultant to locate this sda and re-deploy it on PI Server.
    Regards, Gaurav.

  • ACE monitoring and troubleshooting

    HI,
    i am new to the ace and i am asking for some good websites or learning material with
    -ace monitoring, troubleshooting, concepts
    -how to create vips, server farms, real servers
    we also need to be able to track sessions coming from the outside and see if they make it through or break somewhere along the way, is there a debug or logging feature that can help get this info

    I am looking for onlite material, videos, training and white papers for troubleshooting, monitoring and maintaining the ace appliance.  for example, how do I track a session to ensure it's not broken and making it all the way to the real server, etc.

  • Error: Resource cannnot rendered with XML Resource Renderer?

    Hi, KMC fellows,
    When I tried to display/edit news with NewsExplorer, it throw me this error from times to times:
    "Resource cannnot rendered with XML Resource Renderer"
    But I am using the default NewsExplorer without making any custom change, how do I solve this problem?
    Thanks for any constructive inputs.
    Kent

    Hi Kent,
    > But when the server restart, it become fine for while,
    > then it will repeats from times to times.
    If you can reproduce it (I know, really "reproducing" is probably not possible) - so if this behaviour occurs while you know / can see from monitoring that no KMC restart has happened - please open an OSS message!
    Best regards
    Detlev

  • How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    How do i run an external monitor with my macbook and change settings so that when i close the lid the signal to the monitor is not lost and i can continue using the mac with a mouse and a wireless keyboard?

    No, nothing will prevent the computer from going to sleep when you close its display except third-party hacks that are designed to do exactly that. I strongly advise against using any of those, as they may interfere with successful entry into clamshell mode (and they carry other downside risks as well). Just wait until the computer is asleep (with its sleep light pulsing), then press any key on the keyboard. It sounds as though your setup is working as it's designed to do.

  • How do I use two external monitors with my laptop?

    I have a new Pavilion dm4-301 d cl Entertainment PC.   My OS is Windows 7.   I am used to using two external monitors with a docking station.   This new laptop does not have a docking station.  What do I need to get  to use two external monitors? 
    This question was solved.
    View Solution.

    Certainly not without a dock but even with, HP laptop docks pretty well limit you to one of the external monitor ports, even if there are two on the dock. We have used a device called an Atlona AT-HDPIX2 which is a usb to hdmi adapter. It provides a third monitor capability for a laptop....use the native external monitor port and the internal laptop display and then this device gives a third monitor which is full configurable from the Windows 7 display interface...clone, extend, etc. It allows full HD resolution and is responsive enough for even light gaming.  HP makes no true docking station for your laptop. 

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • Problem with XML on Linux

    hi everybody,
    I've a big problem with XML on Linux, in details I see my program stopping on Linux at the instruction
    XMLReader xr = XMLReaderFactory.createXMLReader("org.apache.crimson.parser.XMLReaderImpl");
    and it's strange because on Windows it runs and there aren't problems about permissions on files, does anyone knows what to do?
    thanks in advance!
    Stefano

    What happens on that line? I'm assuming you get some kind of error or exception.
    Make sure the JAR file for Crimson is in your classpath.

  • Problem with XML in APEX ORA-06502

    i, I have a problem with XML generation, I developed an application in APEX, and in a html page I have this process:
    declare
    l_XML varchar2(32767);
    begin
    select xmlElement
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("razonSocial", J.RAZON_SOCIAL),
    xmlElement("idRepre", J.ID_REPRE),
    xmlElement("rucContador", J.RUC_CONTADOR),
    xmlElement("anio", J.ANIO),
    xmlElement("mes", J.MES),
    xmlElement
    "compras",
    select xmlAgg
    xmlElement
    "detalleCompra",
    --xmlAttributes(K.ID_COMPRA as "COMPRA"),
    xmlForest
    K.COD_SUSTENTO as "codSustento",
    K.TPLD_PROV as "tpldProv",
    K.ID_PROV as "idProv",
    K.TIPO_COMPROBANTE as "tipoComprobante",
    to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') as "fechaRegistro",
    K.ESTABLECIMIENTO as "establecimiento",
    K.PUNTO_EMISION as "puntoEmision",
    K.SECUENCIAL as "secuencial",
    to_char(K.FECHA_EMISION, 'DD/MM/YYYY') as "fechaEmision",
    K.AUTORIZACION as "autorizacion",
    to_char(K.BASE_NO_GRA_IVA, 9999999999.99) as "baseNoGraIva",
    to_char(K.BASE_IMPONIBLE, 9999999999.99) as "baseImponible",
    to_char(K.BASE_IMP_GRAV, 9999999999.99) as "baseImpGrav",
    to_char(K.MONTO_ICE, 9999999999.99) as "montoIce",
    to_char(K.MONTO_IVA, 9999999999.99) as "montoIva",
    to_char(K.VALOR_RET_BIENES, 9999999999.99) as "valorRetBienes",
    to_char(K.VALOR_RET_SERVICIOS, 9999999999.99) as "valorRetServicios",
    to_char(K.VALOR_RET_SERV_100, 9999999999.99) as "valorRetServ100"
    xmlElement
    "air",
    select xmlAgg
    xmlElement
    "detalleAir",
    xmlForest
    P.COD_RET_AIR as "codRetAir",
    to_char(P.BASE_IMP_AIR, 9999999999.99) as "baseImpAir",
    to_char(P.PORCENTAJE_AIR, 999.99) as "porcentajeAir",
    to_char(P.VAL_RET_AIR, 9999999999.99) as "valRetAir"
    from ANEXO_COMPRAS P
    where P.ID_COMPRA = K.ID_COMPRA
    AND P.ID_INFORMANTE_XML = K.ID_INFORMANTE_XML
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    AND K.ID BETWEEN 1 AND 25
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    declare
    l_XML CLOB;
    begin
    --Oculta XML
    sys.htp.init;
    wwv_flow.g_page_text_generated := true;
    wwv_flow.g_unrecoverable_error := true;
    --select XML
    select xmlElement
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+

    JohannaCevallos07 wrote:
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+The likeliest explanation for this is that length of the XML exceeds 32K, which is the maximum size that <tt>htp.p</tt> can output. A CLOB can store much more than this, so it's necessary to buffer the output as shown in +{message:id=4497571}+
    Help us to help you. When you have a problem include as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    And always post code wrapped in <tt>\...\</tt> tags, as described in the FAQ.
    Thanks

  • Using ADC Monitor with the new Mac Mini

    My husband has an Apple monitor with an ADC connection. I would like to purchase the new Mac Mini, but would like to use his current monitor. I know there is an ADC to DVI adapter, but the new Mac Mini uses the Mini Display...could I use yet another adapter? I am trying to save money, but don't want to the display quality to be really poor. Space is not an issue. Any help would be greatly appreciated.

    I have located that, but my concern is the DVI connection to the Mini Display connection on the Mac Mini. My understanding is that they are different.

  • LCD Monitor with B&W G3 Tower

    Hello, I am looking to replace my 17" Apple Studio Display CRT on my G3 B&W Tower with an LCD monitor. My questions are: 1) Will my computer (VGA port) accept any current LCD screens on the market, or do I have to stay with Apple's LCD monitors? 2) There are several Apple Studio LCD Displays offered on eBay. They mention DVI and ADC connections. How do I know which models will work with my B&W G3? Forgot to mention that I have upgraded the processor with a Sonnet G4 500Mhz. Thanks.

    Hi,
    your B&W (like mine) should be equipped with a standard VGA output on your video card, which should accept any monitor with a VGA connection.
    I tried a couple of LCD (a Samsung and a Hewlett Packard) which worked flawlessly and did not give me any problems.
    I am not sure whether you can connect any of the current generation Apple flat screens due to the different interface, but you surely can take advantage of any VGA equipped LCD.
    cheers

  • 3 Monitors with 1 iMac and 2 Cinema Displays conected to Windows Gaming PC Help!

    Hi
    I want to set up a 3 monitor gaming set up with 1 iMac in the middle and 2 cinema displays either side. This would be a tripple monitor set up.
    I am looking to set up a new computer and i want to have 3 monitors. I also want to have an iMac so i want the iMac in the middle and two cinima displays next to each other. i Want to also conect these monitors with a Windows 7 gaming PC.
    I want to hook up my very powerfull windows 7 gaming computer wich has 3 SLI GTX 560 EVGA cards. These cards have a display port output.
    So i want to run 3 monitors from my gaming machine and i also want to have my iMac use the 3 monitors aswell. I also want to take advantage of the full, maximum resolution. I would get the thunderbolt cinema display monitors.
    Gaming comupter has 3 display ports so i need to connect each graphics card to one of the monitors. I then need to conect the two cinema displays to the middle iMac.
    I have not bought anything yet i just need to know if i can do this. Need to know stuff like what adapers to buy and what compatabilties.
    I need to know if this is posible and how i would do it.
    Thanks

    Could i use some of these cables?
    It says they are thunderbolt conpatable.
    http://www.macfixit.com.au/shop/index.php?_a=viewCat&catId=229
    http://www.macfixit.com.au/shop/index.php?_a=viewProd&productId=2444

  • Report with XML as input !

    Hello,
    I am hv been trying to create a simple report with an XML input but by the end of it, it doesnt give any data on the report.
    I tried it with XML + SQL input, it gave me a blank report and when I tried with a pure SQL input it did give data in the report. I enabled the trace option but couldnt get to the core of the problem.
    My XML & XSD file are all valid, they are auto-generated.
    The report doesnt give any error either.
    Any clue what the problem could be ??
    Regards,
    Madhu.

    Post Author: ashdbo
    CA Forum: Data Connectivity and SQL
    I think it can be done by looking at Crystal Report XI.BUTHow can I do this programatically in Java ?  Thanks,Ashok

  • Excel Output problem with XML Publisher Report

    Hi Experts,
    I am working on XML Publisher report with EBS 11i and database 9i. My XML Report output type is EXCEL, i have below issue with the output.
    I have column 'quantity' with xml tag <?QUANTITY?>.
    In the XML file it's showing the value '028' for quantity, but when i open the output in EXCEL, it's showing up '28', removing leading zero. I want to show the data in EXCEL also '028'. Could somebody help me how to print the XML Tag value as it is in EXCEL output.
    Thanks in advance.

    Hi, try using this in your template.
    <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?QUANTITY?></fo:bidi-override>

  • Integration with XML Publisher

    Has anyone found out or used the integration with XML Publisher? I am using the Sourcing product and it can generate report output based on XML Publisher directly from an OAF page. I was wondering how that is done.
    Anyone know?

    I had a similar query - I heard that AR, GL, and AP (11i10) are not compatible with XML Publisher - is this true? I thought was the XML Publisher was independent of modules.
    Pls share any experience with the Publisher tool - challenges, installation, comparison to Optio, etc.
    Thanks, Vishnu

Maybe you are looking for

  • Help please! Need to restore my OSX Midi Network driver!

    Hello friends, this is the first time i write you guys here. But heck, i've solved hundreds of problems just reading these boards for some years now! So yeah, i have been a Touchdaw user for some months and everything went great until a couple days a

  • Maximum matrix size for surface plot?

    Morning, I've streamed data from an experiment to TDMS, and would like to display it in DIAdem. I have M channels of N data points and would like to display them in a surface plot. Usually, I'd expect to do the following: - Build a X axis (Generate N

  • Java.nio.bytebuffer question.

    I have a piece of code that copies data from one byte buffer to another for continuous 20 bytes. However after the loop the destination buffer is still empty. ByteBuffer respBuffer = ByteBuffer.allocate(20, false); respBuffer.order(ByteOrder.LITTLE_E

  • Get rid of parallels menu icons when in coherence mode?

    Hi everyone, When in coherence mode, Parallels inserts 6 icons into the menu bar which can be a little annoying for people who value a simplistic menu bar.  I love Parallels and this is not a 'make or break' factor for using the wonderful invention. 

  • ErrorURL sends status code 302 - needs to be 404

    In configuration.properties we are able to assign errorURL to redirect to a specific relative url. The response code sent to the users browser is 302 (temporary redirect). How can I make this a 404?