Server monitoring - agent install guide
The server monitoring agent will work on both Linux and Windows. It will collect metrics on
cpu
memory
swap
disk i/o
disk utilization
network adapters
file counts in folders specified
Download and install Influx Telegraf. Influx Telegraf is one of the most used open source agents to collect metrics from sensors and systems. See Telegraf | InfluxData for more information. Make sure you download the version corresponding to your OS.
Download the eyer_telegraf_server.conf configuration file from Eyer.
Open the eyer_telegraf_server.conf file and navigate to the “outputs.http” section. Insert your Eyer apiTokenPush in the “authenticate” line as seen below
authenticate = "your_auth_key_here"
Navigate to the “inputs.filecount” section. If you want to monitor the number of files in specific folders, you can add the folders in the “directories” section. Make sure to comma separate the paths like
directories = ["/var/cache/apt", "/tmp"]
Save the config.
Register the Telegraf agent as a service and start it(see instructions per OS). With Windows use
\telegraf.exe service install --config "C:\Program Files\InfluxData\telegraf\eyer_telegraf_server.conf"