Agent configuration
The agent configuration file is stored in the following directory on the server.
/opt/servwatch-agent/config/default.jsonThe configuration file is in JSON format and contains the following items.
{
"device_id":"<DEVICE_ID>", // Device ID(hostname)
"user_id":"<USER_ID>", // Servwatch user ID
"device_token":"<DEVICE_TOKEN>", // Servwatch device token
"watch_service": "<SERVICE1>,<SERVICE2>,.." // List the services you want to monitor, separated by commas.
"iface": "<NETWORK_IF_NAME>", // target monitor I/F name
"mount": "<STORAGE_MOUNTPOINT>" // target monitor storage mount point
}Element | Description |
|---|---|
device_id | Configure the |
user_id | Configure the |
device_token | Configure the |
watch_service | Configure the process monitoring settings. List the (restart agent) systemctl restart servwatch.service |
iface | Configure the server's |
mount | Configure the |
© 2014-2022 SENSINICS,LLC