Fortinet black logo

User Guide

Update the FortiMonitor Agent

24.1.0
Copy Link
Copy Doc ID af1daa65-c273-11ec-9fd1-fa163e15d75b:502032
Download PDF

Update the FortiMonitor Agent

To update the FortiMonitor Agent, select your server's OS from the list below then run the command.

Redhat or CentOS

Run the following command:

yum install fm-agent

Debian or Ubuntu

Run the following commands:

  1. Get the key by running the following command:
    wget -O - https://repo.fortimonitor.com/fortimonitor.pub | sudo apt-key add -

  2. Then run the following:
    apt-get update && apt-get install fm-agent

Linux or Unix tar installer

Run the following command:

curl -s https://repo.fortimonitor.com/install/fm_agent_install.sh | bash /dev/stdin --customer-key CUSTOMER_KEY_HERE

To obtain your customer key, select your avatar then select My Account.

Windows

If you originally installed the FortiMonitor Agent using the one-liner quick install, perform the following steps:

  1. Retrieve the quick install command from within your FortiMonitor account by following the steps to Install the FortiMonitor Agent.

  2. Run the command in an administrative PowerShell window.

If you originally used MSI to install the agent, download and install the latest MSI.

Update the FortiMonitor Agent

To update the FortiMonitor Agent, select your server's OS from the list below then run the command.

Redhat or CentOS

Run the following command:

yum install fm-agent

Debian or Ubuntu

Run the following commands:

  1. Get the key by running the following command:
    wget -O - https://repo.fortimonitor.com/fortimonitor.pub | sudo apt-key add -

  2. Then run the following:
    apt-get update && apt-get install fm-agent

Linux or Unix tar installer

Run the following command:

curl -s https://repo.fortimonitor.com/install/fm_agent_install.sh | bash /dev/stdin --customer-key CUSTOMER_KEY_HERE

To obtain your customer key, select your avatar then select My Account.

Windows

If you originally installed the FortiMonitor Agent using the one-liner quick install, perform the following steps:

  1. Retrieve the quick install command from within your FortiMonitor account by following the steps to Install the FortiMonitor Agent.

  2. Run the command in an administrative PowerShell window.

If you originally used MSI to install the agent, download and install the latest MSI.