Skip to main content

Configuring Metric and Log via MotaAgent

MotaAgent is an integral component of motadata AIOPS, enabling seamless monitoring of various system metrics and logs. After you have installed Agent on a monitor, you can use this guide to walk you through the process of configuring metrics using MotaAgent. By following these steps, you can easily toggle metric groups ON/OFF for monitoring and adjust their respective polling times.

Go to Menu, Select Settings . After that, go to Monitoring . Select Agent Monitor Settings. The list of all the agent monitors in the system is now displayed. Click on View Details under Configuration for the agent that you want to configure.

Configuring Metrics via MotaAgent

The Metric tab for configuring metrics is selected by default.

FieldDescription
Metric Agent StatusThis field allows you to enable or disable the MotaAgent for monitoring. When toggled on, MotaAgent will begin collecting and reporting metrics.
CPU & Memory MetricsThis field allows you to monitor the CPU and memory utilization of your system. By toggling this field on, MotaAgent will start capturing CPU and memory-related data. To set the polling time for this metric group, enter a value between 1 to 60 seconds. The agent will retrieve CPU and memory data at the specified interval.
System Load MetricsThis field allows you to monitor the load on your system. Enabling this toggle will activate the system load monitoring feature. To adjust the polling time for this metric group, specify a value between 5 to 60 seconds. The MotaAgent will collect system load data at the defined interval.
System Info MetricsThis field allows you to gather detailed information about your system. By enabling this toggle, MotaAgent will start monitoring system information. Set the polling interval for this metric group by entering a time value between 300 to 600 seconds. The agent will retrieve system information at the specified interval.
CPU Core MetricsThis field enables monitoring of individual CPU cores. Toggle this field on to activate CPU core monitoring. Specify the polling time for this metric group by providing a value between 5 to 120 seconds. The agent will capture CPU core data accordingly.
Disk MetricsThis field allows you to monitor disk-related statistics. When toggled on, MotaAgent will start collecting disk metrics. Set the polling time for this metric group by entering a value between 60 to 1500 seconds. The agent will retrieve disk data at the defined interval.
Excluded Disk DrivesThis field field lets you specify disk drives that you want to exclude from monitoring. Add the disk drives you wish to exclude from metric collection. This ensures that specific disk drives are not considered for monitoring purposes.
Process MetricsThis field allows you to monitor the performance of various processes running on your system. Enable this toggle to activate process monitoring. Set the polling time for this metric group by entering a value between 60 to 300 seconds. MotaAgent will collect process-related data accordingly.
Network MetricsThis field allows you to monitor network-related statistics. When toggled on, MotaAgent will start capturing network metrics. Set the polling time for this metric group by specifying a value between 60 to 300 seconds. The agent will retrieve network data at the defined interval.
Excluded InterfacesThis field allows you to specify network interfaces that you want to exclude from monitoring. Add the network interfaces you wish to exclude from metric collection. This ensures that specific network interfaces are not considered for monitoring purposes.
Windows Service MetricsThis field enables monitoring of Windows services on your system. Enable this toggle to activate Windows service monitoring. Set the polling time for this metric group to specify how often MotaAgent should retrieve Windows service data.

Once you have configured the desired metric groups and their respective polling intervals, MotaAgent will efficiently monitor and report the specified metrics and logs. This valuable data will enhance your overall system monitoring and aid in identifying and resolving issues proactively.

Configuring Logs via MotaAgent

The Metric tab for configuring metrics is selected by default. Select the Log tab to configure the logs via MotaAgent.

MotaAgent provides seamless log monitoring capabilities to enhance your system's visibility and troubleshooting efficiency. This guide will walk you through the process of configuring log ingestion using MotaAgent. By following these steps, you can easily set up log monitoring from files and directories, as well as Windows Event Logs.

FieldDescription
Log Agent StatusTo enable log monitoring via MotaAgent, toggle the "Log Agent Status" button to the 'ON' position. This activates the log ingestion feature, allowing MotaAgent to start monitoring logs.

Configuring Log Ingestion from Files and Directories

Log IncludeSpecify the extension of the log files you want to ingest by entering the file extension in the "Log Include" field. For example, if you want to monitor only text log files, enter ".txt" in this field. MotaAgent will then ingest logs from files with the specified extension.
Log DirectoryAdd the directory path from where you want MotaAgent to ingest log files. Provide the full path to the directory in the "Log Directory" field. MotaAgent will continuously monitor and ingest logs from the specified directory.
Multiline LogIf the logs you want to ingest are multiline logs, enable this toggle button. This feature allows MotaAgent to handle log messages that span multiple lines, ensuring comprehensive log monitoring. Specify the Log Pattern and the File Pattern for the multiline logs that you want to ingest.

Configuring Windows Event Logs

NameIndicate the type of Windows Event Logs you want to ingest whether, "System," "Security," or "Application."
LevelsSpecify the log levels you want to ingest from the selected Windows Event Log. You can choose one or more log levels from the following options: Trace, Critical, Error, Warning, Informational, Verbose
EventsIndicate the specific event IDs for which you want to ingest logs from the selected Windows Event Log. Enter the event ID(s) in this field. MotaAgent will monitor and ingest logs that match the specified event IDs.
note

If you do not select a specific log level or event ID, MotaAgent will ingest all available Windows Event Log. This ensures comprehensive monitoring of all events and log messages in that log category.

Once you have configured the log ingestion settings according to your requirements, MotaAgent will efficiently monitor and collect logs from the specified files, directories, and Windows Event Logs. This log data will prove invaluable in gaining insights into system behavior, detecting anomalies, and resolving issues promptly.