Giter VIP home page Giter VIP logo

amon's Introduction

amon's People

Contributors

antoncohen avatar ashleyhindle avatar daemongh avatar docdawning avatar fdemmer avatar fredrik avatar jbroadway avatar jrabbit avatar kenetik avatar martinrusev avatar outbounder avatar philippbosch avatar pluies avatar stephenjamieson avatar sv1jsb avatar tclancy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amon's Issues

Error with Ubuntu and encrypted home

When I try to go to the dashboard, I see this error in the log :

ERROR:root:Saving system info failed
Traceback (most recent call last):
  File "/etc/init.d/amond", line 54, in run
    backend.store_entries(system_info)
  File "/usr/local/lib/python2.7/dist-packages/amon-0.6_dev-py2.7.egg/amon/backends/mongodb.py", line 79, in store_entries
    self.store_entry(value, key)
  File "/usr/local/lib/python2.7/dist-packages/amon-0.6_dev-py2.7.egg/amon/backends/mongodb.py", line 70, in store_entry
    collection.save(entry, safe=True)
  File "/usr/local/lib/python2.7/dist-packages/pymongo-2.0-py2.7-linux-x86_64.egg/pymongo/collection.py", line 216, in save
    return self.insert(to_save, manipulate, safe, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pymongo-2.0-py2.7-linux-x86_64.egg/pymongo/collection.py", line 283, in insert
    check_keys, safe, kwargs), safe)
InvalidDocument: key '/home/thomas/.Private' must not contain '.'
ERROR:root:Saving system info failed
Traceback (most recent call last):
  File "/etc/init.d/amond", line 54, in run
    backend.store_entries(system_info)
  File "/usr/local/lib/python2.7/dist-packages/amon-0.6_dev-py2.7.egg/amon/backends/mongodb.py", line 79, in store_entries
    self.store_entry(value, key)
  File "/usr/local/lib/python2.7/dist-packages/amon-0.6_dev-py2.7.egg/amon/backends/mongodb.py", line 70, in store_entry
    collection.save(entry, safe=True)
  File "/usr/local/lib/python2.7/dist-packages/pymongo-2.0-py2.7-linux-x86_64.egg/pymongo/collection.py", line 216, in save
    return self.insert(to_save, manipulate, safe, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pymongo-2.0-py2.7-linux-x86_64.egg/pymongo/collection.py", line 283, in insert
    check_keys, safe, kwargs), safe)
InvalidDocument: key '/home/thomas/.Private' must not contain '.'

A document key in MongoDB can't contain a dot, I think it happen when Amon try to save my disk usage statistics.

Empty response from server

After running the install script and starting the amon service, I get an empty response when I try to go to 127.0.0.1:2464.

OS: Ubuntu 10.04.3 LTS

error in installer, trying to find mongodb.conf

I tried running the amon one line installer but I got this error:

Using /usr/local/lib/python2.7/dist-packages
Finished processing dependencies for amon==0.6.1
update-rc.d: warning: /etc/init.d/amond missing LSB keyword 'required-start'

update-rc.d: warning: /etc/init.d/amond missing LSB keyword 'required-stop'

--2011-12-26 17:14:58-- http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.1.tgz
Resolving fastdl.mongodb.org... 205.251.223.220, 205.251.223.162, 205.251.223.211, ...
Connecting to fastdl.mongodb.org|205.251.223.220|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38242091 (36M) [application/x-tar]
Saving to: `mongodb-linux-x86_64-2.0.1.tgz'

100%[=========================================================================================================================================================================>] 38,242,091 433K/s in 52s

2011-12-26 17:15:52 (715 KB/s) - `mongodb-linux-x86_64-2.0.1.tgz' saved [38242091/38242091]

*** Extracting MongoDB ...

*** MongoDB will be installed in /usr/local/mongodb.
cp: cannot stat `amon-0.6.1/contrib/mongodb/mongodb.conf': No such file or directory

installer issues

Just tried to install this on CentOS 5

works up to this point:

byte-compiling build/bdist.linux-x86_64/egg/amon/backends/mongodb.py to mongodb.pyc
File "build/bdist.linux-x86_64/egg/amon/backends/mongodb.py", line 10
class MongoBackend():

Then, fails on every "if" afterwards:
byte-compiling build/bdist.linux-x86_64/egg/amon/web/template.py to template.pyc
File "build/bdist.linux-x86_64/egg/amon/web/template.py", line 136
total = total if total != 0 else 1
^
SyntaxError: invalid syntax

Extracting amon-0.6_dev-py2.4.egg to /usr/lib/python2.4/site-packages
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/backends/mongodb.py", line 10
class MongoBackend():
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/web/template.py", line 136
total = total if total != 0 else 1
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/web/api.py", line 9
content_type = content_type_dict[0] if len(content_type_dict) > 0 else ''
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.6_dev-py2.4.egg/amon/system/collector.py", line 61
with open('/proc/meminfo', 'r') as lines:
^

installer

Very interesting looking program - look forward to testing it out.

However, I am stuck with system Python v2.5 and so when you try to start the amon daemon immediately after install I get errors about the missing json module.

This is easy to fix by editing the following files to fall back to simplejson if the import of json fails:

  • /amon/defaults.py
  • amon/web/utils.py

I suppose it would be nice if I didn't have to do this. Solution is to download simplejson if python version < 2.6 and to fix the two files referred to above to fallback to simplejson if json is not found.

Hope this feedback is useful to you.

Very wide Disk bar.

The disk usage bar is actually like a 100 times as wide as my screen.

See screenshot:
http://dubbelboer.com/amon.png

Command line parameters for amon and amond

Add command line parameters for the python path and config file location.
Example:

 amon start --config=/home/user/amon.conf --python=/home/user/envs/myvirtualenv/bin/python

installer error: "tar: Unrecognized archive format" on Mac OS X Lion

The error happens on line 37 of the macos_installer bash script:
tar -zxvf "amon-$version.tar.gz" > /dev/null

Trying to open amon-0.5.2.tar.gz from Finder creates a file called amon-0.5.2.tar.gz.cpgz. Opening that creates amon-0.5.2.tar 2.gz, etc.

Here's the full output:
~/amon$ curl install.amon.cx | sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- -100 820 100 820 0 0 1070 0 --:--:-- --:--:-- -100 820 100 820 0 0 1070 0 --:--:-- --:--:-- --:--:-- 4659 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- -100 2679 100 2679 0 0 8320 0 --:--:-- --:--:-- --:--:-- 15308 Password: *** Installing Amon 0.5.2 ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- -100 282 0 282 0 0 396 0 --:--:-- --:--:-- --:--:-- 542 tar: Unrecognized archive format tar: Error exit delayed from previous errors.

Error 500 using Ubuntu

Hi,

I've installed Amon but when I visit 127.0.0.1:2464 I get the following error:

Error 500

Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/tornado-2.1.1-py2.6.egg/tornado/web.py", line 954, in _execute getattr(self, self.request.method.lower())(_args, *_kwargs) File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/views.py", line 74, in get unread_values=self.unread_values File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/template.py", line 221, in render return template.render(_args, *_kwargs) File "/usr/local/lib/python2.6/dist-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/templates/dashboard.html", line 1, in top-level template code {% extends "base.html" %} File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/templates/base.html", line 28, in top-level template code {% block content %} File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/templates/dashboard.html", line 54, in block "content" File "/usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg/amon/web/template.py", line 132, in progress_width percentage = float(value)/float(total) * 100 ZeroDivisionError: float division

Installer not working on Arch Linux

Attempting to install on Arch Linux immediately fails:

curl install.amon.cx | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 820 100 820 0 0 1668 0 --:--:-- --:--:-- --:--:-- 6356
Your operating system is not supported at the moment

Cherrypy daemon

For version 0.5 Amon should have 2 daemons -
amon start/stop/restart - for the web app
amond start/stop/restart - for the system info collector

Feature request: notifications

Amon looks great, but without an ability to send notifications of server state changes it's not quite a competitor to other offerings. Are there plans for notification hooks--like, say, CloudKick's--or some similar functionality?

Exceptions during amon installation

Installing amon I got this:

*** Amon succesfully installed

started with pid 31977
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.del of <main.AmonDaemon object at 0x173b250>> ignored
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.del of <main.AmonDaemon object at 0x173b250>> ignored
*** Starting Amon
*** The web application is not running by default, you can start with sudo /etc/init.d/amon start

Don't know if this was expected or could be because I had partially installed it before?

Install failed

I just run
curl install.amon.cx | bash
on my Debian Lenny box but it failed here :

Using /usr/lib/python2.5/site-packages/pymongo-2.1.1-py2.5-linux-x86_64.egg
Finished processing dependencies for amon==0.7.0
generate_config.py:31: Warning: 'with' will become a reserved keyword in Python 2.6
File "generate_config.py", line 31
with open(generated_config_path,'w+') as f:
^
SyntaxError: invalid syntax

I would also add an "installer" label but I can't because I'm not a collaborator.

installer

I get a lot of errors on the install for CentOS 5.7 (64 bit)

curl install.amon.cx | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 833 100 833 0 0 6088 0 --:--:-- --:--:-- --:--:-- 0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5381 100 5381 0 0 64613 0 --:--:-- --:--:-- --:--:-- 243k
--2012-02-06 08:20:31-- http://install.amon.cx/amon-0.7.tar.gz
Resolving install.amon.cx... 178.236.6.68
Connecting to install.amon.cx|178.236.6.68|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 212306 (207K) [application/x-tar]
Saving to: `amon-0.7.tar.gz'

100%[==================================================================================>] 212,306 --.-K/s in 0.1s

2012-02-06 08:20:31 (1.85 MB/s) - `amon-0.7.tar.gz' saved [212306/212306]

File "build/bdist.linux-x86_64/egg/amon/api/models.py", line 27
other_type = 'logs' if type == 'exceptions' else 'exceptions'
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/system/_linux.py", line 14
with open('/proc/meminfo', 'r') as lines:
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/backends/mongodb.py", line 10
class MongoBackend():
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/web/views/api.py", line 9
content_type = content_type_dict[0] if len(content_type_dict) > 0 else ''
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/web/models.py", line 20
page = 1 if page == None else int(page)
^
SyntaxError: invalid syntax
File "build/bdist.linux-x86_64/egg/amon/web/template.py", line 115
variable = float(variable) if not isinstance(variable, float) else variable
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/api/models.py", line 27
other_type = 'logs' if type == 'exceptions' else 'exceptions'
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/system/_linux.py", line 14
with open('/proc/meminfo', 'r') as lines:
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/backends/mongodb.py", line 10
class MongoBackend():
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/web/models.py", line 20
page = 1 if page == None else int(page)
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/web/template.py", line 115
variable = float(variable) if not isinstance(variable, float) else variable
^
SyntaxError: invalid syntax
File "/usr/lib/python2.4/site-packages/amon-0.7.0-py2.4.egg/amon/web/views/api.py", line 9
content_type = content_type_dict[0] if len(content_type_dict) > 0 else ''
^
SyntaxError: invalid syntax
File "generate_config.py", line 31
with open(generated_config_path,'w+') as f:
^
SyntaxError: invalid syntax

Amon listening on all IP's

With the following config:

"web_app":{
    "host": "127.0.0.1",
    "port":"2464"
}

Amon is still listening on all IP's:

$sudo lsof -i | grep amon
COMMAND     PID        USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME
amon       8515        root    4u  IPv4 172270449      0t0  TCP *:2464 (LISTEN)

I would expect it to only listen on 127.0.0.1

Installer not working on Ubuntu 10.04

The installer didn't work for me on my Ubuntu 10.04 VM. In particular, there seems to be a problem with the mongodb install. Below is the log of my install.

$ curl install.amon.cx | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
102   820  102   820    0     0   1124      0 --:--:-- --:--:-- --:--:--  3660
dpkg is /usr/bin/dpkg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4518  100  4518    0     0   5232      0 --:--:-- --:--:-- --:--:-- 11155
[sudo] password for brad: 
***  Installing Amon 0.5.2 ...
--2011-12-02 14:29:45--  http://install.amon.cx/amon-latest.tar.gz
Resolving install.amon.cx... 178.236.5.70
Connecting to install.amon.cx|178.236.5.70|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 169715 (166K) [application/x-tar]
Saving to: `amon-latest.tar.gz'

100%[====================================================================================================================================================================================================>] 169,715     50.8K/s   in 3.3s    

2011-12-02 14:29:49 (50.8 KB/s) - `amon-latest.tar.gz' saved [169715/169715]

gcc 4:4.4.3-1ubuntu1
python-dev  2.6.5-0ubuntu1
No packages found matching sysstat.
** Installing Amon requirements
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gcc is already the newest version.
gcc set to manually installed.
python-dev is already the newest version.
python-dev set to manually installed.
The following packages were automatically installed and are no longer required:
  libreadline-java
Use 'apt-get autoremove' to remove them.
Suggested packages:
  isag
The following NEW packages will be installed:
  sysstat
0 upgraded, 1 newly installed, 0 to remove and 98 not upgraded.
Need to get 278kB of archives.
After this operation, 1,225kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main sysstat 9.0.6-2 [278kB]
Fetched 278kB in 2s (136kB/s)   
Preconfiguring packages ...
Selecting previously deselected package sysstat.
(Reading database ... 100163 files and directories currently installed.)
Unpacking sysstat (from .../sysstat_9.0.6-2_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up sysstat (9.0.6-2) ...

Creating config file /etc/default/sysstat with new version
update-alternatives: error: no alternatives for sar.
update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode.

gcc 4:4.4.3-1ubuntu1
python-dev  2.6.5-0ubuntu1
sysstat 9.0.6-2
** success!
running install
running bdist_egg
running egg_info
creating amon.egg-info
writing requirements to amon.egg-info/requires.txt
writing amon.egg-info/PKG-INFO
writing top-level names to amon.egg-info/top_level.txt
writing dependency_links to amon.egg-info/dependency_links.txt
writing manifest file 'amon.egg-info/SOURCES.txt'
reading manifest file 'amon.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'amon.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-2.6
creating build/lib.linux-x86_64-2.6/amon
copying amon/__init__.py -> build/lib.linux-x86_64-2.6/amon
copying amon/defaults.py -> build/lib.linux-x86_64-2.6/amon
creating build/lib.linux-x86_64-2.6/amon/core
copying amon/core/settings.py -> build/lib.linux-x86_64-2.6/amon/core
copying amon/core/__init__.py -> build/lib.linux-x86_64-2.6/amon/core
copying amon/core/exceptions.py -> build/lib.linux-x86_64-2.6/amon/core
creating build/lib.linux-x86_64-2.6/amon/system
copying amon/system/__init__.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/daemon.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/runner.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/utils.py -> build/lib.linux-x86_64-2.6/amon/system
copying amon/system/collector.py -> build/lib.linux-x86_64-2.6/amon/system
creating build/lib.linux-x86_64-2.6/amon/api
copying amon/api/exception.py -> build/lib.linux-x86_64-2.6/amon/api
copying amon/api/__init__.py -> build/lib.linux-x86_64-2.6/amon/api
copying amon/api/log.py -> build/lib.linux-x86_64-2.6/amon/api
creating build/lib.linux-x86_64-2.6/amon/backends
copying amon/backends/__init__.py -> build/lib.linux-x86_64-2.6/amon/backends
copying amon/backends/mongodb.py -> build/lib.linux-x86_64-2.6/amon/backends
creating build/lib.linux-x86_64-2.6/amon/web
copying amon/web/views.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/settings.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/template.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/__init__.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/server.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/utils.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/devserver.py -> build/lib.linux-x86_64-2.6/amon/web
copying amon/web/api.py -> build/lib.linux-x86_64-2.6/amon/web
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/amon
creating build/bdist.linux-x86_64/egg/amon/core
copying build/lib.linux-x86_64-2.6/amon/core/settings.py -> build/bdist.linux-x86_64/egg/amon/core
copying build/lib.linux-x86_64-2.6/amon/core/__init__.py -> build/bdist.linux-x86_64/egg/amon/core
copying build/lib.linux-x86_64-2.6/amon/core/exceptions.py -> build/bdist.linux-x86_64/egg/amon/core
creating build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/__init__.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/daemon.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/runner.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/utils.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/system/collector.py -> build/bdist.linux-x86_64/egg/amon/system
copying build/lib.linux-x86_64-2.6/amon/__init__.py -> build/bdist.linux-x86_64/egg/amon
creating build/bdist.linux-x86_64/egg/amon/api
copying build/lib.linux-x86_64-2.6/amon/api/exception.py -> build/bdist.linux-x86_64/egg/amon/api
copying build/lib.linux-x86_64-2.6/amon/api/__init__.py -> build/bdist.linux-x86_64/egg/amon/api
copying build/lib.linux-x86_64-2.6/amon/api/log.py -> build/bdist.linux-x86_64/egg/amon/api
creating build/bdist.linux-x86_64/egg/amon/backends
copying build/lib.linux-x86_64-2.6/amon/backends/__init__.py -> build/bdist.linux-x86_64/egg/amon/backends
copying build/lib.linux-x86_64-2.6/amon/backends/mongodb.py -> build/bdist.linux-x86_64/egg/amon/backends
copying build/lib.linux-x86_64-2.6/amon/defaults.py -> build/bdist.linux-x86_64/egg/amon
creating build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/views.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/settings.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/template.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/__init__.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/server.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/utils.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/devserver.py -> build/bdist.linux-x86_64/egg/amon/web
copying build/lib.linux-x86_64-2.6/amon/web/api.py -> build/bdist.linux-x86_64/egg/amon/web
byte-compiling build/bdist.linux-x86_64/egg/amon/core/settings.py to settings.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/core/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/core/exceptions.py to exceptions.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/daemon.py to daemon.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/runner.py to runner.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/system/collector.py to collector.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/api/exception.py to exception.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/api/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/api/log.py to log.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/backends/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/backends/mongodb.py to mongodb.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/defaults.py to defaults.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/views.py to views.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/settings.py to settings.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/template.py to template.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/server.py to server.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/utils.py to utils.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/devserver.py to devserver.pyc
byte-compiling build/bdist.linux-x86_64/egg/amon/web/api.py to api.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/config.rb -> build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/Gemfile -> build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/Guardfile -> build/bdist.linux-x86_64/egg/amon/web/media
copying amon/web/media/Gemfile.lock -> build/bdist.linux-x86_64/egg/amon/web/media
creating build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery.flot.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/date.format.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery-ui.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/form2object.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/form2object.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery-1.6.2.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery.relative-date.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/spin.min.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
copying amon/web/media/js/jquery-ui-timepicker-addon.js -> build/bdist.linux-x86_64/egg/amon/web/media/js
creating build/bdist.linux-x86_64/egg/amon/web/media/css
copying amon/web/media/css/jquery-ui.css -> build/bdist.linux-x86_64/egg/amon/web/media/css
copying amon/web/media/css/error.css -> build/bdist.linux-x86_64/egg/amon/web/media/css
copying amon/web/media/css/screen.css -> build/bdist.linux-x86_64/egg/amon/web/media/css
creating build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_ffffff_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_glass_100_fdf5ce_1x400.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_222222_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_ef8c08_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_glass_65_ffffff_1x400.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_ffd27a_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_glass_100_f6f6f6_1x400.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_flat_10_000000_40x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_diagonals-thick_20_666666_40x40.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-icons_228ef1_256x240.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
copying amon/web/media/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -> build/bdist.linux-x86_64/egg/amon/web/media/css/images
creating build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/table_heading.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/sidebar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/tabs_separator.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/logo.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/exception_counter.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/collapse.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/green_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/yellow_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/favicon.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/grey_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/left.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/active_button.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
copying amon/web/media/images/red_bar.png -> build/bdist.linux-x86_64/egg/amon/web/media/images
creating build/bdist.linux-x86_64/egg/amon/web/media/sass
copying amon/web/media/sass/error.sass -> build/bdist.linux-x86_64/egg/amon/web/media/sass
copying amon/web/media/sass/screen.sass -> build/bdist.linux-x86_64/egg/amon/web/media/sass
creating build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/error.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/exceptions.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/dashboard.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/system.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/blank.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/settings.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/base.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/processes.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/404.html -> build/bdist.linux-x86_64/egg/amon/web/templates
copying amon/web/templates/logs.html -> build/bdist.linux-x86_64/egg/amon/web/templates
creating build/bdist.linux-x86_64/egg/amon/web/templates/partials
copying amon/web/templates/partials/logs_filter.html -> build/bdist.linux-x86_64/egg/amon/web/templates/partials
copying amon/web/templates/partials/settings_tabs.html -> build/bdist.linux-x86_64/egg/amon/web/templates/partials
creating build/bdist.linux-x86_64/egg/amon/web/templates/settings
copying amon/web/templates/settings/cleanup.html -> build/bdist.linux-x86_64/egg/amon/web/templates/settings
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying amon.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
amon.web.settings: module references __file__
creating dist
creating 'dist/amon-0.5-py2.6.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing amon-0.5-py2.6.egg
creating /usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg
Extracting amon-0.5-py2.6.egg to /usr/local/lib/python2.6/dist-packages
Adding amon 0.5 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/amon-0.5-py2.6.egg
Processing dependencies for amon==0.5
Searching for Jinja2>=2.4
Reading http://pypi.python.org/simple/Jinja2/
Reading http://jinja.pocoo.org/
Best match: Jinja2 2.6
Downloading http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.6.tar.gz#md5=1c49a8825c993bfdcf55bb36897d28a2
Processing Jinja2-2.6.tar.gz
Running Jinja2-2.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-exmG9E/Jinja2-2.6/egg-dist-tmp-ZL_fd0
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Adding Jinja2 2.6 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/Jinja2-2.6-py2.6.egg
Searching for tornado>=2.0
Reading http://pypi.python.org/simple/tornado/
Reading http://www.tornadoweb.org/
Best match: tornado 2.1.1
Downloading http://github.com/downloads/facebook/tornado/tornado-2.1.1.tar.gz
Processing tornado-2.1.1.tar.gz
Running tornado-2.1.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-YWUA0Q/tornado-2.1.1/egg-dist-tmp-8avpsP
warning: no previously-included files matching '_auto2to3*' found anywhere in distribution
zip_safe flag not set; analyzing archive contents...
tornado.autoreload: module references __file__
tornado.simple_httpclient: module references __file__
/usr/lib/python2.6/dist-packages/setuptools/command/bdist_egg.py:422: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  symbols = dict.fromkeys(iter_symbols(code))
tornado.test.httpserver_test: module references __file__
tornado.test.web_test: module references __file__
Adding tornado 2.1.1 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/tornado-2.1.1-py2.6.egg
Searching for pymongo==2.0
Reading http://pypi.python.org/simple/pymongo/
Reading http://github.com/mongodb/mongo-python-driver
Best match: pymongo 2.0
Downloading http://pypi.python.org/packages/source/p/pymongo/pymongo-2.0.tar.gz#md5=8cd04065b115dd186b18cb3e8e3025c6
Processing pymongo-2.0.tar.gz
Running pymongo-2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wu0fc7/pymongo-2.0/egg-dist-tmp-MF4PG5
zip_safe flag not set; analyzing archive contents...
Adding pymongo 2.0 to easy-install.pth file

Installed /usr/local/lib/python2.6/dist-packages/pymongo-2.0-py2.6-linux-x86_64.egg
Searching for pip==0.3.1
Best match: pip 0.3.1
Adding pip 0.3.1 to easy-install.pth file

Using /usr/lib/python2.6/dist-packages
Finished processing dependencies for amon==0.5
update-rc.d: warning: /etc/init.d/amond missing LSB keyword 'required-start'

update-rc.d: warning: /etc/init.d/amond missing LSB keyword 'required-stop'


--2011-12-02 14:30:11--  http://fastdl.mongodb.org/linux/mongodb-linux-i686-2.0.0.tgz
Resolving fastdl.mongodb.org... 205.251.251.139, 205.251.251.154, 205.251.251.183, ...
Connecting to fastdl.mongodb.org|205.251.251.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37949452 (36M) [application/x-tar]
Saving to: `mongodb-linux-i686-2.0.0.tgz'

100%[====================================================================================================================================================================================================>] 37,949,452   690K/s   in 57s     

2011-12-02 14:31:08 (651 KB/s) - `mongodb-linux-i686-2.0.0.tgz' saved [37949452/37949452]

***  Extracting MongoDB ...

***  MongoDB will be installed in /usr/local/mongodb.
If you are not running as root, the installer will ask for your root password
*** Starting MongoDB

Starting MongoDB: start-stop-daemon: Unable to start /usr/local/mongodb/bin/mongod: No such file or directory (No such file or directory)
mongodb.
*** Amon succesfully installed
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.__del__ of <__main__.AmonDaemon object at 0x26253d0>> ignored

started with pid 20285
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.__del__ of <__main__.AmonDaemon object at 0x26253d0>> ignored
*** Starting Amon 
*** The web application is not running by default, you can start with `sudo /etc/init.d/amon start`
Restaring the Amon web application ...
pidfile /var/run/amon.pid does not exist. Daemon not running?

started with pid 20299

For troubleshooting instructions, please see the Amon User Guide :
http://amon.cx/guide/

To uninstall Amon, `curl uninstall.amon.cx | sh`

"'NoneType' object has no attribute 'exception'" while starting amon

started with pid 24673
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.del of <main.AmonDaemon object at 0x11c5350>> ignored
Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.del of <main.AmonDaemon object at 0x11c5350>> ignored
Restaring the Amon web application ...

started with pid 24688

Any idea on what's the problem here? I can give you more details on my ubuntu config if needed, I just run ' curl install.amon.cx | sh'

Thanks

Installer Mac OS Lion

Get this error , what wrong ?

curl install.amon.cx | sh                                               1 ↵
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   820  100   820    0     0    909      0 --:--:-- --:--:-- --:--:--  6721
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2679  100  2679    0     0  14934      0 --:--:-- --:--:-- --:--:-- 25759
***  Installing Amon 0.5.2 ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   282    0   282    0     0    390      0 --:--:-- --:--:-- --:--:--   834
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

Web Interface not sending data

I just installed Amon, and started both processes. I'm getting this error when viewing the web page: Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

I also get the following error when running amond (even using the status parameter):

Exception AttributeError: "'NoneType' object has no attribute 'exception'" in <bound method AmonDaemon.__del__ of <__main__.AmonDaemon object at 0x1c1cf90>> ignored

I did the automatic install, but also tried the manual install with the same results. I'm running 64bit CentOS 6.

Weird memory usage

After the last update Amon is working now but it's reporting some rather strange memory usage: 3.36e+02 of 12032 MB

See screenshot:
http://dubbelboer.com/amon.png

Here's the actual memory usage:


total used free shared buffers cached
Mem: 12032 11956 75 0 0 7678
-/+ buffers/cache: 4278 7754
Swap: 0 0 0

Feature Request: Show used memory

I was a bit confused about the memory usage chart (for the whole system, as shown on the dashboard) to begin with - it shows free memory rather than used memory.

Given that the hard disk usage chart shows used space, and the CPU chart shows CPU usage, maybe the memory usage chart should show used memory rather than free memory? Just a thought.

Can not add any process other than mongo and amon

I am using default ec2 ami. When I change process list I get this error on the dashboard.

Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/tornado-2.1.1-py2.6.egg/tornado/web.py", line 954, in _execute getattr(self, self.request.method.lower())(*args, **kwargs) File "/usr/lib/python2.6/site-packages/amon-0.6_dev-py2.6.egg/amon/web/views.py", line 72, in get unread_values=self.unread_values File "/usr/lib/python2.6/site-packages/amon-0.6_dev-py2.6.egg/amon/web/template.py", line 276, in render return template.render(*args, **kwargs) File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render return self.environment.handle_exception(exc_info, True) File "/usr/lib/python2.6/site-packages/amon-0.6_dev-py2.6.egg/amon/web/templates/dashboard.html", line 1, in top-level template code {% extends "base.html" %} File "/usr/lib/python2.6/site-packages/amon-0.6_dev-py2.6.egg/amon/web/templates/base.html", line 28, in top-level template code {% block content %} File "/usr/lib/python2.6/site-packages/amon-0.6_dev-py2.6.egg/amon/web/templates/dashboard.html", line 78, in block "content" 

File "/usr/lib/python2.6/site-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 372, in getattr return getattr(obj, attribute) UndefinedError: dict object has no element False

http://cl.ly/3Q0Y0z3K0p412j2z2W0G

Also on the proccesses page it shows empty graph for each process other than mongo process.

Exception when changing to process_checks

Changing the string "mongo" to "apache" in my amon configuration causes the following stack trace on the Dashboard view:

Error 500 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/tornado-2.1.1-py2.7.egg/tornado/web.py", line 954, in _execute getattr(self, self.request.method.lower())(_args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/tornado-2.1.1-py2.7.egg/tornado/web.py", line 1667, in wrapper return method(self, _args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/views/app.py", line 46, in get process_check_first=process_check_first, File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/views/base.py", line 114, in render rendered_template = jinja_render(template, _args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/template.py", line 324, in render return template.render(_args, *_kwargs) File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render return self.environment.handle_exception(exc_info, True) File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/templates/dashboard.html", line 1, in top-level template code {% extends "base.html" %} File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/templates/base.html", line 32, in top-level template code {% block content %} File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/templates/dashboard.html", line 93, in block "content" File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/template.py", line 169, in progress_width value = clean_string(value) File "/usr/local/lib/python2.7/dist-packages/amon-0.7.0-py2.7.egg/amon/web/template.py", line 122, in clean_string extracted_value = value_regex.findall(variable) TypeError: expected string or buffer

Both easy/manual installations fail with Python errors

Hi,
Amon looks great! I've been wishing for such an awesome, lightweight app that does this.
I'm trying to install it using the easy curl install.amon.cx | bash command, but it fails with a Python SyntaxError: invalid syntax.

Here's the last bit of the output:
Installed /usr/lib/python2.5/site-packages/pymongo-2.1.1-py2.5-linux-i686.egg Finished processing dependencies for amon==0.7.0 generate_config.py:31: Warning: 'with' will become a reserved keyword in Python 2.6 File "generate_config.py", line 31 with open(generated_config_path,'w+') as f: ^ SyntaxError: invalid syntax

Oh well, it fails... :D
I then tried to install amon manually using the steps on your website, but got another Python error:

root# /etc/init.d/amond start Traceback (most recent call last): File "/etc/init.d/amond", line 20, in <module> from amon.core import settings File "/usr/lib/python2.5/site-packages/amon/core/__init__.py", line 1, in <module> from amon.core.settings import Settings File "/usr/lib/python2.5/site-packages/amon/core/settings.py", line 1, in <module> from amon import defaults File "/usr/lib/python2.5/site-packages/amon/defaults.py", line 42, in <module> host = "http://{0}".format(host) AttributeError: 'str' object has no attribute 'format'

What might be the problem?

processes on dashboard causes crash for webserver

HTTPRequest(protocol='http', host='127.0.0.1:2464', method='GET', uri='/', version='HTTP/1.0', remote_ip='127.0.0.1', body='', headers={'Host': '127.0.0.1:2464', 'Connection': 'Keep-Alive', 'Accept': '/', 'User-Agent': 'Wget/1.12 (linux-gnu)'})
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/tornado-2.1.1-py2.6.egg/tornado/web.py", line 954, in _execute
getattr(self, self.request.method.lower())(_args, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/tornado-2.1.1-py2.6.egg/tornado/web.py", line 1667, in wrapper
return method(self, _args, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/amon-0.7.0-py2.6.egg/amon/web/views/app.py", line 46, in get
process_check_first=process_check_first,
File "/usr/local/lib/python2.6/dist-packages/amon-0.7.0-py2.6.egg/amon/web/views/base.py", line 114, in render
rendered_template = jinja_render(template, _args, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/amon-0.7.0-py2.6.egg/amon/web/template.py", line 324, in render
return template.render(_args, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.6/dist-packages/amon-0.7.0-py2.6.egg/amon/web/templates/dashboard.html", line 1, in top-level template code
{% extends "base.html" %}
File "/usr/local/lib/python2.6/dist-packages/amon-0.7.0-py2.6.egg/amon/web/templates/base.html", line 32, in top-level template code
{% block content %}
File "/usr/local/lib/python2.6/dist-packages/amon-0.7.0-py2.6.egg/amon/web/templates/dashboard.html", line 84, in block "content"

File "/usr/local/lib/python2.6/dist-packages/Jinja2-2.6-py2.6.egg/jinja2/environment.py", line 372, in getattr
return getattr(obj, attribute)
UndefinedError: dict object has no element False
ERROR:root:500 GET / (127.0.0.1) 114.53ms

If i remove Processes in dashboard.html the server serves the request without errors.

Unrecognised Archive Format

When using the one line installer curl install.amon.cx | sh I get the following out put

Oxygen:~ grahamhadgraft$ curl install.amon.cx |sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 820 100 820 0 0 865 0 --:--:-- --:--:-- --:--:-- 11388
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2679 100 2679 0 0 12126 0 --:--:-- --:--:-- --:--:-- 14174
Password:
*** Installing Amon 0.5.8 ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 282 0 282 0 0 432 0 --:--:-- --:--:-- --:--:-- 466
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

database monitoring and logging?

Please excuse me if this is not the right place to ask a question; I'm not sure how else to post a question concerning Amon...

I am wondering, does Amon work for database monitoring and logging? In addition to monitoring my Rails app, I would like to evaluate the performance of MySQL db queries (like New Relic does). Is it possible, for example, to use Amon to access things like the MySQL slow query log: http://dev.mysql.com/doc/refman/5.0/en/slow-query-log.html ?

Thank you.

Uninstall not supported on Mac OSX Lion (apparently)

Tried to label this install but couldn't figure it out, sorry.

$ curl uninstall.amon.cx | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1160 100 1160 0 0 1717 0 --:--:-- --:--:-- --:--:-- 5550
Your operating system is not supported at the moment

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.