Help Center/ Application Operations Management/ FAQs (2.0)/ Collection Management/ Why Can't I View the ICAgent Status After It Is Installed?
Updated on 2024-04-11 GMT+08:00

Why Can't I View the ICAgent Status After It Is Installed?

Symptom

After the ICAgent is installed, its status cannot be viewed on the console.

Possible Cause

The virtual NIC is used on the user side. To obtain the ICAgent status, modify the script according to the following procedure.

Solution

  1. Log in to a host where the ICAgent has been installed as the root user.
  2. Check the host IP address in use, as shown in Figure 1:

    netstat -nap | grep establish -i
    Figure 1 Checking the host IP address

  3. Check the NIC corresponding to the IP address, as shown in Figure 2:

    ifconfig | grep IP address -B1
    Figure 2 Checking the NIC corresponding to the IP address

  4. Go to the /sys/devices/virtual/net/ directory and check whether the NIC name exists.

    • If it exists, it is a virtual NIC. Then go to 5.
    • If it does not exist, it is not a virtual NIC. Then contact technical support.

  5. Modify the ICAgent startup script:

    1. Open the icagent_mgr.sh file (command varies depending on the ICAgent version):
      vi /opt/oss/servicemgr/ICAgent/bin/manual/icagent_mgr.sh

      Or

      vi /var/opt/oss/servicemgr/ICAgent/bin/manual/icagent_mgr.sh
    2. Modify the script file:

      Add export IC_NET_CARD=NIC name to the file, as shown in Figure 3.

      Figure 3 Modifying the script

  6. Restart the ICAgent (commands vary depending on the ICAgent version):

    sh /opt/oss/servicemgr/ICAgent/bin/manual/mstop.sh
    sh /opt/oss/servicemgr/ICAgent/bin/manual/mstart.sh

    Or

    sh /opt/oss/servicemgr/ICAgent/bin/manual/mstop.sh
    sh /var/opt/oss/servicemgr/ICAgent/bin/manual/mstop.sh

  7. Log in to the AOM console, choose Collection Management, and check whether the ICAgent status is displayed.

    • If the ICAgent status is displayed, no further action is required.
    • If the ICAgent status is still not displayed, contact technical support.