[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request for config file checking?
From: |
Mark Ferlatte |
Subject: |
Re: Feature request for config file checking? |
Date: |
Thu, 5 Jun 2003 14:06:59 -0700 |
User-agent: |
Mutt/1.4.1i |
Jan-Henrik Haukeland said on Thu, Jun 05, 2003 at 09:59:42PM +0200:
> No, this seems like a cool idea at least in my book and you're right
> about monit almost having this function already, that is, some minor
> extensions to the TIMESTAMP statement [1] should do the trick as in:
>
> check apache with pidfile /var/run/apache.pid
> start program = /etc/init.d/apache start
> stop program = /etc/init.d/apache stop
> if timestamp "/local/apache/conf/httpd.conf" was changed then restart
>
> It's probably easier to implement this if we only check the last-
> modified-timestamp of a config file, but of course a changed timestamp
> does not necessarily imply that the content of a file was changed and
> to check for actual changes a checksum of the file is needed, as you
> mentioned previously. Still, would just checking the last modified
> timestamp be sufficient do you think?
I think that last modified would be enough for my needs... md5sum is probably
overkill.
The extension to the timestamp statement would solve my problem perfectly.
M
pgpHpddLjSekP.pgp
Description: PGP signature
- Re: Feature request for config file checking?, Mike Long, 2003/06/06
- Re: Feature request for config file checking?, Jan-Henrik Haukeland, 2003/06/10
- Re: Feature request for config file checking?, Jan-Henrik Haukeland, 2003/06/10
- Re: Feature request for config file checking?, Rick Robino, 2003/06/11
- Re: Feature request for config file checking?, Mark Ferlatte, 2003/06/11
- Re: Feature request for config file checking?, Rick Robino, 2003/06/11
- Re: Feature request for config file checking?, Jan-Henrik Haukeland, 2003/06/11
- Re: Feature request for config file checking?, Rick Robino, 2003/06/11
RE: Feature request for config file checking?, Mike Long, 2003/06/09