LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-29-2016, 02:38 AM   #1
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Rep: Reputation: Disabled
Temperature logging software


What graphical software do you recommend for logging multiple temperature (12 in total) sensors 24/7 long term posibly for two years. Which is capable of producing reports Etc.

I'll tackle the hardware requirements in a seperate thread in the hardware forum.

As usual... many thanks in anticipation.
 
Old 09-29-2016, 07:11 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,945

Rep: Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314
I probably would not use a GUI program. I would write a program to save the data as a CSV file of a fixed number of samples. A CSV file is basically operating system agnostic and can be imported into any program where you can create graphs and reports as desired.
 
Old 09-29-2016, 07:45 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
snmp+rrdtool?

Log now, GUI later.
 
1 members found this post helpful.
Old 09-29-2016, 08:42 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,203

Rep: Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128
Quote:
Originally Posted by Habitual View Post
snmp+rrdtool?
Log now, GUI later.
+1 for this. RRDtool would be the way to go. Take a look at MRTG to see some examples of the graphs you can generate.

You say "24/7", but don't tell us the actual frequency of the sampling...every hour? Minute? Second? This will affect how things can be stored/graphed.
 
Old 09-29-2016, 09:27 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,945

Rep: Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314
The OP created separate threads.

http://www.linuxquestions.org/questi...re-4175590389/
 
Old 09-29-2016, 09:38 AM   #6
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Yes that is the way log the data... pop it into spreadsheets and away to go. Frequency of sampling... now here is the rub.. every 30 minutes 12 sensors equates to 288 readings per day. Double that frequency to every 15 minutes makes 576 per day or 211k per year...this is certainly possible.
 
Old 09-29-2016, 09:52 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,945

Rep: Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314Reputation: 4314
211K is not a problem. Libreoffice Calc and Excel can handle 1 million rows. I do not know what the Calc data limitation is for charts. If as suggested you create separate files for months (for example) you can manage data better and keep data loss or possibly corruption to hopefully zero. You can create a separate sheet for each month and combine them into a single chart if limits are not exceeded.

Last edited by michaelk; 09-29-2016 at 09:57 AM.
 
Old 09-29-2016, 09:56 AM   #8
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Thanks RRDTOOL is new to me but after a quick glance look promising. ..
 
Old 09-29-2016, 10:01 AM   #9
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Yes 211k is well within the bounds of managible manipulation is what I ment. Especially if I were to capture data more frequently say every five minutes into monthly chunks.
 
Old 09-29-2016, 10:04 AM   #10
hdp160
Member
 
Registered: Aug 2012
Posts: 139

Original Poster
Rep: Reputation: Disabled
Can't see straight away, how to use the snmp solution?
 
Old 09-30-2016, 08:29 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,203

Rep: Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128Reputation: 7128
Quote:
Originally Posted by hdp160 View Post
Can't see straight away, how to use the snmp solution?
Investigate the snmpwalk and/or snmpget commands. You can query a particular piece of an SNMP OID, and return a specific value. That is the value you'd log.

I know you've got another thread for your hardware, but this:
https://www.pcnation.com/web/details...np0aAj0f8P8HAQ

...is $85, and has all the bells and whistles you'd need. Personally, I'd grab an off-the-shelf unit like this, and sidestep a lot of challenges you'd have with your project. Query it with SNMP, and shove the values into a MySQL database easily, with a fairly simple bash script. From THERE, you have a huge range of options on how to display the data. ODBC connection to Excel/Libreoffice will easily do it, Google's graphing libraries also will work easily, not to mention the enormous collection of PHP scripts already written to display MySQL data.

That's just my opinion, which is worth exactly what you paid for it.
 
Old 09-30-2016, 11:39 PM   #12
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 948

Rep: Reputation: 216Reputation: 216Reputation: 216
gnuMeric (a spreadsheet) is usually supposed to work well with large data.

OK
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Temperature inside computer box and CPU temperature Lola Kews Linux - Hardware 14 11-29-2013 06:22 PM
What logging software do you recommend? Or should I just write a script? bskrakes Linux - Software 2 02-28-2008 01:55 PM
syslog-ng and logging software gatsby Linux - Software 1 04-24-2007 11:15 AM
Exercise Logging Software Jonititan Linux - Software 3 03-16-2007 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration