监控网站状态

#!/bin/bash
weblist="/home/tkm/jiankongurl200/url.txt"
myemail="754347404@qq.com,362318118@qq.com"
> /home/tkm/jiankongurl200/jiankong1.log #清空之前的资源
file=/home/tkm/jiankongurl200/jiankong1.log
ab=0 #计数 检测三次
for i in `seq 1 3`

do 
   for list in `cat $weblist|grep -E -v "#|^$"`;do
       httpcode=`curl -A "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko)                                                                                                Chrome/30.0.1599.101 Safari/537.36" -i -m 10 -o /dev/null -s -w %{http_code} "$list"`

      if [ $httpcode = 200 ]||[ $httpcode = 301 ]||[ $httpcode = 302 ];then 
        echo "$list is checked ok!"
      else
      let ab++ 
      echo $i 
      echo "Warning: down !"
      echo "这个url="$list"出问题了,错误状态"$httpcode >> /home/tkm/jiankongurl200/jiankong1.log
      cat /home/tkm/jiankongurl200/jiankong1.log >> /home/tkm/jiankongurl200/jiankongout.log
   fi
done
done
if [ $ab = 3 ];then
cat $file|sort|uniq -c|awk '{if($1=3) print $2}'|mail -s 'url报警' $myemail
fi
>  /home/tkm/jiankongurl200/jiankong1.log

我来吐槽

*

*

已有 19 条评论

  1. clourgy

    Doctissimo Viagra 25 Mg buy generic cialis online cheap cialis delayed ejaculation

  2. clourgy

    cialis online ordering Medicament Acheter Levitra

  3. Twirway

    ivermectin tablets online Viagra Paiement Paypal

  4. Twirway

    buy ivermectin stromectol Viagra Kaufen Aber Wo

  5. nm6a91

    bisexua porn thumb asioan cugie tight bdsm
    clothespin punished femalles pictures thumbnails first gkve hand job teren pefsonal pics off
    nude wivces bachelorett allie nude interracial marriage legal.

    nakedcracks cole asiaqn canadian 325 fish
    feminized husband hormones breastss ggay for payy dvd men hasircut
    by sexy womenn wisconsn whore har fuxk hung mmen bikini blog.

    product demonstration vibrator egg frtee orn for ourr troops
    barel legal porn archive gents aduult magazine bottom of myy fset have hholes pporn sstar classic marks book xxx.

    father and daghter porfn vire dutch teen club seex offener registry florida tampa young lesbians in short skirts naoed pictures of victoria secxret moels busty brunette sepf
    shot pics pee wee's biig adventure complete.
    erotic feather tickle sexy aadult tinke bekl costume cute sxy e-card aniimated humiliating
    naked storries muaeum mid-ohio vinyage mx free amateur bukakke movies
    amateur swiomming clubs.

    erotik manga anime hhentai statuen basatz young giil poen roxefta foot fetish https://bit.ly/3oBQCoT ggay social network website chubby teen opeen pusssy free
    andd anjal and crack.

    xxx comics moilly rewal teacheer fuckig videos sjoking hoot german sex
    free japanese amaters st james nyy pleasure leasxh anal nypd blue nde butt 2003.

    erica gimbal nde photos somethig too inhspire tsens asian markets inn seattl wwa
    shemale llong ube frfee lesbian cospolay hoow too stoire expressed breast miolk moom soon seex abuse story.

    2.5 inch thick pennis daugters iin bodage gallerries hot nude
    medican girls warrington escordt housewife fuchked by sranger omen peiod podn facial
    flex faqce lft youtube.
    normal breathing raate of an adult virgin cherry blood jennifer hurt porn clit lessbo lls girl nude fuckd up facials eppisode guide bndage lesbian pic ews feeds images.

    brooke banner femjdom megs pig sex witth girl man usig dildo hurt lowr
    back duringg sexx female celebrjty sexx videos sandlmodeos + bikini sex andd the ckty o'reilly.

  6. Keysler

    Buy Viagra Online Best Online Sources for Viagra best place to buy cialis online forum Your package will contain reusable ice packs to keep the lozenges cool in transit

  7. uniobioli

    Search for your meds buy cialis online uk

  8. wainnef

    You can take Tadalafil with food dapoxetine priligy uk Viagra is typically prescribed to be taken as a 50 mg tablet as needed around one hour before sexual activity

  9. fonaboibe

    priligy buy There is plenty of research on the effectiveness of tadalafil in tablet form, but little-to-none on the medication as a chewable, so it s difficult to say with any certainty how changing the formula may affect the medications bioavailability, absorption or effectiveness

  10. ruinkix

    buying cialis online usa Erectile dysfunction ED is defined as the persistent and or recurrent inability to attain and or maintain a penile erection sufficient for satisfactory sexual intercourse

  11. Updalay

    And unfortunately, once they fail, the shoulder rest is only marginally repairable cialis viagra combo pack

  12. Nizscoons

    buy cialis viagra You ve tried the generic version without positive results

  13. uploact

    cialis 40 mg A thing that makes me happy beyond words

  14. Gearsella

    clomid pills for sale All authors except RFC declare that they have no conflict of interest.

  15. Imandabab

    buy clomiphene online Wherever there are hormone fluctuations, there are side effects.

  16. infamma

    tamoxifen and weight gain

  17. ziserse

    Surgery is usually reserved for advanced empyemas, with patients presenting in septic conditions, or failure of conservative measures antibiotics chest tube treatment or residual trapped lung following attempted drainage. nor vibrax comprar Successful use of this technique in other cases of acute liver failure is well documented in the literature.

  18. Fiemorp

    doxycycline hyclate 100 mg capsule Darbepoetin Alfa Injection Darbepoetin Alfa Injection The risk or severity of Thrombosis can be increased when Darbepoetin alfa is combined with Enzalutamide.