expect parameter

Jeff Weisberg jaw+arguslist at tcp4me.com
Fri Oct 15 16:04:44 EDT 2004


|     Just a quick question...  Does the expect parameter use a full regex
| expression?  I'm trying to monitor the replication status on my MySQL

it is a full perl regular expression.

| server and I want to ensure that Slave_IO_Running and Slave_SQL_Running
| are both Yes.  I believe I can do this by checking for the string "|
| Yes        | Yes" in the return of "show slave status;" ...  I just need
| to figure out how to get that into Argus :)  I was thinking something
| along the lines of  | Yes/s+| Yes   ...  Maybe?

you probably mean \s not /s

and you would need to say \| since | is special


	--jeff





More information about the Arguslist mailing list