DockStar with ELV WDE1

The target was to collect local weather data via radio frequency sensors, display them via web interface and monitor the inside temperature for a specified minimum and maximum threshold. In case of leaving the allowed bandwidth, an email will be send for an alarm.

The used computer should be a low cost Linux capable device with network connection and USB interface. Actually a Seagate FreeAgent DockStar, please see TempMess.

The radio sensors for temperature and humidity are named S300TH, please see here for reference.

The radio receiver is the module WDE1 (Wetter Daten Empfänger 1 = weather data receiver 1) from company ELV, please see here for reference.

Test Data Reception

Connect the WDE1 to the USB plug and check if it is recognized:

# see if the USB device is seen
$ ls -ls /dev/ttyU*
0 crw-rw---- 1 root dialout 188, 0 Dez 26  2012 /dev/ttyUSB0

# check if your user is in the group "dialout"
$ groups

# if the user is not in the group "dialout", add it
$ sudo adduser rudi dialout
# logout and login to have the group attached to the user
$ groups

Check if you have reception of the sensors:

# if utility "socat" is not installed, do so
$ sudo apt-get install socat

# check for the data telegram
# 2 sensors at address 5 and 6
$ socat /dev/ttyUSB0,b9600 stdout
$1;1;;;;;;19,8;9,2;;;;;;;59;85;;;;;;;;0

# inside temperature = 19,8 °C, outside temperature =  9,2 °C
# inside humidity    = 59 %,    outside humidity    = 85 %

USB setup

In order to have always the same device name /dev/wde1, an udev rule must be setup for the USB-TTL converter.

# show attributes
$ /sbin/udevadm info -a -n /dev/ttyUSB0
...
  looking at parent device '/devices/platform/orion-ehci.0/usb1/1-1/1-1.2/1-1.2:1.0':
    KERNELS=="1-1.2:1.0"
    SUBSYSTEMS=="usb"
...
    ATTRS{manufacturer}=="Silicon Labs"
    ATTRS{serial}=="RVADG7DWPHPQF2UG"
...

# Edit new file /etc/udev/rules.d/90-wde1.rules
$ cat /etc/udev/rules.d/90-wde1.rules
SUBSYSTEMS=="usb", ATTRS{manufacturer}=="Silicon Labs", ATTRS{serial}=="RVADG7DWPHPQF2UG", NAME="wde1", GROUP="dialout", MODE="0666"

# generate new device name "wde1"
$ sudo udevadm trigger

# test device name
$ ls -ls /dev/wd*
0 crw-rw-rwT 1 root dialout 188, 0 Mär  8 10:57 /dev/wde1

Troubleshooting

If the USB device WDE1 is not seen:

# check for needed kernel modules
$ lsmod
...
cp210x                 17514  0 
usbserial              37173  1 cp210x
...

# check for USB device
$ lsusb
...
Bus 002 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device

Nagios clone Shinden

I have tried to install Shinden (Python based clone of Nagios) in order to make the data processing easier.

But it looks like, that it is too complex. Instead, a more simple application programming was setup, pleas see TempMess.

Python preparation

Regarding the README file of the Shinden 1.2.2 package, Python must be extended with some modules.

Add setuptools - look on http://pypi.python.org/pypi/setuptools/ and download setuptools for Python 2.7

# change to Install folder
$ cd Install

# download it for Python version 2.7
$ wget -no-check-certificate https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea

# install it
$ sudo sh setuptools-0.6c11-py2.7.egg
Processing setuptools-0.6c11-py2.7.egg
Copying setuptools-0.6c11-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding setuptools 0.6c11 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin

Add pip for easier installing

sudo easy_install pip

Add Pyro4

$ sudo easy_install Pyro4
Best match: Pyro4 4.17
Downloading http://pypi.python.org/packages/source/P/Pyro4/Pyro4-4.17.tar.gz#md5=5d4a03e4daa5b3b45999d4cf75563d29
Processing Pyro4-4.17.tar.gz
Running Pyro4-4.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3FXHzA/Pyro4-4.17/egg-dist-tmp-P0sMPF
Pyro version = 4.17
warning: no previously-included files matching '*/.svn/*' found anywhere in distribution
warning: no previously-included files matching '*/.idea/*' found anywhere in distribution
warning: no previously-included files matching '*.class' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.coverage' found anywhere in distribution
warning: no previously-included files matching 'nosetests.xml' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
Pyro4.utils.flame: module MAY be using inspect.getsource
Pyro4.utils.flame: module MAY be using inspect.getsource
Adding Pyro4 4.17 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/Pyro4-4.17-py2.7.egg
Processing dependencies for Pyro4
Finished processing dependencies for Pyro4

