Trouble with expect

Gonzalo Perez Brun perez_brun at hotmail.com
Wed Jan 19 18:18:53 EST 2005


please trie:

frequency: 86400
retries: 4
retrydelay: 600
timeout: 10


>From: "Jason 'XenoPhage' Frisvold" <friz at godshell.com>
>Reply-To: Discussion about Argus <arguslist at tcp4me.com>
>To: Discussion about Argus <arguslist at tcp4me.com>
>Subject: Trouble with expect
>Date: Wed, 19 Jan 2005 15:56:00 -0500
>
>Hi all,
>
>    I'm sure there's a quick and easy answer to this, but I can't find 
>it....  I'm trying to monitor the Team Cymru bogon list for updates.  So, I 
>set up my config like this :
>
>   Service TCP/URL {
>      url:     http://www.cymru.com/Documents/bogon-list.html
>      browser: Team Cymru Bogon List - Version 2.5
>      expect:     The\ Team\ Cymru\ Bogon\ List\ v2\.5\ 02\ AUG\ 2004
>      label:      Bogon List Version
>      messagedn:  Cymru Bogon List Updated!
>      frequency:  86400
>      retries: 5
>      retrydelay: 600
>   }
>
>Ok, all good, it's showing up.  But I wanted to make sure it was working, 
>so I changed the version in the expect line.  Specifically, I changed it to 
>this :
>
>      expect:     The\ Team\ Cymru\ Bogon\ List\ v2\.6\ 02\ AUG\ 2004
>
>I hupped Argus, waited for it to restart, and then issued a checknow for 
>that object :
>
>./argusctl checknow 
>"object=Top:World_Reachability:URL_www.cymru.com:80/Documents/bogon-list.html"
>
>No dice.  It listed as up and stayed up...
>
>Any idea what I'm missing here?  I'm definitely no regex expert, but I 
>thought that expression would work fine ?
>
>
>
>--
>---------------------------
>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."
>
>_______________________________________________
>http://argus.tcp4me.com/
>Arguslist at tcp4me.com
>http://www.tcp4me.com/mailman/listinfo/arguslist

_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/



More information about the Arguslist mailing list