System administrators can enable regular health checks to ensure that their system's memory, CPU, and hard drive usage levels stay within safe limits. When usage exceeds critical thresholds, warnings will be displayed in the Blue Relay API console.


These warnings will not be visible to Blue Relay users but will notify system administrators to set up external logging management tools to monitor and address high usage levels.


To configure the health check settings, follow these steps:


1. Open the System Config. page in Blue Relay by clicking the "System Config" button in the left navigation bar. 




2. On the Configuration page, scroll down to the bottom where you will see an input field for adding new variables. Use this input in the next steps by entering a keys and values. Press the checkmark button to save the value



3. Define how often to check the system usage levels by setting the System_monitoring.usageCheckInterval key. By default, it's set to every 10 minutes, but you can customize it as needed.


For example, to check system usage every 5 minutes, input the following:


4. Set the System_monitoring.usageWarningInterval variable to define how often to show warnings for CPU, memory, or disk usage once the first warning has been shown. The default setting is 1 week, but you can adjust it to your requirements.


For example, to show warnings once a day, add the following:


5. Define warning thresholds for memory, CPU, and disk usage using the variables:

 

    - System_monitoring.memoryWarningThreshold 

    - System_monitoring.cpuWarningThreshold

    - System_monitoring.diskWarningThreshold

By default, they are set to 85%, but you can specify a different threshold percentage (0-100).


For example, to set up warnings whenever CPU usage is over 75%: 



6. Turn on system usage monitoring by adding System_monitoring.monitorUsage = on. By default, it is off. to false.




Conclusion


In the Configuration page, you should now be able to see the following keys, with values set to your chosen value. Feel free to update these values as needed.



These variables provide greater control over system monitoring, allowing real-time reporting of system resource levels.