Add Pymongo

# add tools for compiling
$ sudo apt-get install build-essential python-dev

$ sudo easy_install pymongo
Using /usr/local/lib/python2.7/dist-packages/pymongo-2.4.1-py2.7-linux-i686.egg
Finished processing dependencies for pymongo

Python-pycurl version 7.19.0 is already installed.

Add ujson

$ sudo easy_install ujson
Processing ujson-1.23.zip
Installed /usr/local/lib/python2.7/dist-packages/ujson-1.23-py2.7-linux-i686.egg

Add pysqlite2

$ sudo apt-get install python-pysqlite2
python-pysqlite2 (2.6.3-2build1) wird eingerichtet ...

Add kombu

$ sudo pip install librabbitmq
  Downloading librabbitmq-1.0.0.tar.gz (476kB)
Successfully installed librabbitmq

Install Shinken

Install shinken

$ cd shinken-1.2.2/

$ sudo install -i
+--------------------------------------------------------------------------------
| Verifying compatible distros
+--------------------------------------------------------------------------------
 > Found DEBIAN (Ubuntu 12 i386)
 > Version checking for Ubuntu is not needed
+--------------------------------------------------------------------------------
| Checking for existing installation
+--------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
| Checking prerequisites
+--------------------------------------------------------------------------------
 > Checking for wget: OK
 > Checking for sed: OK
 > Checking for awk: OK
 > Checking for grep: OK
 > Checking for python: OK
 > Checking for bash: OK
 > Package build-essential already installed 
 > Installing libperl-dev 
 > Installing python-setuptools 
 > Installing libsqlite3-dev 
 > Package python-dev already installed 
 > Installing pyro 
 > Installing sqlite3 
 > Package nmap already installed 
 > Package unzip already installed 
 > Installing libmysqlclient-dev 
 > Installing python-ldap 
 > Installing libevent-dev 
 > Module paramiko (paramiko) not found. Installing...
 > Module netifaces (netifaces) not found. Installing...
 > Module simplejson found.
 > Module pysqlite found.
 > Module MySQL_python (MySQLdb) not found. Installing...
 > Module pymongo found.
 > Module kombu (kombu) not found. Installing...
+--------------------------------------------------------------------------------
| Creating user
+--------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
| Relocate source tree to /usr/local/shinken
+--------------------------------------------------------------------------------
 > relocating macro /usr/local/shinken/install.d/tools/macros/enable_retention_mongo.macro
 > relocating macro /usr/local/shinken/install.d/tools/macros/disable_npcd.macro
 > relocating macro /usr/local/shinken/install.d/tools/macros/set_webui_ouptput_length.macro
 > relocating macro /usr/local/shinken/install.d/tools/macros/control_satelites.macro
 > relocating macro /usr/local/shinken/install.d/tools/macros/enable_log_mongo.macro
 > relocating macro /usr/local/shinken/install.d/tools/macros/enable_retention.macro
 > relocating macro /usr/local/shinken/install.d/tools/macros/enable_npcd.macro
 > relocate nagios plugin path
 > Processing ./contrib/nconf/deployment.ini
 > Processing ./etc/resource.cfg
 > Processing ./etc/shinken-specific.cfg
 > Processing ./etc/shinken-specific.cfg.orig
 > Processing ./external_commands/ACKNOWLEDGE_HOST_PROBLEM.sh
 > Processing ./external_commands/ADD_POLLER.sh
 > Processing ./external_commands/CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD.sh
 > Processing ./external_commands/PROCESS_HOST_CHECK_RESULT.sh
 > Processing ./FOR_DEV
 > Processing ./FROM_NAGIOS_TO_SHINKEN
 > Processing ./install
 > Processing ./install.d/config.nconf/deployment.ini
 > Processing ./install.d/config.nconf/nconf.php
 > Processing ./install.d/shinken.conf
 > Processing ./install.d/tools/macros/control_satelites.macro
 > Processing ./install.d/tools/macros/disable_npcd.macro
 > Processing ./install.d/tools/macros/enable_log_mongo.macro
 > Processing ./install.d/tools/macros/enable_npcd.macro
 > Processing ./install.d/tools/macros/enable_retention.macro
 > Processing ./install.d/tools/macros/enable_retention_mongo.macro
 > Processing ./install.d/tools/macros/set_webui_ouptput_length.macro
 > Processing ./libexec/eue/glpi.ini
 > Processing ./libexec/eue/glpi.ini.in
 > Processing ./libexec/fs_discovery_runner.py
 > Processing ./libexec/SAN_discover_runner.py
 > Processing ./libexec/vmware_discovery_runner.py
 > Processing ./README.rst-1.2.2.txt
 > Processing ./shinken/modules/npcdmod_broker.py
 > Processing ./shinken/objects/config.py
 > Processing ./shinken/webui/plugins/eue/eue.py
+--------------------------------------------------------------------------------
| Set some configuration directives
+--------------------------------------------------------------------------------
 > Processing /usr/local/shinken/etc/brokerd.ini
 > Going to /usr/local/shinken
 > Setting workdir to /usr/local/shinken/var in /usr/local/shinken/etc/brokerd.ini
 > Setting user to shinken in /usr/local/shinken/etc/brokerd.ini
 > Setting group to shinken in /usr/local/shinken/etc/brokerd.ini
 > Processing /usr/local/shinken/etc/pollerd.ini
 > Going to /usr/local/shinken
 > Setting workdir to /usr/local/shinken/var in /usr/local/shinken/etc/pollerd.ini
 > Setting user to shinken in /usr/local/shinken/etc/pollerd.ini
 > Setting group to shinken in /usr/local/shinken/etc/pollerd.ini
 > Processing /usr/local/shinken/etc/reactionnerd.ini
 > Going to /usr/local/shinken
 > Setting workdir to /usr/local/shinken/var in /usr/local/shinken/etc/reactionnerd.ini
 > Setting user to shinken in /usr/local/shinken/etc/reactionnerd.ini
 > Setting group to shinken in /usr/local/shinken/etc/reactionnerd.ini
 > Processing /usr/local/shinken/etc/receiverd.ini
 > Going to /usr/local/shinken
 > Setting workdir to /usr/local/shinken/var in /usr/local/shinken/etc/receiverd.ini
 > Setting user to shinken in /usr/local/shinken/etc/receiverd.ini
 > Setting group to shinken in /usr/local/shinken/etc/receiverd.ini
 > Processing /usr/local/shinken/etc/schedulerd.ini
 > Going to /usr/local/shinken
 > Setting workdir to /usr/local/shinken/var in /usr/local/shinken/etc/schedulerd.ini
 > Setting user to shinken in /usr/local/shinken/etc/schedulerd.ini
 > Setting group to shinken in /usr/local/shinken/etc/schedulerd.ini
 > Enable retention for broker scheduler and arbiter
 > Installing startup scripts
 > Enabling Ubuntu startup script
+--------------------------------------------------------------------------------
| Install mongodb server
+--------------------------------------------------------------------------------
 > repository configuration not found. Adding 10 gen repository
 > Installing mongodb server
+--------------------------------------------------------------------------------
| Applying various fixes
+--------------------------------------------------------------------------------
 > Starting shinken
+------------------------------------------------------------------------------
| Shinken is now installed on your server 
| The install location is: /usr/local/shinken
| The configuration folder is: /usr/local/shinken/etc
| 
| The Web Interface is available at: http://localhost:7767
| The default credentials for the webui are admin/admin
| 
| You can now learn how to configure shinken at: http://www.shinken-monitoring.org/wiki
+------------------------------------------------------------------------------
 > updated configuration of module[3] passwd=/usr/local/shinken/etc/htpasswd.users updated configuration of module[3] passwd=/usr/local/shinken/etc/htpasswd.users

Install Shinken extensions

Install nagios-plugins:

$ sudo ./install -p nagios-plugins

 > Found installation parameters
 --> ETC=/usr/local/shinken/etc
 --> VAR=/usr/local/shinken/var
 --> LIBEXEC=/usr/local/shinken/libexec
 --> TARGET=/usr/local/shinken
 > checking if shinken is installed in /usr/local/shinken
+--------------------------------------
| Install nagios plugins
+--------------------------------------
 > Installing prerequisites
 > Getting nagios-plugins archive
 > Extract archive content 
 > Configure source tree
 > Building ....
 > Installing

Install check_mem:

$ sudo ./install -p check_mem

 > Downloading check_mem
 > Extracting archive 
 > Installing plugin

Install manubulon:

$ sudo ./install -p manubulon

