AnsweredAssumed Answered

diskStats.pl script for redhat server

Question asked by vivek_98 on Aug 23, 2018
Latest reply on Aug 23, 2018 by Hiko_Davis

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

 

Outcomes