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.
Navigation
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. Configure the following settings to ingest the metric data using MotaAgent.
Field | Description |
---|---|
Metric Agent Status | This field allows you to enable or disable the MotaAgent for monitoring. When toggled on, MotaAgent will begin collecting and reporting metrics. |
CPU & Memory Metrics | This 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 minimun value of 1 second. The agent will retrieve CPU and memory data at the specified interval. The default value is configured as 300 seconds. |
System Load Metrics | This 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 minimum value of 5 seconds. The MotaAgent will collect system load data at the defined interval. The default value is configured as 300 seconds. |
System Info Metrics | This 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 minimum value of 600 seconds. The agent will retrieve system information at the specified interval. The default value is configured as 3600 seconds. |
CPU Core Metrics | This 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 minimum value of 5 seconds. The agent will capture CPU core data accordingly. The default value is configured as 300 seconds. |
Disk Metrics | This 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 minimum value of 60 seconds. The agent will retrieve disk data at the defined interval. The default value is configured as 300 seconds. |
Excluded Disk Drives | This 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 Metrics | This 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 minimum value of 60 seconds. MotaAgent will collect process-related data accordingly. The default value is configured as 300 seconds. |
Network Metrics | This 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 minimum value of 60 seconds. The agent will retrieve network data at the defined interval. The default value is configured as 300 seconds. |
Excluded Interfaces | This 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 Metrics | This 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. |
Changing the default polling interval will impact server hardware sizing.
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.
Field | Description |
---|---|
Log Agent Status | To 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 Include | Specify 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 Directory | Add 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 Log | If 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
Name | Indicate the type of Windows Event Logs you want to ingest whether, "System," "Security," or "Application." |
Levels | Specify 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 |
Events | Indicate 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. |
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.