+--------------------------------------------------------------------------------
| Install manubulon plugins
+--------------------------------------------------------------------------------
 > Installing prerequisites
 > Getting manubulon archive
 > Extract archive content 
 > Relocate libs
 => Processing /tmp/nagios_plugins/check_snmp_boostedge.pl
 => Installing /tmp/nagios_plugins/check_snmp_boostedge.pl
 => Processing /tmp/nagios_plugins/check_snmp_cpfw.pl
 => Installing /tmp/nagios_plugins/check_snmp_cpfw.pl
 => Processing /tmp/nagios_plugins/check_snmp_css_main.pl
 => Installing /tmp/nagios_plugins/check_snmp_css_main.pl
 => Processing /tmp/nagios_plugins/check_snmp_css.pl
 => Installing /tmp/nagios_plugins/check_snmp_css.pl
 => Processing /tmp/nagios_plugins/check_snmp_env.pl
 => Installing /tmp/nagios_plugins/check_snmp_env.pl
 => Processing /tmp/nagios_plugins/check_snmp_int.pl
 => Installing /tmp/nagios_plugins/check_snmp_int.pl
 => Processing /tmp/nagios_plugins/check_snmp_linkproof_nhr.pl
 => Installing /tmp/nagios_plugins/check_snmp_linkproof_nhr.pl
 => Processing /tmp/nagios_plugins/check_snmp_load.pl
 => Installing /tmp/nagios_plugins/check_snmp_load.pl
 => Processing /tmp/nagios_plugins/check_snmp_mem.pl
 => Installing /tmp/nagios_plugins/check_snmp_mem.pl
 => Processing /tmp/nagios_plugins/check_snmp_nsbox.pl
 => Installing /tmp/nagios_plugins/check_snmp_nsbox.pl
 => Processing /tmp/nagios_plugins/check_snmp_process.pl
 => Installing /tmp/nagios_plugins/check_snmp_process.pl
 => Processing /tmp/nagios_plugins/check_snmp_storage.pl
 => Installing /tmp/nagios_plugins/check_snmp_storage.pl
 => Processing /tmp/nagios_plugins/check_snmp_vrrp.pl
 => Installing /tmp/nagios_plugins/check_snmp_vrrp.pl
 => Processing /tmp/nagios_plugins/check_snmp_win.pl
 => Installing /tmp/nagios_plugins/check_snmp_win.pl

Install pnp4nagios:

$ sudo ./install -a pnp4nagios

+---------------------------------------
| Install pnp4nagios addon
+---------------------------------------
 > Found installation parameters
 --> ETC=/usr/local/shinken/etc
 --> VAR=/usr/local/shinken/var
 --> LIBEXEC=/usr/local/shinken/libexec
 --> TARGET=/usr/local/shinken
 > Installing prerequisites
 > Getting pnp4nagios archive
 > Extracting archive
 > Configuring source tree
 > Building ....
 > Installing
 > Fix htpasswd.users path
 > Enable npcdmod
 > using ip address: 
 > Starting npcd

Install mongodb:

$ sudo ./install -a mongodb

+--------------------------------------
| Install mongodb server
+--------------------------------------
 > 10gen repository found.
 > Mongodb server already installed

Setup shinken

In order to allow an external command file a folder must be setup

# for file nagios.cmd
$ sudo mkdir /usr/local/shinken/var/rw
# set user:group to shinken:shinken
# set permissions to 775

Read more on external commands. Unfortunately the default of the Check external command option is not clear.

# in file /usr/local/shinken/shinken/objects/config.py
# in line 124 you will find
#   'check_external_commands':  BoolProp(default='1'),

Shinden, data input

The temperature and humidity data are input via Submitting Passive Service Check Results via file var/rw/nagios.cmd.

A service must be defined in Shinken before Shinken will accept passive check results for it! Shinken will ignore all check results for services that have not been configured before it was last (re)started.

The external command is PROCESS_SERVICE_CHECK_RESULT. This is used to submit a passive check result for a particular service. The "return_code" field should be one of the following: 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN. The "plugin_output" field contains text output from the service check, along with optional performance data.

See also book Learning Nagios 3.0, page 170, passive checks.

Shinken Start

On the first try Shinken is started:

$ sudo /etc/init.d shinken start

Shinken, WebUI

Start the Web User Interface with http://localhost:7767

Installing Graphite

Graphite is a RRDtool clone, written in Python. It needs Apache2 for web presentation.

Installing is done via pip.

$ sudo pip install carbon

Downloading/unpacking carbon
  Downloading carbon-0.9.10.tar.gz (42kB): 42kB downloaded
  Running setup.py egg_info for package carbon
    
    package init file 'lib/twisted/plugins/__init__.py' not found (or not a regular file)
    warning: no files found matching '*' under directory 'conf/'
    warning: no files found matching '*' under directory 'distro/'
    warning: no previously-included files found matching 'conf/*.conf'
Downloading/unpacking twisted (from carbon)
  Downloading Twisted-12.3.0.tar.bz2 (2.6MB): 2.6MB downloaded
  Running setup.py egg_info for package twisted
    
Downloading/unpacking txamqp (from carbon)
  Downloading txAMQP-0.6.1.tar.gz
  Running setup.py egg_info for package txamqp
    
Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.6.0 in /usr/lib/python2.7/dist-packages (from twisted->carbon)
Installing collected packages: carbon, twisted, txamqp
  Running setup.py install for carbon
    package init file 'lib/twisted/plugins/__init__.py' not found (or not a regular file)
    changing mode of build/scripts-2.7/carbon-aggregator.py from 644 to 755
    changing mode of build/scripts-2.7/carbon-cache.py from 644 to 755
    changing mode of build/scripts-2.7/carbon-relay.py from 644 to 755
    changing mode of build/scripts-2.7/validate-storage-schemas.py from 644 to 755
    changing mode of build/scripts-2.7/carbon-client.py from 644 to 755
    
    warning: no files found matching '*' under directory 'conf/'
    warning: no files found matching '*' under directory 'distro/'
    warning: no previously-included files found matching 'conf/*.conf'
    changing mode of /opt/graphite/bin/carbon-aggregator.py to 755
    changing mode of /opt/graphite/bin/carbon-cache.py to 755
    changing mode of /opt/graphite/bin/carbon-relay.py to 755
    changing mode of /opt/graphite/bin/validate-storage-schemas.py to 755
    changing mode of /opt/graphite/bin/carbon-client.py to 755
  Running setup.py install for twisted
    
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o
    building 'twisted.runner.portmap' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/runner/portmap.c -o build/temp.linux-i686-2.7/twisted/runner/portmap.o
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7/twisted/runner/portmap.o -o build/lib.linux-i686-2.7/twisted/runner/portmap.so
    building 'twisted.test.raiser' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/test/raiser.c -o build/temp.linux-i686-2.7/twisted/test/raiser.o
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7/twisted/test/raiser.o -o build/lib.linux-i686-2.7/twisted/test/raiser.so
    building 'twisted.python.sendmsg' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c twisted/python/sendmsg.c -o build/temp.linux-i686-2.7/twisted/python/sendmsg.o
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro build/temp.linux-i686-2.7/twisted/python/sendmsg.o -o build/lib.linux-i686-2.7/twisted/python/sendmsg.so
    changing mode of build/scripts-2.7/trial from 644 to 755
    changing mode of build/scripts-2.7/twistd from 644 to 755
    changing mode of build/scripts-2.7/tapconvert from 644 to 755
    changing mode of build/scripts-2.7/tap2rpm from 644 to 755
    changing mode of build/scripts-2.7/manhole from 644 to 755
    changing mode of build/scripts-2.7/tap2deb from 644 to 755
    changing mode of build/scripts-2.7/pyhtmlizer from 644 to 755
    changing mode of build/scripts-2.7/ckeygen from 644 to 755
    changing mode of build/scripts-2.7/conch from 644 to 755
    changing mode of build/scripts-2.7/tkconch from 644 to 755
    changing mode of build/scripts-2.7/cftp from 644 to 755
    changing mode of build/scripts-2.7/mailmail from 644 to 755
    changing mode of build/scripts-2.7/lore from 644 to 755
    changing mode of /usr/local/bin/ckeygen to 755
    changing mode of /usr/local/bin/trial to 755
    changing mode of /usr/local/bin/twistd to 755
    changing mode of /usr/local/bin/conch to 755
    changing mode of /usr/local/bin/tapconvert to 755
    changing mode of /usr/local/bin/tkconch to 755
    changing mode of /usr/local/bin/tap2rpm to 755
    changing mode of /usr/local/bin/cftp to 755
    changing mode of /usr/local/bin/manhole to 755
    changing mode of /usr/local/bin/tap2deb to 755
    changing mode of /usr/local/bin/lore to 755
    changing mode of /usr/local/bin/mailmail to 755
    changing mode of /usr/local/bin/pyhtmlizer to 755
  Running setup.py install for txamqp
    
Successfully installed carbon twisted txamqp
Cleaning up...
rudi@rudi-VB:~$ sudo pip install whisper
Downloading/unpacking whisper
  Downloading whisper-0.9.10.tar.gz
  Running setup.py egg_info for package whisper
    
