How to get data from my Temperature Sensor to cacti ?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
champasit
Posts: 2
Joined: Tue Oct 01, 2013 9:00 pm

How to get data from my Temperature Sensor to cacti ?

Post by champasit »

Dear sir

Now i have Temperature sensor project from arduino.
And make web service for show the data.
Example
http://192.168.1.100/ --> my sensor will return two value.
32 --> is Temperature
60 --> is Humidity
-- about data format i can change to anything not fixed --

How to make the scripts for get the data to cacti and gen graph?

Now i have cacti for monitor my network switch.

Please advise to me :)
Thailand
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: How to get data from my Temperature Sensor to cacti ?

Post by BSOD2600 »

Searched the forum yet? Lots of examples. also there are guides in http://docs.cacti.net/
champasit
Posts: 2
Joined: Tue Oct 01, 2013 9:00 pm

Re: How to get data from my Temperature Sensor to cacti ?

Post by champasit »

Dear all

I'm Searched over 100 forum,still no ider for make the script.

please help me to give the example pl script



Thank you
edwinlee
Posts: 2
Joined: Thu Oct 24, 2013 9:34 pm

Re: How to get data from my Temperature Sensor to cacti ?

Post by edwinlee »

Hi

Found at http://openhardware.gridshield.net/home ... ure-sensor

May you try using snmp to get those record.

Example command:
snmpget -v 1 -c public 192.168.10.123 1.3.6.1.3.2009.0.3.0

The Arduino sensor returns the following:
SNMPv2-SMI::experimental.2009.0.3.0 = INTEGER: 2080
CactiEZ
Centos 6 x64
Cacti v0.8.8a
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests