DX NetOps Manager

Expand all | Collapse all

Debug DC collect using mvelInfo

  • 1.  Debug DC collect using mvelInfo

    Posted 03-04-2016 08:02 AM

    I'm trying to debug DC collecting using mvelInfo function. I don't seem to get it working, as the validation of the expression kicks out my expression.

     

    Anyone has a working example?

     

    Thanks!



  • 2.  Re: Debug DC collect using mvelInfo

    Posted 07-19-2016 02:00 PM

    Hello Catalin,

     

    Did you ever get answers for this?

     

    Do I understand the question correctly? You're trying to use mvelInfo to review DC Debug log messages of some kind?

     

    Thanks,

    Mike



  • 3.  Re: Debug DC collect using mvelInfo

    Posted 07-20-2016 05:25 AM

    I was able to get my expression working, without having to debug it further. I still haven't found a working example for debug, so I guess the question still remains.



  • 4.  Re: Debug DC collect using mvelInfo

    Posted 07-21-2016 02:40 PM

    Can you pass along an example or two of what you've tried, and what, if any errors were seen attempting this?



  • 5.  Re: Debug DC collect using mvelInfo

    Posted 07-26-2016 03:29 PM

    CatalinF   when you have a free moment, can you get back to us on this?  thanks!



  • 6.  Re: Debug DC collect using mvelInfo

    Posted 08-29-2016 08:40 AM

    Hello CatalinF

     

    Were you getting a message such as "Failed to evaluate expression"?

     

    If so, if you need to use this again and have not tried so already, try using curly braces vs square brackets as in the following example:

     

    mvelInfo({"cbQosInterfaceName=",cbQosInterfaceName," cbQosCMName=",cbQosCMName," cbQosPolicyName=",cbQosPolicyName})



  • 7.  Re: Debug DC collect using mvelInfo

    Posted 07-24-2017 06:53 AM

    Hi

    I have exactly this same problem. mveldebug does not show u values as in manual but just prints out the statement. What is wrong with it?



  • 8.  Re: Debug DC collect using mvelInfo

    Posted 07-24-2017 09:17 AM

    Hello @Hub_KL,

     

    The documentation has been corrected:

     

    Functions and Global Variables - CA Performance Management - 3.1 - CA Technologies Documentation 

     

    Can you provide:

     

       1) The version of CA PM you are using

       2) An example of what you are using that is not working?

     

    Best Regards



  • 9.  Re: Debug DC collect using mvelInfo

    Posted 07-24-2017 10:52 AM

    Im using mvelInfo mvelDebug to look on the variables but I get nothing in karaf.log

    mvelInfo(["value=", value,"ip=",ip])

    I tryed version with [] and {}  as it changes depends which doc u are reading.

     

    I'm using CAPM 3.1



  • 10.  Re: Debug DC collect using mvelInfo

    Posted 07-25-2017 10:29 AM

    If there is an error in the expression this currently results in no output in the log in currently released versions.

     

    You can enable additional logging per the following documentation:

     

    https://docops.ca.com/ca-performance-management/3-1/en/troubleshooting/vendor-certification-expression-is-erroneous 



  • 11.  Re: Debug DC collect using mvelInfo

    Posted 07-24-2017 10:51 AM

    Im using mvelInfo mvelDebug to look on the variables but I get nothing in karaf.log

    mvelInfo(["value=", value,"ip=",ip])

    I tryed version with [] and {}  as it changes depends which doc u are reading.



  • 12.  Re: Debug DC collect using mvelInfo

    Posted 07-25-2017 01:49 AM

    I was using

    list=[0,1]; list[0]="IfXTableMib filter snmpget "; list[1]=response.error; mvelInfo(list);

    and it still works in 3.1



  • 13.  Re: Debug DC collect using mvelInfo

    Posted 07-25-2017 03:42 AM

    Which log you are checking? /installdir/apachekaraf/data/log/karaf.log?

    Dou have any none standard loggin options enabled?

    "For I Have Tasted The Fruit"



  • 14.  Re: Debug DC collect using mvelInfo

    Posted 07-25-2017 03:48 AM

    yes, on the DC. 

    For example:

    2017-07-07 08:37:54,892 | INFO  | Response Pool.0  | MvelInfo                         | com.ca.im.dm.certs.snmp.MvelInfo   42 | 185 - com.ca.im.data-mgmt.common - 3.1.0.RELEASE-207 |  | MVEL info: IfXTableMib filter snmpget SNMP_FAILURE