Re: [icinga-users] problem with the mysql check

2017-01-18 Thread Gerald Vogt
On 18/01/2017 09:36, Mathieu Arnold wrote: Le 18/01/2017 à 07:06, Gerald Vogt a écrit : On 17/01/2017 22:10, Mathieu Arnold wrote: Le 17/01/2017 à 21:36, Lee Clemens a écrit : Thus set vars.mysql_hostname = "localhost" in your service definition... Ok, so, that works. I could not have imagin

Re: [icinga-users] problem with the mysql check

2017-01-18 Thread Mathieu Arnold
Le 18/01/2017 à 07:06, Gerald Vogt a écrit : > On 17/01/2017 22:10, Mathieu Arnold wrote: >> Le 17/01/2017 à 21:36, Lee Clemens a écrit : >>> I may have copied the wrong config, which specific check command are >>> you using? >>> >>> Did you try setting the socket? >>> >>> "-s" = "$mysql_so

Re: [icinga-users] problem with the mysql check

2017-01-17 Thread Gerald Vogt
g] On Behalf Of Mathieu Arnold Sent: Tuesday, January 17, 2017 3:19 PM To: Icinga User's Corner Subject: Re: [icinga-users] problem with the mysql check Le 17/01/2017 à 21:05, Lee Clemens a écrit : Depending on your my.cnf you can use the host as "localhost". Like I said, it i

Re: [icinga-users] problem with the mysql check

2017-01-17 Thread Mathieu Arnold
day, January 17, 2017 3:19 PM > To: Icinga User's Corner > Subject: Re: [icinga-users] problem with the mysql check > > Le 17/01/2017 à 21:05, Lee Clemens a écrit : >> Depending on your my.cnf you can use the host as "localhost". > Like I said, it is not liste

Re: [icinga-users] problem with the mysql check

2017-01-17 Thread Lee Clemens
Arnold Sent: Tuesday, January 17, 2017 3:19 PM To: Icinga User's Corner Subject: Re: [icinga-users] problem with the mysql check Le 17/01/2017 à 21:05, Lee Clemens a écrit : > Depending on your my.cnf you can use the host as "localhost". Like I said, it is not listening on any

Re: [icinga-users] problem with the mysql check

2017-01-17 Thread Mathieu Arnold
Le 17/01/2017 à 21:05, Lee Clemens a écrit : > Depending on your my.cnf you can use the host as "localhost". Like I said, it is not listening on any network interface :-) > Or define the socket's location: > "--socket" = { > value = "$mysql_health_socket$" > descri

Re: [icinga-users] problem with the mysql check

2017-01-17 Thread Lee Clemens
Depending on your my.cnf you can use the host as "localhost". Or define the socket's location: "--socket" = { value = "$mysql_health_socket$" description = "the database's unix socket" } Lee Clemens -Original Message- From: icinga-users [mailto:ici