Page 1 of 1

mySQL Query

Posted: Mon Mar 10, 2014 9:59 am
by costanza2k1
Hi all I have a question:

I'm running the mysql query and am looking for a critical alert when my return is 0. It should be a threshold alert. The query will either be a 1 or a 0... bad = 0, good = 1 :D This is what my query looks like:

Code: Select all

--hostname=aaa.aaa.com --port=1111 --username=blah--password="blah" --database=test--mode sql --name=...="Is  Bridge Up?" --c=0
Do you think I've set this up correctly, in particular the c = portion?

Re: mySQL Query

Posted: Mon Mar 10, 2014 1:25 pm
by abrist
Could you be a bit more specific? What is the full query? What table are you querying?