Monit state file version warning - auto recover/delete bad state file ?
Ani A <[email protected]>
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <CAG4dj3GLwYFyyZYjk6+pgHitXyKxWsP0B1fDRWYGOQKoT7UtXQ@mail.gmail.com> |
Hello, I am running Monit version 5.17.1 on Ubuntu 14.04. At times, I see that Monit has logged the following: [PST Nov 14 15:42:40] warning : State file '/var/lib/monit/state': incompatible version 2 And after this, my services (that are monitored by Monit) restart. What can cause this to happen? Is this just file corruption ? Let's say that this occurred, is there some way in Monit to check/correct (maybe delete and recreate state file) ? I am seeing this more often lately, and on production hosts! Any workarounds would be of immense help Thanks. -- Ani