-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (73 loc) · 2.76 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# -*- coding: utf-8 -*-
#
# Krzysztof „krzykwas” Kwaśniewski
# Gdańsk, 28-07-2012
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from distutils.core import setup
from setuptools import find_packages
import os
setup(
name="pyagent",
packages=find_packages(),
package_data={
"pyagent.settings" : [
"sample_settings.xml",
"settings.xsd",
],
},
scripts=[
"rhqpyagent",
],
data_files=[
("/etc/init.d", ["rhqpyagentd"])
],
version=os.getenv("PYAGENT_VERSION"),
author="Krzysztof Kwaśniewski",
author_email="[email protected]",
url="http://rhqagent.blogspot.com/",
description="RHQ agent gathering data from CIM servers",
long_description="""\
RHQ agent gathering data from CIM servers
-----------------------------------------
With a single agent instance you can simultaneously gather data
from many CIM instances and send them to many RHQ servers. You can even
compute so called artificial metrics on your own by defining and using
callbacks. This way you can combine several CIM metrics and create
a brand new one on your own.
If you wish, you can quite easily extend the agent so that it
was able to communicate with different protocols as well - for that you
have to implement a suitable data provider and/or sender. As a simple
example, you might want to send data to a flat file or a database
or get it from such a source.
The agent includes an interactive configuration file generator.
This version depends on a python-wbem library to be able to
communicate with CIM servers using a CIM-XML protocol. This library is
Python 2.x-only and unless you'll implement a provider for another data
source, you are bound to Python 2.x. Nevertheless there should be few
changes needed to make the agent work with Python 3 if any at all.
""",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Topic :: System :: Monitoring",
"Topic :: System :: Networking :: Monitoring",
"Topic :: System :: Systems Administration",
],
)