Ejemplo n.º 1
0
def manifest():

    manifest = {
        "label": "Alerta",
        "release": get_version(),
        "build": "",
        "date": "",
        "revision": "",
        "description": "The Guardian's Alerta monitoring system",
        "built-by": "rpmbuild",
        "built-on": "el6gen01.gudev.gnl",
    }

    return  jsonify(alerta=manifest)
Ejemplo n.º 2
0
def manifest():

    manifest = {
        "label": "Alerta",
        "release": get_version(),
        "build": build.BUILD_NUMBER,
        "date": build.BUILD_DATE,
        "revision": build.BUILD_VCS_NUMBER,
        "description": "The Guardian's Alerta monitoring system",
        "built-by": build.BUILT_BY,
        "built-on": build.HOSTNAME,
    }

    return  jsonify(alerta=manifest)
Ejemplo n.º 3
0
#!/usr/bin/env python

from setuptools import setup
from alerta import get_version

setup(
    name="alerta",
    version=get_version(),
    description="Alerta monitoring framework",
    url="https://github.com/guardian/alerta",
    license="Apache License 2.0",
    author="Nick Satterly",
    author_email="*****@*****.**",
    packages=["alerta"],
    entry_points={"console_scripts": ["alert = alerta.shell:main"]},
    keywords="alert monitoring system",
)