It is currently 12. Dec 2017, 07:31

Tools: Calendar Calendar   Games Games   Gallery Gallery   Downloads Downloads   

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ] Go to page  Previous  1, 2
AuthorMessage
 Post subject: Re: Script to check your crunchers to make sure they are up.
PostPosted: 26. May 2009, 07:28 
User avatar

Joined: 03.2009
Posts: 66
Location: Republic of Texas, Central
Gender: Male
Dotsch wrote:
Code:
   #check BOINC GUI PRC port
   echo "\n" | nc  -v -t -q 1 $HOST 31416 > /dev/null 2>&1
   if [ "$?" = "0" ]; then
      printf "OK     "
    else
      printf "DOWN   "
      logger "$0 : BOINC test $HOST DOWN !"
   


Since my pinger.sh doesn't run on the Dotsch/UX server but on my desktop machine (Ubuntu) I took the above and worked it into my pinger.sh so if it get's a good ping where it should it then tests 31416 as above.

Latest version is HERE.

_________________
- da shu @ the BOINC farm, SkipsJunk, Guru Mountain
- BoincDV is on-line! Click HERE
Phillip Warren Anderson works on my RAM & CPU problems


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] Go to page  Previous  1, 2

All times are UTC + 1 hour


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
 
cron