DX Application Performance Management

Expand all | Collapse all

Win32::PerfLib Error

Jump to Best Answer
  • 1.  Win32::PerfLib Error

    Posted 01-25-2019 02:34 AM
      |   view attached

    hello ,

     

    I am trying to use the processavailability.script to monitor, but i am getting the below error message.

     

    Error:

     


    [ERROR] [EPAgent.EPAgent MATCHEDPROCS] [ stderr ] BEGIN failed--compilation aborted at C:/epagent/epaplugins/windows/processA
    vailability.pl line 38.

     

    Can you please give me some idea on this?

    PFA for the logs of Agent

     

    Thanks,

    Attachment(s)



  • 2.  Re: Win32::PerfLib Error

    Posted 01-25-2019 08:56 AM

    You seem to be failing on this line 

     

    my $SUBRESOURCE = ''; # this is provided as the reg exp to search for or


    Hiko_Davis



  • 3.  Re: Win32::PerfLib Error
    Best Answer

    Posted 01-25-2019 09:33 AM

    A Google search of this site will show you that the module, Win32::PerfLib is not distributed with Perl by default.

    You must install it from CPAN or whatever repository is available from your distro.