Monit storing the option selected from web UI even if its not present in monitrc, how it work?

Issue #940 closed
bharati created an issue

Monit seems to store persistently the choice done via its web page about enable/disable of monitoring configuration. It is not stored in the monitrc file, where is it stored

Comments (2)

  1. Lutz Mader

    Hello bharati,
    the monitor use the following configuration
    .monitrc or monitrc

    And some files are created by the monitor at startup
    .monit.id
    .monit.pid
    .monit.state

    See the manual to get some more detail information,
    https://mmonit.com/monit/documentation/monit.html#FILES

    The given states are stored in the .monit.state file.

    You will find the files created by the monitor in the home folder of the user used by the monitor (in the root home folder for example).

    With regards,
    Lutz

  2. Log in to comment