logging: intervals and external monitoring

Updates on developement of new features and user input/requests

Moderator: imposter

Post Reply
swankdave
Registered User
Registered User
Posts: 3
Joined: Thu Apr 03, 2008 3:39 am

logging: intervals and external monitoring

Post by swankdave »

great app

i have a render farm in my basement and want to automate centralised temp monitoring. it'd be really handy if you had a way to expose a simple service on a netowork port so reading across a network would be posible, and in that way, the spirit of the shared memory idea could be implemented simply by hitting said port on 127.0.0.1. however this can also be accomplished by "tailing" the log file, er... so to speak.

the other suggestion i have is that, while the logging feature is handy, 9.999 sec really isn't a nesscary granularity in my case, and ends up being allot of unnesscary hd accessing and file mannagement. true, i could run coreTemp on a ramdrive, but that seems kinda silly. if, perhaps, you could set the maximum timelimit between writes to something like an hour (2.5 min is what i am gunning for, but who knows what someone else might need) helpfull and/or provide the location of where your storing this value so it could be set manually (instead of via your ui) that would be really

thanks

Swank

edit: you allways think of one more thing after hitting post....
perhaps a feature to limit log file size would be really handy too (if file size gets larger than x, remove first half of file etc.)

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Thought I'd reply to this as there is some new info.

I have some plans for a service app using Core Temp's shared memory and exposing the information to the out side for a client program that would be running on the "monitoring PC".
I already have a proof of concept code working (.NET), but I don't know when development will start.

Also the logging interval has increased to 99.999 secs, I know a far cry from the 1 hour you were asking for but still an increase.
You can also disable logging and check out the new CTG (Core Temp Grapher) app. It can do logs, and is a lot more flexible in the interval settings.
http://www.alcpu.com/forums/viewtopic.php?p=1867#1867
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

swankdave
Registered User
Registered User
Posts: 3
Joined: Thu Apr 03, 2008 3:39 am

Post by swankdave »

thanks so much for the features, 99 sec is really quite enough, and the shared memory ROCKS. I ended up using shared memory to fetch cpu temp and am then writing it to snmp for monitoring and graphing via nagios (so freeking cool).

perhaps you have covered this elsewhere, but i might be good to document how, programatically, to turn off logging. (i poked around in the registery and the ini file and didn't see it, but my version might be old)

GREAT app, keep up the good work.

Swank

Marauderxp
Registered User
Registered User
Posts: 3
Joined: Sat Feb 17, 2007 12:51 pm

Post by Marauderxp »

Swankdave, just wondering how you went about doing the reading of the shared memory? I've been hunting vigorously for a way to get Coretemp's via SNMP so I can have it on my monitoring station on my other PC, but have absolutely no idea how to do anything at all with shared memory. Any insight would be very much appreciated.
Thanks
:)

swankdave
Registered User
Registered User
Posts: 3
Joined: Thu Apr 03, 2008 3:39 am

Post by swankdave »

reading the shared memory was a snap, simply by following the directions here: http://www.alcpu.com/CoreTemp/developers.html, provided you have a compiler handy. as for the snmp comunication, i must admit to being very very lazy. instead of creating a unique snmp identifier within mib space, i am currently (some day i will go back and do it right) using adventnet.snmp.snmp2 to do a network snmp write to localhost's snmp machine description field. the biggest downside to this method is that snmp is logging every write i do to the eventlog.

if someone has firsthand knowledge of creating custom snmp mib namespaces and writing to them without coming in from the outside i would gladly send them what i have allready for cleenup, (with the current event log issues, a slight instability here and there, along with the fact that its currently writing to the machine description field i am just not comfterable releasing what i have to the public) but then again, re-produceing my 113 line .net project is something a person with such knowledge should be able to do in a matter of minuites anyway, based on the examples linked to above.

Dave

Marauderxp
Registered User
Registered User
Posts: 3
Joined: Sat Feb 17, 2007 12:51 pm

Post by Marauderxp »

Thanks for the tips.
I'm only good with vbscript and Activesocket (in vbscript). Have never done any coding for writing SNMP, but I use an Activesocket script to read SNMP. I think Activesocket also will do SNMP writing? Is 'traps' the right thing or is that something else?

What program do I need to compile the .net samples on the dev page? MS Visual Studio .NET or something?

Thanks

User avatar
The Coolest
Site Admin
Site Admin
Posts: 3379
Joined: Tue Feb 18, 2003 7:48 pm
Location: Tel Aviv, Israel
Contact:

Post by The Coolest »

Yes. VS2005 and up to be exact. (.Net 2.0)
Main rig:
AMD Ryzen 9 5950X (True Spirit 140 Direct) / Mobo: Asrock Fatal1ty X470 / EVO 970 500GB + WD Blue 250GB + HDD / GPU: Dell RX 570 4GB / Mem: 2x16GB DDR4-3200 G.Skill 32GTZKW TridentZ - 32GB total / PSU: Seasonic Prime Ultra Gold 650W
NAS:
Core i7 2600K 3.4GHz @ 4.3GHz (Scythe Mugen2) / Mobo: Biostar TP67XE / 2x Inland Pro 120GB + HDDs / GPU: ATi Mach64 VT2 / Mem: 4x4GB DDR3-1600 G.Skill 8GBXL RipJawsX - 16GB total / PSU: Seasonic S12II 620W.
Secondary rigs:
Core i3 7130U / MiniPC / SanDisk SDSSDP-128G / GPU: Intel HD 620 / Mem: 1x8GB DDR3L-1600
Xeon X3430 2.40GHz @ 3.06GHz or Core i3 540 3.06GHz @ 4.0GHz (Freezer 7 Pro) / Mobo: MSI H55M-ED55 / PNY CS1111 240GB / GPU: ATI FirePro V3800 / Mem: 4x2GB DDR3-1600 G.Skill 4GBRL RipJaws - 8GB total / PSU: Seasonic S12II 620W
AMD Phenom II X4 B93 / Mobo: ASUS M2A-VM / GPU: ATI Radeon Xpress X1250 / Crucial M4 120GB / Mem: 2x2GB DDR2-800 - 4GB total / PSU: Antec 380W.

Core Temp - Accurate temperature monitor for Intel's Core/Core 2 and AMD64 processors

Post Reply

Return to “Core Temp - Development”