Applications Manager is not fetching Memory Utilization and Disk Utilization data in Telnet or SSH mode for servers (Windows, Linux, AIX, HP-UX, FreeBSD).

Applications Manager is not fetching Memory Utilization and Disk Utilization data in Telnet or SSH mode for servers (Windows, Linux, AIX, HP-UX, FreeBSD).

The data for Memory and Disk utilization may not be shown due to the problem in executing and obtaining the output of the commands on the server. For different modes of monitoring (WMI/Telnet/SSH/SNMP) 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 memory.vbs file present in <Applications Manager Home>/working/conf/applications/scripts/ directory from command prompt as follows:

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

For Local servers,
      cscript memory.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

In the Telnet and SSH mode, Applications Manager will execute the following commands:

LINUX

Memory Utilization: free –b

Disk Utilization: /bin/df –Pm

AIX

Memory Utilization: 

  1. Ensure that you are able to get the output for the command sudo svmon -G.
  2. If you're able to get the output, change the command for Memory Utilization of AIX to sudo svmon -G in the HostResource.xml file under <Applications Manager Home>/working/conf/application directory and restart Applications Manager.
  3. If not, enable sudo in the server that you're monitoring.
  4. For further details about sudo, refer here.

Disk Utilization: /usr/bin/df –k

HP-UX

Disk Data: /usr/bin/bdf

FreeBSD

Memory Utilization: export UNIX95;top -d 1 -n 2

Disk Utilization: /bin/df

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

SNMP mode of monitoring

Execute the script snmpwalk.bat / .sh under <Applications Manager Home>/bin/troubleshooting folder. Check whether you are able to get the output for the command.


Send the output you get, to appmanager-support@manageengine.com.