Skip to content

Instantly share code, notes, and snippets.

@shaiguitar
Created May 13, 2010 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shaiguitar/399793 to your computer and use it in GitHub Desktop.
Save shaiguitar/399793 to your computer and use it in GitHub Desktop.
shai@comp ~: $ eycheck red
Matched query string 'red'. Proceeding to search cloud platforms...
A double match was found (in pc and aws).
Did you mean private cloud or aws cloud? [ pc / aws ]
aws
More than one customer matched, which one do you want?
0) RedLine IT LLC
1) RedBubble Pty Ltd
2) Crouch Jay
3) Red Oak Music
4) Redan Publishing Ltd
5) PGX Laboratories
6) WildBit
7) Scenario4
8) Alfreds & Alfreds LLC
9) RED WebApps
10) Red Rover
11) Accreditation Helper
12) RedTree Marketing Inc.
13) DictionarySquared
14) RedeParede.com LLC
15) Capshured
Number:
14
0) staging
1) rede_production
2) staging_cloned_from_production
What environment ( RedeParede.com LLC ) do you want to run it on?
Number:
0
/Library/Ruby/Gems/1.8/gems/eycheck-0.1.0/lib/cli.rb:140:in `initialize': No instances found in staging! (RuntimeError)
from /Library/Ruby/Gems/1.8/gems/eycheck-0.1.0/bin/eycheck:6:in `new'
from /Library/Ruby/Gems/1.8/gems/eycheck-0.1.0/bin/eycheck:6
from /usr/bin/eycheck:19:in `load'
from /usr/bin/eycheck:19
shai@comp ~: $ eycheck red
Matched query string 'red'. Proceeding to search cloud platforms...
A double match was found (in pc and aws).
Did you mean private cloud or aws cloud? [ pc / aws ]
aws
More than one customer matched, which one do you want?
0) RedLine IT LLC
1) RedBubble Pty Ltd
2) Crouch Jay
3) Red Oak Music
4) Redan Publishing Ltd
5) PGX Laboratories
6) WildBit
7) Scenario4
8) Alfreds & Alfreds LLC
9) RED WebApps
10) Red Rover
11) Accreditation Helper
12) RedTree Marketing Inc.
13) DictionarySquared
14) RedeParede.com LLC
15) Capshured
Number:
14
0) staging
1) rede_production
2) staging_cloned_from_production
What environment ( RedeParede.com LLC ) do you want to run it on?
Number:
1
Running! - ronin oshi 781 rede_production /var/folders/u0/u0JU354EEfSYT3Mk8887z++++TM/-Tmp-/eycheck-script._70396_1273754906.sh all
------------------------------------------------------------
Validating filters... done
Looking up customer "781"... done
Looking up environment "rede_production"... done
Installing ssh keys... done
## Running on ec2-72-44-50-148.compute-1.amazonaws.com ( db_master )
------------------------------------------------------------
monit: generated unique Monit id 27f073fcb4372183b0fc287b2de55d41 and stored to '/root/.monit.id'
[OK] No maintenance pages found
[OK] Load average under 1
[OK] Swap under 10%
[OK] Monit tasks running
[WARN] Found 1 monit restarts since (now May 13 05:48:39) at a rate of .172 restarts/hour. Latest was 5.8 hours ago.
[OK] Swap Rate
[OK] OOM check
[OK] D state proc check
[OK] No over-big procs found. (over 500 MB)
[OK] Disk check under 90% usage
## Running on 174.129.10.144 ( app_master )
------------------------------------------------------------
[OK] No maintenance pages found
[WARN] 05:48:48 up 160 days, 12:02, 0 users, load average: 3.97, 3.39, 3.09
[OK] Swap under 10%
[OK] Monit tasks running
[WARN] Found 1 monit restarts since (now May 13 05:48:48) at a rate of .172 restarts/hour. Latest was 5.8 hours ago.
[OK] Swap Rate
[OK] OOM check
[OK] D state proc check
[OK] No over-big procs found. (over 500 MB)
[OK] Disk check under 90% usage
## Running on ec2-204-236-194-127.compute-1.amazonaws.com ( util )
------------------------------------------------------------
[OK] No maintenance pages found
[OK] Load average under 1
[OK] Swap under 10%
[OK] Monit tasks running
[WARN] Found 1 monit restarts since (now May 13 05:48:57) at a rate of .171 restarts/hour. Latest was 5.8 hours ago.
[OK] Swap Rate
[OK] OOM check
[OK] D state proc check
[OK] No over-big procs found. (over 500 MB)
[OK] Disk check under 90% usage
You have mail in /var/mail/shai
shai@comp ~: $ eycheck blue
Matched query string 'blue'. Proceeding to search cloud platforms...
Found environments:
0) ey02-e00259, screenstepslive (production)
1) ey02-e00260, screenstepslive (staging)
Choose one of them (number):
1
Matched cluster, env ["ey02", "260"]
Running slice eychecks on ey02-e260 (screenstepslive)
## ey02-s00395
[OK] All slices are UP in the clustering environment (cman_tool nodes)
[OK] Disk check under 90% usage
[OK] Load average under 1
[OK] Logrotate configuration
[OK] No big non-mongrel procs found. (over 500 MB)
[OK] No maintenance currently
[WARN] 17.1011% of swap being used.
[WARN] Detected Swap Activity - si:16 so:0
[WARN] Found 1 monit restarts since (now Thu May 13 05:51:22 PDT 2010) at a rate of 0.171 restarts/hour. Latest was 5.9 hours ago.
[WARN] Process 'dj_screenstepslive' Does not exist
[WARN] There are 1 OOM's found in dmesg
shai@comp ~: $ eycheck blueandredmeannomatch
Matched query string 'blueandredmeannomatch'. Proceeding to search cloud platforms...
/Library/Ruby/Gems/1.8/gems/eycheck-0.1.0/lib/search.rb:24:in `query': No result found via privatecloud nor aws cloud, can't proceed. (EY::Eycheck::Search::NoResultFound)
from /Library/Ruby/Gems/1.8/gems/eycheck-0.1.0/lib/cli.rb:103:in `initialize'
from /Library/Ruby/Gems/1.8/gems/eycheck-0.1.0/bin/eycheck:6:in `new'
from /Library/Ruby/Gems/1.8/gems/eycheck-0.1.0/bin/eycheck:6
from /usr/bin/eycheck:19:in `load'
from /usr/bin/eycheck:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment