Hazard's stuff

01 Dec, 2013

Smokeping JunOS SSH plugin with routing-instance (VRF) and logical-system support

— Posted by hazard @ 13-12-01 12:07
I have hacked together a Smokeping plugin for Juniper JunOS devices that supports VRFs (routing-instance) and logical systems.
  • Download the plugin to your server.
  • Install by copying the file into lib/Smokeping/probes directory under your smokeping installation (e.g. to /opt/smokeping/lib/Smokeping/probes).
  • You might also have to install Net::OpenSSH Perl module, if it's not already installed (check by running "perl -e 'use Net::OpenSSH'").
  • Add the following section to your smokeping config:
    + OpenSSHJunOSPing
    packetsize = [in JunOS 1472 is the max for 1500 L3 MTU]
    junospass = [pass]
    junosuser = [user]
    # feel free to change params below as you wish
    forks = 5
    offset = 50%         
    timeout = 15
    step = 120
    
  • Individual targets are configured as follows:
    ++ sample-target
      probe = OpenSSHJunOSPing
      menu = [menu name]
      title = [title]
      host = [destination IP to ping from JunOS device]
      pings = [numer of ICMP pings to send, e.g. 5]
      source = [JunOS device to login into]
      logicalsystem = [logical system name, optional]
      vrf = [routing-instance name, optional]
    
  • ssh to the JunOS device once from the commmand line from the account of the user who is running smokeping (su -s /bin/sh [username]). On the first connect ssh will ask to add the new host to its known_hosts file, confirm it. Otherwise Smokeping will fail to login as the ssh key of your JunOS box is not in the known_hosts file.


