DX NetOps

 View Only
  • 1.  OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Jan 14, 2017 04:10 PM

    Hi all, I'am  traying add a column in the Alarm tab from the CA SystemEDGE agent attribute, this attribute is logMonitorDescription with oid 1.3.6.1.4.1.546.11.1.1.10. 

     

    Note: All alarms depending on the index have a different description.

     

    In the tab Attributes in CA Spectrum I see this attribute is a table with some values or index.

     

     CA Spectrum logMonitorDescr

     

    With this code shows the following:

     

    <?xml version="1.0" encoding="utf-8"?>

    <table idref="alarm-table-config"

    xmlns="http://www.aprisma.com"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://www.aprisma.com

    ../../common/schema/table-config.xsd">

     

    <column-list>

    <column>

    <name>Monitor Description</name>

    <content>

    <attribute>0x11611a1</attribute>

    </content>

    </column>

    </column-list>

    </table>

     

     CA Spectrum logMonitorDescr Alarm

     

    But when I insert the following code does not show the description.

     

    <?xml version="1.0" encoding="utf-8"?>

    <table idref="alarm-table-config"

    xmlns="http://www.aprisma.com"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://www.aprisma.com

    ../../common/schema/table-config.xsd">

     

    <column-list>

    <column>

    <name>Monitor Description</name>

    <content>

    <attribute>0x11611a1</attribute>

    <renderer>

    com.aprisma.spectrum.app.util.render.ListInstanceRenderer

    <param name="oid">1.3.6.1.4.1.546.11.1.1.10</param>

    </renderer>

    </content>

    </column>

    </column-list>

    </table>

     

     CA Spectrum logMonitorDescr Alarm clear@

     

    Could you help me please?



  • 2.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Jan 19, 2017 01:50 PM

    When using the "OID" param tag, you need to specify the instance in the table you wish to display. Looking at the table, the instances start at 500. So if you wanted to display instance "500" it would look something like the following:

     

    <column-list>

    <column>

    <name>Monitor Description</name>

    <content>

    <attribute>0x11611a1</attribute>

    <renderer>

    com.aprisma.spectrum.app.util.render.ListInstanceRenderer

    <param name="oid">500</param>

    </renderer>

    </content>

    </column>

    </column-list>

    </table>

     

    Unfortunately, the issue you are going to run into is specifying which instance to display.

     

    The value of "Monitor Description" is passed to the event via a trap variable. To my knowledge, this trap does not pass the instance as a trap variable.

     

    I do not see how, from the information we receive from the trap, we would be able to extract the instance to display.



  • 3.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Jan 19, 2017 08:32 PM

    Hi Joseph thanks for your help.

     

    Yes I tried using the following code and works good but is not the solution:

     

    <renderer>

    com.aprisma.spectrum.app.util.render.ListInstanceRenderer

    <param name="oid">500</param>

    </renderer>

     

    I see in the manual CA Spectrum - 10.1 and 10.1.1_ENU_20160412 page 3087 the following topic 

     

     

    I create another attribute for the logMonitorDescription, is 0xfff00068

     

     

    Using the following code I can see the same result as in the document.

     

    <column-list>
    <column>
    <name>Monitor Description</name>
    <content>
    <attribute>0xfff00068</attribute>

    <renderer>
    <param name="attrID">0xfff00068</param>
    <!--<param name="refID">????????</param>--> I do not know this parameter.
    com.aprisma.spectrum.app.util.render.ObjectIDValueListRenderer
    </renderer>
    </content>
    </column>

     

    The result is de following.

     

     

     

    Is possible use the refID parameter in this case and how can I identify it?

     

    Thank you.



  • 4.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Jan 20, 2017 08:21 AM

    The refID is an attribute that contains the instance value in the table. However, the issue is, you have to have some way of populating the refID attribute with the instance value you are looking for. The problem is, how do you populate the refID attribute with the correct instance number?

     

    As far as I know, there is nothing in the trap indicating the instance number in the table for the correct value for the Monitor Description.



  • 5.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Jan 21, 2017 01:57 PM

    Hi Joseph 

     

    Ok, I tried. 

     

    Do you have any other idea to extract this data?

     

    Thanks you.



  • 6.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Jan 23, 2017 07:26 AM

    Without being able to identify the instance, there is nothing that I know of that can be done to do what you want to do.



  • 7.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Jan 23, 2017 11:50 AM

    Ok Joseph 

     

    Thank you very much.

     

    Regards



  • 8.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Apr 05, 2017 03:18 PM

    Hello again, Joseph

     

    I have noticed that there are another way to see the "Monitor Description" field in the Alarms tab through the events. In the description of the event  exist Monitor Description field, is shown as in the following image:

     

     

     

    I have seen the following link https://www.ca.com/us/services-support/ca-support/ca-support-online/knowledge-base-articles.TEC1182914.html  where it shows me how to add the Event column to the Alarms tab. I have been able to present the information as these examples:

     

    Another way to view information.

     

    NOTE: I change the order of the event variables.

     

     

    My question is

    Is it possible to create an new event that only shows me the field "Monitor Description" and add it to a column of the corresponding alert?

     

    I have tried to create another event only with the variable Monitor Description: {S 105} but it does not show me the event in OC

     

    Tanks you very much.



  • 9.  Re: OneClick Customization: Add a column with the value of the logMonitorDescr attribute

    Posted Feb 12, 2018 10:45 AM
    Good day ackjo04
    There are two network devices that are listed with the OID 1.3.6.1.2.1.47.1.1.1.1.9 (entPhysicalFirmwareRev) and Map (0xfff0018d AtrributeID)
    At the moment of reviewing the mapped values, they appear as follows:
    SW2:
    1.3.6.1.2.1.47.1.1.1.1.9.1       =       12.1(22)EA14
    <content>
       <hidden-by-default>true</hidden-by-default>
         <attribute>0xfff0018d</attribute>
            <renderer>
               com.aprisma.spectrum.app.util.render.ListInstanceRenderer
               <param name="oid">1</param>
            </renderer>
    </content>

     

     

    SW1
    1.3.6.1.2.1.47.1.1.1.1.9.1001       =         12.2(55)SE5

    <content>
       <hidden-by-default>true</hidden-by-default>
          <attribute>0xfff0018d</attribute>
            <renderer>
               com.aprisma.spectrum.app.util.render.ListInstanceRenderer
               <param name="oid">1001</param>
            </renderer>
    </content>

    How can a conditional or something that associates both devices, ie the parameter "1" and the parameter "1001" at the same time?
    I will be attentive to your answer
    Greetings.