Code Monkey home page Code Monkey logo

temper232-perl's Introduction

temper232-perl

A collection of scripts for working with the Temper232 temperature monitor.

Install

t232.pl can be placed anywhere in the file system on a Linux system. Modify the $port variable to point to the correct virtual serial port device for your Temper232 sensor.

Mon

temper.monitor is intended for use with Jim Trocki's "Mon" https://mon.wiki.kernel.org/index.php/Main_Page. On a Debian system, place this file into the folder /usr/lib/mon/mon.d and modify its permission settings so that it is executable by Mon:

chmod a+x /usr/lib/mon/mon.d/temper.monitor

To use this monitor, create a "temp" hostgroup in /etc/mon.cf pointing to the serial device corresponding to the Temper232. In most cases this will be /dev/ttyUSB0:

#
# Define groups of hosts to monitor
#
hostgroup localhost localhost 

hostgroup temp /dev/ttyUSB0

Also in mon.cf, define the monitoring specification. Here is an example:

watch temp
  service temperature
    description Temp monitor
    interval 1m
    monitor temper.monitor -t 10 -l 10 -h 25
    period
      numalerts 10
      alert mail.alert [email protected]

temper232-perl's People

Contributors

dsartori avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.