On Wed, 28 Mar 2012 14:37:46 +0200 Gerrit Kühn wrote: > Hi all, > > I wonder why I sometimes get PID change notices although there is > obviously nothing changing: > > --- > PID changed Service susepics > > Date: Tue, 27 Mar 2012 20:44:08 +0200 > Action: alert > Host: fe2 > Description: process PID changed to 9967 > > PID changed Service susepics > > Date: Tue, 27 Mar 2012 23:54:11 +0200 > Action: alert > Host: fe2 > Description: process PID changed to 9967 > > PID changed Service susepics > > Date: Wed, 28 Mar 2012 12:59:22 +0200 > Action: alert > Host: fe2 > Description: process PID changed to 9967 > --- > > > As you can see, the PID stays the same all the time, it is still the same > even now. The config line for this is > > --- > check process susepics matching "\./g1susepics g1susepicsG1.cmd" > if changed pid for 3 cycles then alert > --- > > The string is the full commandline, I am not aware of any other processes > that might pop up and match the same line. I added the "3 cycles" to > prevent getting these false alarms. I think it somehow worked, because I > get them less often now, but still once or twice a day. > Any idea what might be causing this and how to prevent it? >
I had to change back to a pid file for a few processes as it was obviously matching more than I expected and went changed from 9967 to 135 changed from 135 to 9967 Maybe the 3 cycles misses out 135 etc.. -- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
