'No data available' issue for Disk I/O Statistics and Inode Usage metrics in Windows, AIX and Linux server monitors

'No data available' issue for Disk I/O Statistics and Inode Usage metrics in Windows, AIX and Linux server monitors

The data for Disk I/O Statistics and Inode Usage metrics may not be shown due to problems in executing and obtaining the output of the commands on the server. For different modes of monitoring (WMI/Telnet/SSH) we use different methods to collect data. Below are the steps to check the execution of commands based on the respective modes:

WMI mode of monitoring

Execute the diskio.vbs file present in <Applications Manager Home>/working/conf/applications/scripts/ directory from command prompt as follows:

For Remote servers,
      cscript diskio.vbs <hostname> <username> <password>

For Local servers,
      cscript diskio.vbs <hostname>

where hostname, username, password are the target server's hostname/IP address, username specified for monitoring, and password of that user respectively.

Check whether you are able to get the output for the above commands.

Telnet and SSH mode of monitoring

Execute the below commands in the remote server , that is being monitored and No data available for Disk IO / Inode attributes. 
  1. If the output is "Command not installed ", install the command . 
  2. If the output is "Permission denied" , grant sufficient privileges to the user used in APM for logging into remote system.
  3. If the output is "No such file or directory" , check the command is present in the file path and environment variable includes that file path . If not present install the same
In the Telnet and SSH mode, Applications Manager will execute the following commands for data collection: 

Linux
Disk IO stats : LANG=C iostat -d
Inode usage : /bin/df -Pi

AIX
Disk IO stats : iostat -d
Inode Usage : /usr/sysv/bin/df -i

Sun Solaris
Disk IO stats : LANG=C iostat
Inode usage : /usr/bin/df -F ufs -o i

Possible Scenario 1 -  I get a "No data available" message for Disk I/O Statistics while trying to monitor servers.

Solution:

  1. The connection must be established only through TELNET or SSH mode. 
  2. Check whether the commands iostat -d or iostat -x for Disk I/O Statistics and lsps -a for Page Space exist in the system.

 

Possible Scenario 2 - Issue when collecting "Disk I/O Statistics" for Linux servers (it works on some hosts, I get no values on others or values don't change at all.) Monitoring is done via SSH in all cases, also the "iostat" command is installed & working (as described in the troubleshooting tips). Operating systems are Debian Sarge and Ubuntu 6.06 (partly 64bit).

Solution:

  • Edit the HostResource.xml file located under<Applications Manager Home>\working\conf\application\ directory.
  • Change the command for Linux ( the commands for Linux will be present under the tag heading POLL ID="Linux" ).
  • Under Linux, change Disk IO stat command (present under the tag heading CATEGORY ID="Disk IO Stats") from iostat -d to LANG=C iostat -d.
  • After making the changes, save the file and restart Applications Manager for this to take effect.


Possible Scenario 3 -  I get a "No data available" message for Inode Usage while trying to monitor servers.
Solution:
  1. The connection must be established only through TELNET or SSH mode. 
  2. Check whether the below command runs and displays corresponding output in the system.
    1. For Linux servers  =>   df -i 
    2. For AIX servers   =>   /usr/sysv/bin/df - i 

Check whether you are able to get the output for the above commands.

                  New to ADSelfService Plus?