expect parameter

Jason 'XenoPhage' Frisvold friz at godshell.com
Fri Oct 15 10:22:45 EDT 2004


Hi all,

    Just a quick question...  Does the expect parameter use a full regex 
expression?  I'm trying to monitor the replication status on my MySQL 
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?

-- 
---------------------------
Jason 'XenoPhage' Frisvold
Engine / Technology Programmer
friz at godshell.com
RedHat Certified - RHCE # 803004140609871
MySQL Pro Certified - ID# 207171862
MySQL Core Certified - ID# 205982910
---------------------------
"Something mysterious is formed, born in the silent void. Waiting alone and unmoving, it is at once still and yet in constant motion. It is the source of all programs. I do not know its name, so I will call it the Tao of Programming."



More information about the Arguslist mailing list