TECHZEN Zenoss User Community ARCHIVE  

Gathering temperature data from Apple application via ssh and command line

Subject: Gathering temperature data from Apple application via ssh and command line
Author: Paul Manno
Posted: 2014-04-08 18:05


I downloaded and installed tempmonitor ( for a number of Mac Pros that I need to monitor. The app includes a CLI that will give output such as:

CPU Core 01: 39 C
CPU Core 06: 36 C
SMART Disk WDC WD1001FALS-41Y6A1 (WD-WCATRC412825): 32 C


How can I collect this data I think I need to create a Modeler, to model the temperature sensors, then collect the data using zencommand. I think I need to do this all thorough a ZenPack. Most of the example ZenPacks I find out there are for SNMP data gathering, not zencommand. Has anyone done anthing like this before, and if so, could you please post an example so I can get started


Subject: There are two ways you can do
Author: [Not Specified]
Posted: 2014-04-10 15:03

There are two ways you can do this:

1- Add a command data point where Zenoss will get the data by executing a shell command on the Mac, I've posted a detailed how-to in the old forum, see if you can find it, if not let me know.

2- You could extend the Net-SNMP agent on the Mac (google it, lots of good docs on this). This would allow the Mac to run any shell script and return the data on an SNMP OID. Then you just add a standard SNMP datapoint in Zenoss and you are good to go.

I will be giving a seminar on SNMP monitoring on the Mac at the 2014 Penn State Mac Admin conference this summer, FYI

If you need more information let me know.


Subject: Thanks!
Author: Paul Manno
Posted: 2014-04-10 18:07

Got it going by writing a script to pull what I need, then extending SNMP. Thanks for your thoughts!

< Previous
Old forums, Old Zenpacks and dead links
Problem using Microsoft WIndows 2.0.2 ZenPack