[Voyage-linux] Getting remore temperatures and wireless signal level etc. of wrap

Beat Meier (spam-protected)
Tue Nov 15 06:34:20 HKT 2005


Hello

Here what I use to get temp. and wireless stuff.
Be warned: The level in the cacti script is reverse. I never had time 
until now
to have a look how to change this.
What I mean is that the higher the curve of the singal the lower it is ...
But there is the scale so you know what is is ;-)

And of course you must know about the security concerns that it is not 
very secure as like other stuff running in inetd.conf
and there are scripts running etc. etc.

Ok here my infos to install stuff on wrap board:

Copy attached script getTemperatures  to
  /usr/local/bin/
or where you want but remember to change the path in inetd.conf.

Add the following /etc/inetd.conf
mon0        stream  tcp nowait  nobody  /sbin/iwconfig iwconfig ath0
temp        stream  tcp nowait  nobody  /usr/local/bin/getTemperatures 
getTemperatures


Optionial add the following to /etc/services to use names instead of ports:
# Local services
mon0            10000/tcp                       # monitor ath0
mon1            10001/tcp                       # monitor ath1
mon2            10002/tcp                       # monitor ath2
mon3            10003/tcp                       # monitor ath3
temp            10010/tcp                       # monitor temperature

On the server site (where to collect the data) you must have installed 
perl and netcat
to use my cacti scripts.
You can get the wireless stuff also with for example:
  telnet <hostip> 10000
and scan the output (which does the perl script)
  radio.pl <hostip> 10000
and get temperatures with
  telnet <hostip> 10010
or
  get_remore_temp.pl


See also REAME in attachement (not much but ...)

Greetings

Beat


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20051114/07875f9e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cacti_wireless.tgz
Type: application/x-gtar
Size: 4828 bytes
Desc: not available
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20051114/07875f9e/attachment.tgz>


More information about the Voyage-linux mailing list