1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

For you Linux Guru's Track your servers upstatus.

Discussion in 'UO Resources' started by Nexus, Jun 16, 2011.

  1. Nexus

    Nexus Site Support
    Administrator Professional Wiki Moderator Stratics Veteran Stratics Legend Campaign Patron

    Joined:
    Oct 1, 2006
    Messages:
    5,573
    Likes Received:
    1,838
    I've set up a neat way for me to keep up with when Chessy is up and thought I'd share...

    Conky

    Yep if you use Linux you've probably heard of Conky... For those of you who don't know what Conky is, here's a video of how I have mine set up...

    [YOUTUBE]ekb0TQdvito?hd=1[/YOUTUBE]

    Now notice at the bottom, I have Conky doing a ping to the Chesapeake Server, this lets me know if the server is up or down. If I get a 100% packet loss the server is dead, it also lets me know if my connection will be cruddy to the server if it's up.

    You can modify any Conky design to do this, simply add the following lines to the bottom of your conkyrc file.

    Code:
    ${color}${font caviar dreams:size=8}${alignr}'Server Name Here'
    ${color}${font caviar dreams:size=8}${alignr}${texeci 50 sh -c "ping -q -c5 'Server IP Here' | tail -c 30" }
    
    So for Lake Superior for example you'd have
    Code:
    ${color}${font caviar dreams:size=8}${alignr}Lake Superior
    ${color}${font caviar dreams:size=8}${alignr}${texeci 50 sh -c "ping -q -c5 63.117.27.137  | tail -c 30" }
    
    When putting in the server name and IP do not put the entries inside of ' ' marks

    To get the Server IP simply go to

    UO Stratics - Server Information

    and look it up. You can remove the ${alignr} portions to change the font alignment from right aligned to left or change the colors and size of the font like you would with any Conky. This should make it easy to stick this into any Conky you wish.
     
  2. curlybeard

    curlybeard Seasoned Veteran
    Stratics Veteran Stratics Legend

    Joined:
    Jun 29, 2006
    Messages:
    399
    Likes Received:
    0
    Very cool. I will need to add that to my conky, though I just borked my ubuntu oneiric install.
     
  3. curlybeard

    curlybeard Seasoned Veteran
    Stratics Veteran Stratics Legend

    Joined:
    Jun 29, 2006
    Messages:
    399
    Likes Received:
    0
    Works great!