Installing collected packages: whisper
  Running setup.py install for whisper
    changing mode of build/scripts-2.7/whisper-create.py from 644 to 755
    changing mode of build/scripts-2.7/rrd2whisper.py from 644 to 755
    changing mode of build/scripts-2.7/whisper-update.py from 644 to 755
    changing mode of build/scripts-2.7/whisper-resize.py from 644 to 755
    changing mode of build/scripts-2.7/whisper-fetch.py from 644 to 755
    changing mode of build/scripts-2.7/whisper-set-aggregation-method.py from 644 to 755
    changing mode of build/scripts-2.7/whisper-merge.py from 644 to 755
    changing mode of build/scripts-2.7/whisper-dump.py from 644 to 755
    changing mode of build/scripts-2.7/whisper-info.py from 644 to 755
    
    changing mode of /usr/local/bin/whisper-create.py to 755
    changing mode of /usr/local/bin/rrd2whisper.py to 755
    changing mode of /usr/local/bin/whisper-update.py to 755
    changing mode of /usr/local/bin/whisper-resize.py to 755
    changing mode of /usr/local/bin/whisper-fetch.py to 755
    changing mode of /usr/local/bin/whisper-set-aggregation-method.py to 755
    changing mode of /usr/local/bin/whisper-merge.py to 755
    changing mode of /usr/local/bin/whisper-dump.py to 755
    changing mode of /usr/local/bin/whisper-info.py to 755
Successfully installed whisper
Cleaning up...
$ sudo pip install graphite-web

  Downloading graphite-web-0.9.10.tar.gz (2.1MB): 2.1MB downloaded
  Running setup.py egg_info for package graphite-web
    
    warning: no files found matching '*' under directory 'distro/'
    warning: no files found matching '*.html' under directory 'webapp/graphite/'
    warning: no files found matching '*' under directory 'webapp/content/'
    warning: no previously-included files found matching 'webapp/graphite/local_settings.py'
    warning: no previously-included files found matching 'conf/*.conf'
Installing collected packages: graphite-web
  Running setup.py install for graphite-web
    changing mode of build/scripts-2.7/run-graphite-devel-server.py from 644 to 755
    changing mode of build/scripts-2.7/build-index.sh from 644 to 755
    
    warning: no files found matching '*' under directory 'distro/'
    warning: no files found matching '*.html' under directory 'webapp/graphite/'
    warning: no files found matching '*' under directory 'webapp/content/'
    warning: no previously-included files found matching 'webapp/graphite/local_settings.py'
    warning: no previously-included files found matching 'conf/*.conf'
    changing mode of /opt/graphite/bin/run-graphite-devel-server.py to 755
    changing mode of /opt/graphite/bin/build-index.sh to 755
Successfully installed graphite-web

Graphite Tools

The following whisper files are installed in:

/usr/local/lib/python2.7/dist-packages/whisper.pyc
/usr/local/lib/python2.7/dist-packages/whisper.py
/usr/local/lib/python2.7/dist-packages/whisper-0.9.10-py2.7.egg-info
/usr/local/bin/whisper-create.py
/usr/local/bin/whisper-update.py
/usr/local/bin/whisper-resize.py
/usr/local/bin/whisper-fetch.py
/usr/local/bin/whisper-set-aggregation-method.py
/usr/local/bin/whisper-merge.py
/usr/local/bin/whisper-dump.py
/usr/local/bin/whisper-info.py
/usr/share/espeak-data/voices/!v/whisperf
/usr/share/espeak-data/voices/!v/whisper

In /opt/graphite/bin can be found:

4 -rwxr-xr-x 1 root root  666 Dez 27 19:16 build-index.sh
4 -rwxr-xr-x 1 root root  957 Dez 27 19:15 carbon-aggregator.py
4 -rwxr-xr-x 1 root root  957 Dez 27 19:15 carbon-cache.py
8 -rwxr-xr-x 1 root root 4324 Dez 27 19:15 carbon-client.py
4 -rwxr-xr-x 1 root root  957 Dez 27 19:15 carbon-relay.py
4 -rwxr-xr-x 1 root root 1516 Dez 27 19:16 run-graphite-devel-server.py
4 -rwxr-xr-x 1 root root 2256 Dez 27 19:15 validate-storage-schemas.py

List of pages in this category:

-- RudolfReuter 2012-12-26 10:29:08


Go back to CategoryDockStar or FrontPage ; KontaktEmail (ContactEmail)