Installing, updating, and removing Monitoring🔗

The Eocortex System Monitoring service allows controlling the status of the video surveillance system components and receiving immediate notifications about problems occurring with them.

Note

This feature is available only for Enterprise and ULTRA licenses.

The service can be installed on any computer without installing the Eocortex server on it.

Only one service instance can be configured for the entire system.

Once installed, the service will start automatically.

Note

Service name: eocortexmonitoring.service

The service can be installed using the following two options:

  • Online, if the device has Internet access.

  • Offline, if the device does not have Internet access.

Online installation
  1. Add Eocortex repository:

    wget -O - http://packages.eocortex.com/deb/install/eocortex-deps-debian.sh | bash
    
  2. Install the service.

    sudo apt-get install eocortex-monitoring-server
    
Offline installation

Warning

For this installation method, you will need a computer with Internet access and the same operating system as the one on which you want to install the Long-term database service.

  1. Clear local repository:

    sudo apt-get clean
    
  2. Add Eocortex repository:

    wget -O - http://packages.eocortex.com/deb/install/eocortex-deps-debian.sh | bash
    
  3. Install all required packages (dependencies):

    sudo apt-get install -d -y eocortex-monitoring-server
    
  4. Create the MonitoringPackages directory and transfer all downloaded packages to it:

    mkdir ~/MonitoringPackages/ && cp -R /var/cache/apt/archives/*.deb ~/MonitoringPackages/
    
  5. After that, copy the entire MonitoringPackages directory to a USB drive and transfer the data to the server. Install the Monitoring service and all dependencies using the following command:

    sudo dpkg -i /path_to_MonitoringPackages/*.deb
    
Dependencies

The following dependency packages must be installed in the operating system for the service to work:

  • aspnetcore-runtime-6.0 (>= 6.0)

  • debconf (>= 0.5)

During the online installation the dependency packages will be installed automatically, while during the offline installation they may require to be installed manually.

To check if a package is installed and its version, use the command dpkg -s %package_name%.

Update

To update the service, run the following commands:

sudo apt-get update

sudo apt-get install eocortex-monitoring-server

Or download a new version package from the repository and install it manually using the dpkg command.

Uninstallation

To uninstall the service, use the following command:

sudo apt-get remove eocortex-monitoring-server
Online installation
  1. Add Eocortex repository:

    wget -O - http://packages.eocortex.com/rpm/install/eocortex-deps-centos.sh | bash
    
  2. Install the service.

    sudo yum install eocortex-monitoring-server
    
Offline installation

Warning

For this installation method, you will need a computer with Internet access and the same operating system as the one on which you want to install the Long-term database service.

  1. Add Eocortex repository:

    wget -O - http://packages.eocortex.com/rpm/install/eocortex-deps-centos.sh | bash
    
  2. Install yum extensions:

    sudo yum install -y yum-utils
    
  3. Install all required packages (dependencies):

    sudo yumdownloader --downloadonly --downloaddir=~/MonitoringPackages eocortex-monitoring-server --resolve
    
  4. After that, copy the entire MonitoringPackages directory to a USB drive and transfer the data to the server. Install the Long-term database service and all dependencies using the following command:

    sudo rpm -ivh /path_to_MonitoringPackages/*.rpm
    
Dependencies

The following dependency packages must be installed in the operating system for the service to work:

  • aspnetcore-runtime-6.0 >= 6.0

  • policycoreutils-python >= 2.5

During the online installation the dependency packages will be installed automatically, while during the offline installation they may require to be installed manually.

To check if a package is installed and its version, use the command sudo rpm -qa | grep %package_name%.

Update

To update the service, run the following command:

sudo yum update eocortex-monitoring-server

Or download a new version package from the repository and install it manually using the rpm command.

Uninstallation

To uninstall the service, use the following command:

sudo yum remove eocortex-monitoring-server
Network settings of the service

Note

The Monitoring service does not provide any options to change the network connection settings.

Note

Service uses HTTP port 8889 for connection without option to change it.

Monitoring Agent

To collect and transmit data about the state of the Eocortex server and cameras connected to it, an additional Monitoring Agent service is used.

The service is installing and updating at the same time as the Eocortex server components are deploying, so there is no need to install the Agent individually.

Once installed, the service will start automatically.

Note

Service name: eocortexmonitoringagent.service

Related references