I found a bug in Nagios, I think

Manuel HERVO manuel.hervo at gmail.com
Fri Jan 18 03:50:33 CET 2008



Le vendredi 18 janvier 2008 à 03:42 +0100, Matthias GOUPIL a écrit :
> Tu n'aurais pas oublié la table derrière ton from?!?!
> 
Non, il y a eu un petit cafouillage dans ma recopie, mais dans le
fichier de config de l'host, j'ai bien le nom de ma table après FROM.

J'ai essayé de plusieurs manières, j'ai passé 6 heures avant de
comprendre d'où venait le problème.

Maintenant que j'ai enlevé le point virgule, ça fonctionne correctement.
> --
> Mensa
> Envoyé depuis mon iPhone
> 
> Le 18 janv. 08 à 03:32, "Manuel HERVO" <manuel.hervo at gmail.com> a  
> écrit :
> 
> > Hello,
> >
> > I began working in the supervision and I think Nagios very well done.
> >
> > However, for 3.0rc1 version, I found a problem with the plug  
> > "check_mysql_query." And the problem is not plug, but Nagios.
> >
> > As usual, I am still a semi-colon (;) at the end of my request and  
> > Nagios does not seem to want to accept it within the parameters of  
> > my command.
> >
> > Define command (
> >    Command_name check_query
> >    Comand_line $USER1$/check_mysql_query-q $ARG1$ -d $ARG2$ -H  
> > $HOSTADDRESS$ -u $ARG3$ -p $ARG4$
> > )
> >
> > (Define service
> >          Servers use service
> >          Host_name web-pre-production
> >          Service_description Test Query Mysql
> >          Check_command check_mysql_query! "SELECT id ForumMessages  
> > FROM WHERE id = 1;"! <my_database>! <my_login>! <my_password>
> >          )
> >
> > In file / nagios / var / objects.cache:
> > ....
> > Check_command check_mysql_query! "SELECT id ForumMessages FROM WHERE  
> > id = 1
> > ....
> >
> > The semi-colon(;) is blocking the wake of arguments passed to plugin.
> >
> > I hope you have help.
> >
> > Azema.
> >
> > P.S.: Sorry for my english, but I speak French.
> > --- 
> > ----------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Nagios-devel mailing list
> > Nagios-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list