Never under estimate the power of a bluetooth headset when doing tech support !
Currently reinstall CEntOS 5 on my main server and decided to put publicize my checklist. Check here for updates.
Think Globally, Act Locally, then scale up !!!
Arthur C. Clarke formulated the following three “laws” of prediction:
I upgraded my WIFI Bridge to a clients T-1 to use the Bullet2HP radio endpoint. System is definitely added to my tools. More detailed setup to come.
Can we see the irony ?
The system uses the following
Setup
Scripts
:::::::::::::: historylog.sh :::::::::::::: #!/bin/sh cat
:::::::::::::: watts2fb.sh :::::::::::::: #!/bin/sh /home/vitech/scripts/watts2fb.pl > /home/vitech/logs/snapshottusage.txt /home/vitech/scripts/smtp-cli –verbose –from=XXX@gmail.com –to post@XX.posterous.com –data /home/vitech/logs/snapshottusage.txt
:::::::::::::: wattslog.sh :::::::::::::: #!/bin/sh date > /home/vitech/logs/currentusage.txt /usr/local/bin/wattsup -c 1 ttyUSB0 watts >> /home/vitech/logs/currentusage.txt /home/vitech/scripts/historylog.sh
:::::::::::::: watts2fb.pl :::::::::::::: #!/usr/bin/perl open FILE, “/home/vitech/logs/currentusage.txt” or die $!; $i=0; while () { @line = split (/ /,$_); chomp $line[5]; if ( $i == 0 ) { $tstamp=$line[1]. ‘ ‘ . $line[2] . ‘ ‘. $line[5]. ‘ ‘ . $line[3] ; } if ( $i == 1 ) { $watts = $line[0]; } $i++; } $send = $tstamp . ‘ ‘ . $watts; print “Subject : Watts used $wattsn”; print “@line watts”;
|
Here is where I list my tools of the trade :
As always more to come.