Default services enabled -> there is no problem with mysqld
Reindl Harald
h.reindl at thelounge.net
Wed Aug 24 18:23:29 UTC 2011
Am 24.08.2011 19:36, schrieb Lennart Poettering:
> On Wed, 24.08.11 10:45, Tom Lane (tgl at redhat.com) wrote:
>
>>
>> Reindl Harald <h.reindl at thelounge.net> writes:
>>> Am 23.08.2011 23:28, schrieb Tom Lane:
>>>> there's no other way for "mysqladmin ping" to work, for example
>>
>>> and where is the problem?
>>
>> I'm not planning on repeating myself either, but: a database
>> *monitoring* tool, as opposed to a vanilla client, needs to know whether
>> the database is in fact up. Autostarting the DB in response to a
>> monitoring probe is the wrong behavior for that.
>
> Are you sure it is? The thing is that when using socket activation it is
> merely an implementation detail when a service is actually really
> started. If you get a response you get a response and that's what you
> probably want to monitor.
and what he does not understand is that the socket is only needed LOCAL
nagios as brought example normally runs on a monitoring host and checks
the TCP port, sad enough that we have to explain this the mysql-maintainer
where will a monitoring over the network trigger the socket below?
TCP port is directly mysqld in this case
[root at srv-rhsoft:~]$ cat /lib/systemd/system/mysqld.socket
[Unit]
Description=MySQL Database activation socket
[Socket]
ListenStream=/var/lib/mysql/mysql.sock
[Install]
WantedBy=sockets.target
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110824/5164296b/attachment.bin
More information about the devel
mailing list