Comments

  1.   VigRx:http://www.hikanpou.com/product/VigRx.html
      VigRx:http://www.hikanpou.com/product/VigRx.html
      VigRx:http://www.hikanpou.com/product/VigRx.html
      D10催情剤:http://www.hikanpou.com/product/D10.html
      インモラル:http://www.hikanpou.com/product/immoral.html
      淫インモラル:http://www.hikanpou.com/product/immoral.html
      FLY D5:http://www.hikanpou.com/product/蒼蝿水.html
      花痴:http://www.hikanpou.com/product/花痴.html
      巨人倍増:http://www.hikanpou.com/product/巨人倍増.html
      五便宝:http://www.hikanpou.com/product/五便宝.html
      紅蜘蛛:http://www.hikanpou.com/product/紅蜘蛛.html
      威哥王:http://www.hikanpou.com/product/weige.html
      威哥王:http://www.hikanpou.com/product/威哥王.html
      蟻力神:http://www.hikanpou.com/product/蟻力神1.html
      D10媚薬:http://www.hikanpou.com/product/D10.html
      蔵八宝:http://www.hikanpou.com/product/蔵八宝.html
      新一粒神:http://www.hikanpou.com/product/新一粒神.html
      三便宝:http://www.hikanpou.com/product/三便宝.html
      三体牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
      狼1号:http://www.hikanpou.com/product/狼1号.html
      FLY D5:http://www.hikanpou.com/product/蒼蝿水.html
      
      妖姫:http://www.hikanpou.com/product/youhi.html
      紅蜘蛛:http://www.hikanpou.com/product/紅蜘蛛.html
      RU486:http://www.hikanpou.com/product/RU486.html
      D10:http://www.hikanpou.com/product/D10.html
      D10媚薬:http://www.hikanpou.com/product/D10.html
      淫インモラル:http://www.hikanpou.com/product/immoral.html
      三體牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
      三体牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
      勃動力三體牛鞭:http://www.hikanpou.com/product/三体牛鞭.html
      狼1号:http://www.hikanpou.com/product/狼1号.html
      狼一号:http://www.hikanpou.com/product/狼1号.html
      三便宝:http://www.hikanpou.com/product/三便宝.html
      蟻力神:http://www.hikanpou.com/product/蟻力神1.html
      リドスプレー:http://www.hikanpou.com/product/LIDOSPRAY.html
      ビグレックス:http://www.hikanpou.com/product/VigRx.html
      Wenickman:http://www.hikanpou.com/product/Wenickman.html
      vigrxプラス:http://www.hikanpou.com/product/VigRx.html
      セフラジン:http://www.hikanpou.com/product/cefradine.html
      碧生源:http://www.hikanpou.com/product/bishengyuan.html
      スーパーファット:http://www.hikanpou.com/product/スーパーファットNEWSUPERFATBURNIN.html
      同仁堂牛黄清心丸:http://www.hikanpou.com/product/牛黄清心丸2.html
      牛黄清心丸:http://www.hikanpou.com/product/牛黄清心丸2.html
      五便宝:http://www.hikanpou.com/product/五便宝.html
      FLY D5:http://www.hikanpou.com/product/蒼蝿水.html
      D5原液:http://www.hikanpou.com/product/蒼蝿水.html
      蒼蝿水:http://www.hikanpou.com/product/蒼蝿水.html
      男宝:http://www.hikanpou.com/product/男宝5箱.html
      蔵八宝:http://www.hikanpou.com/product/蔵八宝.html
      新一粒神:http://www.hikanpou.com/product/新一粒神.html
      壮天根:http://www.hikanpou.com/product/壮天根.html
      魔根:http://www.hikanpou.com/product/魔根金中草.html
      壮陽一号:http://www.hikanpou.com/product/壮陽一号.html
      黒倍王:http://www.hikanpou.com/product/黒倍王.html
      美人豹:http://www.hikanpou.com/product/美人豹5.html
      福源春:http://www.hikanpou.com/product/福源春2.html
      蟻王:http://www.hikanpou.com/product/アリ王蟻王,ANTKING.html
      アリ王:http://www.hikanpou.com/product/アリ王蟻王,ANTKING.html
      SEX DROPS:http://www.hikanpou.com/product/SEXDROPS5.html
      終極痩身:http://www.hikanpou.com/product/zhongjishoushen.html
      天天素:http://www.hikanpou.com/product/天天素.html
      韓国痩身一号:http://www.hikanpou.com/product/韓国痩身一号.html
      韓国痩身1号:http://www.hikanpou.com/product/韓国痩身一号.html
      痩身1号:http://www.hikanpou.com/product/韓国痩身一号.html
      曲美:http://www.hikanpou.com/product/xinqumei.html
      中絶薬:http://www.hikanpou.com/pills/避妊中絶.html
      避妊薬:http://www.hikanpou.com/pills/避妊中絶.html
      MaxMan:http://www.hikanpou.com/product/MaxMan.html
      絶對高潮:http://www.hikanpou.com/product/絶對高潮.html
      D8 催情剤:http://www.hikanpou.com/product/SpanishFliegeD8.html
      情愛芳香劑:http://www.hikanpou.com/product/rush724.html
      
      威哥王:http://www.hikanpou.com/product/威哥王.html
      http://巨人倍増.hikanpou.com
      http://xn--gmq15an1qquf.hikanpou.com
      VigRx:http://www.hikanpou.com/product/VigRx.html
      D10催情剤:http://www.hikanpou.com/product/D10.html
      インモラル:http://www.hikanpou.com/product/immoral.html
      淫インモラル:http://www.hikanpou.com/product/immoral.html
      FLY D5:http://www.hikanpou.com/product/蒼蝿水.html
      花痴:http://www.hikanpou.com/product/花痴.html
      巨人倍増:http://www.hikanpou.com/product/巨人倍増.html
      五便宝:http://www.hikanpou.com/product/五便宝.html
      紅蜘蛛:http://www.hikanpou.com/product/紅蜘蛛.html
      威哥王:http://www.hikanpou.com/product/weige.html
      威哥王:http://www.hikanpou.com/product/威哥王.html
      威哥王:http://www.hikanpou.com/product/威哥王.html
      http://巨人倍増.hikanpou.com
      http://xn--gmq15an1qquf.hikanpou.com
      VigRx:http://www.hikanpou.com/product/VigRx.html
      D10催情剤:http://www.hikanpou.com/product/D10.html
      インモラル:http://www.hikanpou.com/product/immoral.html
      淫インモラル:http://www.hikanpou.com/product/immoral.html
      FLY D5:http://www.hikanpou.com/product/蒼蝿水.html
      花痴:http://www.hikanpou.com/product/花痴.html
      巨人倍増:http://www.hikanpou.com/product/巨人倍増.html
      五便宝:http://www.hikanpou.com/product/五便宝.html
      紅蜘蛛:http://www.hikanpou.com/product/紅蜘蛛.html
      威哥王:http://www.hikanpou.com/product/weige.html
      威哥王:http://www.hikanpou.com/product/威哥王.html
      キョジンバイゾウ:http://www.hikanpou.com/product/巨人倍増.html
      巨人倍増 正規品:http://www.hikanpou.com/product/巨人倍増.html
      巨人倍増 効果:http://www.hikanpou.com/product/巨人倍増.html
      巨人倍増カプセル:http://www.hikanpou.com/product/巨人倍増.html
      巨人倍増 販売:http://www.hikanpou.com/product/巨人倍増.html
      巨人倍増 激安:http://www.hikanpou.com/product/巨人倍増.html
      巨人倍増 通販:http://www.hikanpou.com/product/巨人倍増.html
      三便宝カプセル:http://www.hikanpou.com/product/三便宝.html
      三便宝販売:http://www.hikanpou.com/product/三便宝.html
      三便宝 激安:http://www.hikanpou.com/product/三便宝.html
      さんべんぼう:http://www.hikanpou.com/product/三便宝.html
      五便宝カプセル:http://www.hikanpou.com/product/五便宝.html
      五便宝 通販:http://www.hikanpou.com/product/五便宝.html
      しんいちつぶしん:http://www.hikanpou.com/product/新一粒神.html
      イーリーシン:http://www.hikanpou.com/product/蟻力神1.html
      福源春カプセル:http://www.hikanpou.com/product/福源春2.html
      vigrx 効果:http://www.hikanpou.com/product/VigRx.html
      ハナチ:http://www.hikanpou.com/product/花痴.html
      紅蜘蛛液体:http://www.hikanpou.com/product/紅蜘蛛.html
      紅蜘蛛 通販:http://www.hikanpou.com/product/紅蜘蛛.html
      紅蜘蛛 激安:http://www.hikanpou.com/product/紅蜘蛛.html
      紅蜘蛛 媚薬:http://www.hikanpou.com/product/紅蜘蛛.html
      紅蜘蛛 販売店:http://www.hikanpou.com/product/紅蜘蛛.html
      妖姫 効果:http://www.hikanpou.com/product/youhi.html
      妖姫 販売:http://www.hikanpou.com/product/youhi.html
      媚薬 妖姫:http://www.hikanpou.com/product/youhi.html
      妖姫 通販:http://www.hikanpou.com/product/youhi.html
      淫インモラル 販売:http://www.hikanpou.com/product/immoral.html
      インモラル 販売:http://www.hikanpou.com/product/immoral.html
      媚薬 淫イン モラル:http://www.hikanpou.com/product/immoral.html
      媚薬 インモラル:http://www.hikanpou.com/product/immoral.html
      RU486中絶薬:http://www.hikanpou.com/product/RU486.html
      中絶薬 通販:http://www.hikanpou.com/product/RU486.html
      中絶薬激安:http://www.hikanpou.com/product/RU486.html
      ru486 販売:http://www.hikanpou.com/product/RU486.html
      ru486 通販:http://www.hikanpou.com/product/RU486.html
      ru486 個人輸入:http://www.hikanpou.com/product/RU486.html
      ビグレックス:http://www.hikanpou.com/product/VigRx.html
      VigRx:http://www.hikanpou.com/product/VigRx.html
      vigrxプラス:http://www.hikanpou.com/product/VigRx.html
      

    Posted by VigRx — 12 Feb 2014, 05:31


Add comment






Hazard's stuff is maintained by Vladimir Ivashchenko <hazard -at- hazardous-area.org>
This blog is powered by pLog