Search found 9 matches

by thebigbaddie
July 17th, 2013, 7:15 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

Okay so my issue with the drive script is that it shuts down the server after detecting the first HDD over the critical temperature. While that is nice I would rather know any and all HDDs over critical so I can adjust what is needed to fix the issue for the entirety of the server not just that indi...
by thebigbaddie
July 17th, 2013, 6:44 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

Fixed the issue with the CPU script and it works wonderfully. Working on the drive script now. Although I did make some changes to the script. The only real change is the addition of dates and times to the files so I can keep a record of when the core overheats. #!/bin/bash # PURPOSE: Script to chec...
by thebigbaddie
July 17th, 2013, 5:17 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

Read up some more on lm-sensors and couldnt find anything concrete. So assuming temp1 is the only variable of interest how do i modify the script to reflect that change. ####EDIT#### from cat /proc/cpuinfo I get processor : 1 vendor_id : AuthenticAMD cpu family : 21 model : 16 model name : AMD A4-53...
by thebigbaddie
July 16th, 2013, 11:04 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

Everything I have read indicates that temp1 is my core temp. However as I said this is a 2 core processor so as to why I am missing a temp I do not know. Regardless here is the last output from the sensors cmd. nct6776-isa-0290 Adapter: ISA adapter Vcore: +1.46 V (min = +0.00 V, max = +1.74 V) in1: ...
by thebigbaddie
July 16th, 2013, 10:42 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

Hi there and welcome to the forums. OK, let's take things one step at a time. The reason the script isn't working for you is because it needs to be edited to suit your CPU. Looking at the output from this script, which is your CPU? The one which says CPUTIN? What is the one which says AUXTIN, is th...
by thebigbaddie
July 16th, 2013, 10:16 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

I am also seeing that the script is only logging the sda entry and not scanning the other drives. Going to look at bash programming and see if I can find a better way to loop the drive letters and then scan. I am assuming by the popularity of your guide not many people have this issue but alteast I ...
by thebigbaddie
July 16th, 2013, 9:58 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

Okay I figured out that there was not msg.txt being created. I followed the same principle you were using for the log if statement and edited the script to reflect those actions. Here is the updated Drive script. #!/bin/bash # PURPOSE: Script to check temperature of installed hard drives and report/...
by thebigbaddie
July 16th, 2013, 9:27 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Re: Problems with cron table

So I was looking over the scripts and I figured out why I was not getting emails. Please forgive me as I am new to linux. I have more experience with Java so if you can equate it that way it may be better. As for the code, the script is executing the shutdown command before the email command. I reve...
by thebigbaddie
July 16th, 2013, 8:43 pm
Forum: General Discussion
Topic: Problems with cron table
Replies: 11
Views: 5439

Problems with cron table

I am following this wonderful guide but I have come across some issues that quite frankly I cannot solve on my own. Problem 1: I was testing the effectiveness of the HDD temp script and to confirm it was working I set the values to a value that would trigger the shutdown. Specifically I used 15 and ...