Install the OT Discovery Collector on a Linux system.
Avant de commencer
- SCP the linuxCollectorinstaller_[version number]_[build number].tar.gz over to the Linux system.
Remarque : An example of the file name format is linuxCollectorinstaller_3.3.1_20250917.1.tar.gz.
- You need to SCP the CollectorBundle file you generated and downloaded from the Discovery Console to the Linux system.
- To go into OT Discovery Collector Linux host, use
ssh.
- Use
su or sudo -s to switch to the root user.
Role required: admin
Procédure
-
On your instance, navigate to the Service Graph Connector for ServiceNow OT Discovery Guided Setup page.
-
In the first section, select Download & Deploy OT Discovery.
The Download & Deploy OT Discovery page opens.
-
Select Configure.
The Download page opens.
-
On the Download page, download the OT Discovery Collector Linux package.
Remarque : Read the End User License Agreement (EULA) carefully and then check Agree.
-
Install the Collector on the Discovery Console for OT you intend to use.
Remarque : If you have a closed network, download the containerized version of the Collector. A host, such as Windows or Linux, is required in order to run the container.
-
On a RHEL-based distribution, install tar.
-
On all Linux distributions, run the following command:
tar -xvf linuxCollectorinstaller_[version number]_[build number].tar.gz
-
Copy the CollectorBundle file into the CollectorInstaller directory.
chmod +x Collector-init.sh
./Collector-init.sh
-
When the script starts, the system locates the pdf version of the EULA.
When prompted to accept the EULA, enter Y for yes.
-
After the script completes successfully, the OT Discovery Collector can be seen in the console.
To check the service status, run this command: systemctl status SNDiscoveryCollector. If you would like to view the journal output for the service to troubleshoot issues, as the root user you can run
journalctl -f -a -u SNDiscoveryCollector.
Résultats
After the script completes successfully, the OT Discovery Collector can now be seen in the console.To check the service status, run this command:
systemctl status SNDiscoveryCollector
.
If you would like to view the journal output for the service (usually as a troubleshooting measure), as the root user you can
run:
journalctl -f -a -u SNDiscoveryCollector
.