Commit Graph

217 Commits

Author SHA1 Message Date
Daniele Sluijters
aabd82a08e setup: Bump to 0.0.4. v0.0.4 2014-01-21 15:13:02 +01:00
Daniele Sluijters
c52da03f60 setup: Fix your license so bdist_rpm doesn't trip. 2014-01-21 15:12:40 +01:00
Daniele Sluijters
386fea9e1e templates: Sort fact tables.
We actually had a function that would sort the facts tables by default
based on the first column but weren't using this. Testing with the
upcoming PuppetDB 1.6 made this bug surface because PuppetDB stopped
sorting facts by itself.
2014-01-21 15:10:28 +01:00
Daniele Sluijters
bdd1a39b10 README: Add type to every codeblock for PyPi.
PyPi apparently has a slightly patched/weird version of docutils which
breaks when code-block::'s don't have a type.
2014-01-16 14:39:16 +01:00
Daniele Sluijters
d90e22397b wsgi: Get rid of the wsgi files.
Though useful they need to be customised per environment anyway and the
necessary examples are now included in the docs.
v0.0.3
2014-01-16 11:39:15 +01:00
Daniele Sluijters
c6b194ca83 Add setup.py|cfg and MANIFEST.in for packaging. 2014-01-16 11:31:49 +01:00
Daniele Sluijters
59ae9657ff docs: Update README and CHANGELOG
Added CHANGELOG entries for the changes since Puppetboard 0.0.2.
Done some serious work on the README which now includes much improved
and tested installation instructions.
2014-01-16 10:44:06 +01:00
Daniele Sluijters
d92a068057 Switch to using pypuppetdb 0.1.0. 2014-01-13 13:12:21 +01:00
Daniele Sluijters
cbb3b8640f Merge pull request #41 from jasperla/avg_resources
Report rounded avg. resources per node.
2014-01-13 02:41:48 -08:00
Daniele Sluijters
9b7c33dcff Merge pull request #43 from nibalizer/fix_ssl
fix arguments to pypuppetdb connect()
2013-12-30 01:53:39 -08:00
Spencer Krum
b01a749bab fix arguments to pypuppetdb connect() 2013-12-30 00:28:03 -08:00
Jasper Lievisse Adriaanse
5fa260e748 Report rounded avg. resources per node. 2013-12-23 11:08:12 +01:00
Daniele Sluijters
eadcf8708c Merge pull request #39 from sijis/node_link
Adding link to node details page when viewing a specific report
2013-12-11 00:01:39 -08:00
Sijis Aviles
e57437e705 adding link to node details page when viewing a specific report 2013-12-10 14:17:26 -06:00
Daniele Sluijters
bf86b1780d Merge pull request #32 from lsjostro/remove-empty-message-check
Remove check for empty message in events.
2013-11-25 00:42:25 -08:00
Daniele Sluijters
5bed3d503f Merge pull request #36 from digitalmediacenter/fix-noreport
Fix for latest report if there is no report available
2013-11-25 00:40:33 -08:00
Daniele Sluijters
52b689d174 Merge pull request #37 from fnaard/readme_typo_fix
Fix typos in README.rst, Development section.
2013-11-22 00:46:02 -08:00
Gabriel M Schuyler
c6bba09beb Fix typos in README.rst, Development section.
Correcting two typos in the first line of the Development section.
2013-11-21 18:19:51 -08:00
Julius Härtl
73e26e8c1c error fix, format string and css button width fix 2013-11-20 13:34:13 +01:00
Julius Härtl
08bad89041 fix for latest report in overview
* report/latest/<node_name> uses limit parameter in _query
  to get just one report
* disable "Latest Report" button if there is no report
* HTTP Status 500 if there is no report on report/latest/<node_name>
2013-11-20 11:30:08 +01:00
Daniele Sluijters
dcf8abefe9 Wrong Facts screenshot. 2013-11-11 11:09:31 +01:00
Daniele Sluijters
dd0e8d8eb0 New screenshots, updated in README too. 2013-11-11 11:07:04 +01:00
Daniele Sluijters
5e9f4b5526 Merge pull request #33 from nibalizer/pep8again
puppetboard/app.py: Pep8 fixes
2013-11-07 13:28:23 -08:00
Spencer Krum
ac06c65d73 puppetboard/app.py: Pep8 fixes 2013-11-07 12:52:44 -08:00
Lars Sjöström
e55e43ed6a remove check for empty message 2013-11-06 14:20:56 +01:00
Daniele Sluijters
71c3f809ca Merge pull request #31 from fretterick/use-UNRESPONSIVE_HOURS-node-overview
UNRESPONSIVE_HOURS not used for node overview
2013-11-06 04:05:22 -08:00
Frederik Happel
b728896fea use unreported=app.config['UNRESPONSIVE_HOURS'] for node overview as
well
2013-11-06 13:00:10 +01:00
Daniele Sluijters
398156b0ae fact: Add the counter back to facts.
Since we're now already consuming the generator and creating a list we
can call lenght on it just fine.

Closes #18
2013-11-06 08:40:46 +01:00
Daniele Sluijters
eb1bf7c3ab Merge pull request #29 from fretterick/use-UNRESPONSIVE_HOURS
Use UNRESPONSIVE_HOURS setting.
2013-11-05 10:14:41 -08:00
Daniele Sluijters
0992763d9d Merge pull request #27 from lsjostro/display-event-message
Toggle display of event message in reports
2013-11-05 10:13:03 -08:00
Lars Sjöström
fb763e637f Feature: Toggle event message in event reports
Toggle event message in reports

cursor pointer and indent of message

rebase from master
2013-11-05 18:51:45 +01:00
Frederik Happel
d067fe3ed3 use configuration variable UNRESPONSIVE_HOURS to determine if a node's
status is unreported
2013-11-05 18:31:54 +01:00
Daniele Sluijters
efe488aafc Add a new jsonprint filter, used in metrics, query 2013-11-05 16:41:47 +01:00
Daniele Sluijters
79ac5b3cb0 node: Give the node overview some breathing room.
The interface was too packed causing the facts and reports tables to be
jammed into place.

Currently working on a complete new node overview page but this should
make things a bit more workable in the meantime.
2013-11-05 16:10:46 +01:00
Daniele Sluijters
754784f4af Make fact value clickable.
In the Facts view you can now click on the value of a fact and get a
listing of all the nodes with that value for that fact.

Closes #13
2013-11-05 15:44:34 +01:00
Daniele Sluijters
0563224c87 metric: 100 is a bit much, 75 looks better. 2013-11-05 14:20:03 +01:00
Daniele Sluijters
3efdb58ce3 metric: Truncate the name. 2013-11-05 14:12:47 +01:00
Daniele Sluijters
de6a77951c app: Abort if we can't fetch metrics. 2013-11-05 12:20:48 +01:00
Daniele Sluijters
e753fc444a overview: Add a count, info if nothing is changing
The Nodes status detail now shows for how many nodes we have events.
Additionally when there are no events we simply show an alert that
nothing is going on.
2013-11-05 12:12:49 +01:00
Daniele Sluijters
a1f00a7b66 Merge pull request #28 from digitalmediacenter/improve-nodestatus
Enhance node status feature in overview and nodes
2013-11-05 03:01:02 -08:00
Julius Härtl
b3d08233f3 change sorting of the overview node status in javascript 2013-11-05 11:54:28 +01:00
Julius Härtl
ffdbfcda24 nodes view filter now works with new status attribute 2013-11-05 10:49:59 +01:00
Julius Härtl
f187638b6e Enhance node status feature in overview and nodes
This commit uses the new parameter with_status from nedap/pypuppetdb#18

Node status is now shown as text with the additional information of
failed/succeded events, unreported time

The statistics on Overview now show the *number of nodes*
that have status failed/changed/unreported
2013-11-05 10:07:53 +01:00
Daniele Sluijters
a84da91f06 Merge pull request #26 from lsjostro/list-nodes-with-failure
make failed/success event counts clickable
2013-11-04 03:25:06 -08:00
Lars Sjöström
09b249b0ca make failed/success event counts clickable 2013-11-04 11:40:32 +01:00
Daniele Sluijters
269aeeec57 Merge pull request #23 from nibalizer/pep8
Assorted PEP8 fixes.
2013-11-04 02:33:12 -08:00
Daniele Sluijters
3cbb21ac60 templates: use jQuery protocol relative URL. 2013-10-30 09:57:25 +01:00
Spencer Krum
49afb9ed34 Pep8 check most files
I left some errors on puppetboard/forms.py because I'm not
sure how to fix them.
2013-10-29 11:51:51 -07:00
Spencer Krum
7265dc2fd0 puppetboard/app.py: pep8 2013-10-29 11:41:53 -07:00
Daniele Sluijters
f2e7ecc67e Merge pull request #25 from lsjostro/fix-nodes-without-timestamp
Add nodes with missing timestamp to unreported nodes
2013-10-29 06:33:06 -07:00