Created
February 1, 2012 08:43
-
-
Save jbraeuer/1715985 to your computer and use it in GitHub Desktop.
Install graphite 0.9.9 on Ubuntu 11.10 using PACKAGES
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
# This script needs "fpm". If you dont have it, | |
# run "gem install fpm" | |
# | |
# You also need to "apt-get install python-setuptools" (otherwise fpm fails) | |
clean() { | |
rm -rf whisper-0.9.9 carbon-0.9.9 graphite-web-0.9.9 | |
rm -f python*.deb | |
} | |
download() { | |
[ -e graphite-web-0.9.9.tar.gz ] || wget http://launchpad.net/graphite/0.9/0.9.9/+download/graphite-web-0.9.9.tar.gz | |
[ -e carbon-0.9.9.tar.gz ] || wget http://launchpad.net/graphite/0.9/0.9.9/+download/carbon-0.9.9.tar.gz | |
[ -e whisper-0.9.9.tar.gz ] || wget http://launchpad.net/graphite/0.9/0.9.9/+download/whisper-0.9.9.tar.gz | |
} | |
extract() { | |
tar -zxvf graphite-web-0.9.9.tar.gz | |
tar -zxvf carbon-0.9.9.tar.gz | |
tar -zxvf whisper-0.9.9.tar.gz | |
} | |
package() { | |
fpm -s python -t deb txamqp | |
fpm -s python -t deb -S 2.7 --depends "python" --depends "python-support" whisper-0.9.9/setup.py | |
fpm -s python -t deb -S 2.7 --depends "python" --depends "python-support" \ | |
--depends "python-twisted" carbon-0.9.9/setup.py | |
fpm -s python -t deb -S 2.7 --depends "python" --depends "python-support" \ | |
--depends "python-twisted" \ | |
--depends "python-cairo" \ | |
--depends "python-django" \ | |
--depends "python-django-tagging" \ | |
--depends "python-ldap" \ | |
--depends "python-memcache" \ | |
--depends "python-pysqlite2" \ | |
--depends "python-sqlite" \ | |
--depends "libapache2-mod-python" \ | |
graphite-web-0.9.9/setup.py | |
} | |
install() { | |
sudo dpkg -i python*.deb | |
sudo apt-get -f install | |
} | |
download | |
clean | |
extract | |
package | |
install |
You can insert data via network (tcp). So netcat works from the
command line. Or C, Java, etc...
Lg, Jens
Am 01.04.2012 um 01:06 schrieb tortura
[email protected]:
… first : python 3.2 won't work on debian
and then some graphite dependencies
now while its running, is there a chance to insert data via java, c , python or script, i just didn't get it clearly, its logging things i didn't ask to like all the stuff in carbon->agents->....
thanks
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1715985
i am newb, where can i find an example please?
PORT=2003
SERVER=graphite.your.org
echo "local.random.diceroll 4 date +%s
" | nc ${SERVER} ${PORT};
do i open socket in java ? and just send a string ? :D
i am working on it, but a help to find a solution faster would be great
thanks
http://graphite.wikidot.com/getting-your-data-into-graphite
Lg, Jens
Am 01.04.2012 um 15:59 schrieb tortura
[email protected]:
… i am newb, where can i find an example please?
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1715985
well i misunderstood the documentation, my fault, if i am right now it will be working soon
i´d still love to have some good advises
I installed graphite on Ubuntu 14.04. I started carbon and apache2 but not getting any GUI, any ideas ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
first : python 3.2 won't work on debian
and then some graphite dependencies
now while its running, is there a chance to insert data via java, c , python or script, i just didn't get it clearly, its logging things i didn't ask to like all the stuff in carbon->agents->....
thanks