DX Application Performance Management

Expand all | Collapse all

diskStats.pl script for redhat server

Jump to Best Answer
  • 1.  diskStats.pl script for redhat server

    Posted 08-23-2018 03:10 AM

    Hi All,

     

    I am using Epagent 10.7 version. I got a default script with diskStats.pl. But while I am running this script I am getting below error.

     

    perl diskStats.pl

    Usage: iostat [ options ] [ [ ] ]

    Options are:

    [ -c ] [ -d ] [ -N ] [ -n ] [ -h ] [ -k | -m ] [ -t ] [ -V ] [ -x ] [ -y ] [ -z ]

    [ -j { ID | LABEL | PATH | UUID | ... } [ [...] | ALL ] ] [ [...] | ALL ]

    [ -p [ [,...] | ALL ] ]

     

    While running the script through introscope properties file , we are getting below error.

     

    8/21/18 07:28:30 PM BST [INFO] [EPAgent.EPAgent DISK] Starting plugin 'DISK'.
    8/21/18 07:28:30 PM BST [ERROR] [EPAgent.EPAgent DISK] [ stderr ] Usage: iostat [ options ] [ [ ] ]
    8/21/18 07:28:30 PM BST [ERROR] [EPAgent.EPAgent DISK] [ stderr ] Options are:
    8/21/18 07:28:30 PM BST [ERROR] [EPAgent.EPAgent DISK] [ stderr ] [ -c ] [ -d ] [ -N ] [ -n ] [ -h ] [ -k | -m ] [ -t ] [ -V ] [ -x ] [ -y ] [ -z ]
    8/21/18 07:28:30 PM BST [ERROR] [EPAgent.EPAgent DISK] [ stderr ] [ -j { ID | LABEL | PATH | UUID | ... } [ [...] | ALL ] ]
    8/21/18 07:28:30 PM BST [ERROR] [EPAgent.EPAgent DISK] [ stderr ] [ [...] | ALL ] [ -p [ [,...] | ALL ] ]

     

    Can someone let me know if we can use this script on redhat server.

     

     

    Regards,

    Vivek Thakur

     



  • 2.  Re: diskStats.pl script for redhat server
    Best Answer

    Broadcom Employee
    Posted 08-23-2018 04:07 AM

    Hi Vivek,

    Could it be the OS version in use?

    As far as I know this plugin is supported in Win and Sol

    Standalone EPAgent Default Plug-in Metrics - CA Application Performance Management - 10.7 - CA Technologies Documentatio… 

     

    From https://github.com/CA-APM/  I see there are modified version of this script available for other OS

    Hopefully one of them will help you,

     

    ca-apm-fieldpack-epa-rhel
    ca-apm-fieldpack-epa-linux
    ca-apm-fieldpack-epa-aix
    ca-apm-fieldpack-windows-wmi

     

    Regards,

    Sergio



  • 3.  Re: diskStats.pl script for redhat server

    Posted 08-23-2018 05:32 AM

    Hello Sergio,

     

    Thanks  !!! . Now I am able to monitor disk utilization of the server.

     

    Similarly could you please let me know the where I will get the script to monitor CPU utilization.

     

    Regards,

    Vivek Thakur  



  • 4.  Re: diskStats.pl script for redhat server

    Broadcom Employee
    Posted 08-23-2018 08:20 AM

    My repo has an updated vmstat plugin for RHEL available. This repo is the original set that is forked to CA APM.

     

    https://github.com/htdavis/ca-apm-fieldpack-epa-rhel