Xitoring Supervisor integration streamlines the process of monitoring the Supervisor, providing users with real-time status of the processes which are run by the supervisor and their uptime records. By automatically collecting and aggregating this information, Xitoring enables users to quickly identify and resolve any issues that may arise, ensuring the reliability and availability of their Supervisor-based applications.
The following guide is working on Linux but some details could be quite different based on the OS version.
Enable Supervisor integration
Enabling Supervisor integration almost doesn't need you to do anything, you just need to execute the following command on your server which you need to enable supervisor integration:
Select Supervisor from the list of available integrations. and that's it the supervisor integration is now enabled and the configuration file is created in the
/etc/xitogent/integrations/supervisor_integration.conf Xitogent will use the supervisor cli tool called
supervisorctl to gather information and statistics and make it available on the Xitoring app.
Setup Triggers for Supervisor integration
You can create Triggers for Supervisor integration and define incidents for each of the processes that are running via the Supervisor.
For example, You create a Trigger for a Process called
myProcess and define that if this process status turned to CRITICAL create an incident and send me notifications.