Re: Default services enabled -> there is no problem with mysqld

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 24.08.2011 19:36, schrieb Lennart Poettering:
> On Wed, 24.08.11 10:45, Tom Lane (tgl@xxxxxxxxxx) wrote:
> 
>>
>> Reindl Harald <h.reindl@xxxxxxxxxxxxx> 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@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


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux