<commit_before><NAME> - Simple Monitoring Page
=================================

[![Build Status](https://travis-ci.org/afranken/monitoring.png?branch=master)](https://travis-ci.org/afranken/monitoring)
[![Versioneye Status](https://www.versioneye.com/user/projects/531b9194ec1375cd39000d44/badge.png)](https://www.versioneye.com/user/projects/531b9194ec1375cd39000d44)

[ ![Codeship Status for afranken/monitoring](https://www.codeship.io/projects/64c9cad0-8936-0131-4e0b-4a78b72f738d/status?branch=master)](https://www.codeship.io/projects/15549)

An easy to use Single Page Application to monitor your build infrastructure.

Currently supported:

* Jenkins Jobs
* Sonar Modules
* Nagios Hosts


##Jenkins returns 403 to JSONP Get requests by default.
Errormessage:

`Exception: jsonp forbidden; can use -Dhudson.model.Api.INSECURE=true if you run without security`

From Jenkins Release notes ~1.4:

JSONP support in Remote access API is removed. If you have other programs that depend on this behavior,
you can set the hudson.model.Api.INSECURE system property to true, to resurrect behaviour.
However, this is highly discouraged.

##Nagios JSON Responses
Nagios does not support JSON but responds with XML only.

Use [this simple JSON cgi controller](https://github.com/afranken/status-json) to get Nagios to work with this application.

##Used Third Party Libraries / Software:

Software:

* [Require JS](http://requirejs.org/)
* [Knockout](http://knockoutjs.com/)
* [jQuery](http://jquery.com/)
* [Moment.js](http://momentjs.com/)
* [Twitter Bootstrap](http://getbootstrap.com/)

Testing only:

* [Jasmine](http://jasmine.github.io/)
* [Jasmine Istanbul](https://github.com/gotwarlost/istanbul)<commit_msg>add link to Jenkins JSONP change<commit_after>Simon JS - Simple Monitoring Page
=================================

[![Build Status](https://travis-ci.org/afranken/monitoring.png?branch=master)](https://travis-ci.org/afranken/monitoring)
[![Versioneye Status](https://www.versioneye.com/user/projects/531b9194ec1375cd39000d44/badge.png)](https://www.versioneye.com/user/projects/531b9194ec1375cd39000d44)

[ ![Codeship Status for afranken/monitoring](https://www.codeship.io/projects/64c9cad0-8936-0131-4e0b-4a78b72f738d/status?branch=master)](https://www.codeship.io/projects/15549)

An easy to use Single Page Application to monitor your build infrastructure.

Currently supported:

* Jenkins Jobs
* Sonar Modules
* Nagios Hosts


##Jenkins returns 403 to JSONP Get requests by default.
Errormessage:

`Exception: jsonp forbidden; can use -Dhudson.model.Api.INSECURE=true if you run without security`

From [Jenkins Security Advisory 2013-02-16](https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2013-02-16):

JSONP support in Remote access API is removed. If you have other programs that depend on this behavior,
you can set the hudson.model.Api.INSECURE system property to true, to resurrect behaviour.
However, this is highly discouraged.

##Nagios JSON Responses
Nagios does not support JSON but responds with XML only.

Use [this simple JSON cgi controller](https://github.com/afranken/status-json) to get Nagios to work with this application.

##Used Third Party Libraries / Software:

Software:

* [Require JS](http://requirejs.org/)
* [Knockout](http://knockoutjs.com/)
* [jQuery](http://jquery.com/)
* [Moment.js](http://momentjs.com/)
* [Twitter Bootstrap](http://getbootstrap.com/)

Testing only:

* [Jasmine](http://jasmine.github.io/)
* [Jasmine Istanbul](https://github.com/gotwarlost/istanbul)
{'fraction_non_alphanumeric': 0.14390519187358916, 'fraction_numerical': 0.04232505643340858, 'mean_word_length': 5.375899280575539, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 17, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '391257', 'n_tokens_mistral': 1271, 'n_tokens_neox': 1127, 'n_words': 281}