Skip to content

Commit afc7c70

Browse files
committed
Rename project from 360agent to agent360
1 parent 7c0eb97 commit afc7c70

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+18
-18
lines changed
File renamed without changes.
File renamed without changes.

360agent/360agent.py renamed to agent360/agent360.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,23 @@
4848
__FILEABSDIRNAME__ = os.path.dirname(os.path.abspath(__file__))
4949

5050
ini_files = (
51-
os.path.join('/etc', '360agent.ini'),
52-
os.path.join('/etc', '360agent-token.ini'),
53-
os.path.join(os.path.dirname(__FILEABSDIRNAME__), '360agent.ini'),
54-
os.path.join(os.path.dirname(__FILEABSDIRNAME__), '360agent-token.ini'),
55-
os.path.abspath('360agent.ini'),
56-
os.path.abspath('360agent-token.ini'),
51+
os.path.join('/etc', 'agent360.ini'),
52+
os.path.join('/etc', 'agent360-token.ini'),
53+
os.path.join(os.path.dirname(__FILEABSDIRNAME__), 'agent360.ini'),
54+
os.path.join(os.path.dirname(__FILEABSDIRNAME__), 'agent360-token.ini'),
55+
os.path.abspath('agent360.ini'),
56+
os.path.abspath('agent360-token.ini'),
5757
)
5858

5959
if sys.platform == 'win32':
6060
ini_files = (
61-
os.path.join(__FILEABSDIRNAME__, '360agent.ini'),
62-
os.path.join(__FILEABSDIRNAME__, '360agent-token.ini'),
61+
os.path.join(__FILEABSDIRNAME__, 'agent360.ini'),
62+
os.path.join(__FILEABSDIRNAME__, 'agent360-token.ini'),
6363
)
6464

6565
def info():
6666
'''
67-
Return string with info about 360agent:
67+
Return string with info about agent360:
6868
- version
6969
- plugins enabled
7070
- absolute path to plugin directory
@@ -89,7 +89,7 @@ def hello(proto='https'):
8989
if len(sys.argv) > 2:
9090
token_filename = sys.argv[2]
9191
else:
92-
token_filename = os.path.join(__FILEABSDIRNAME__, '360agent-token.ini')
92+
token_filename = os.path.join(__FILEABSDIRNAME__, 'agent360-token.ini')
9393
if len(sys.argv) > 3:
9494
unique_id = sys.argv[3]
9595
else:
@@ -210,9 +210,9 @@ def _config_init(self):
210210
'subprocess': 'no',
211211
'user': '',
212212
'server': '',
213-
'api_host': 'api.360agent.com',
213+
'api_host': 'ingest.monitoring360.io',
214214
'api_path': '/v2/server/poll',
215-
'log_file': '/var/log/360agent.log',
215+
'log_file': '/var/log/agent360.log',
216216
'log_file_mode': 'a',
217217
'max_cached_collections': 10,
218218
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121

2222
setuptools.setup(
23-
name='360agent',
23+
name='agent360',
2424
version='1.2.23',
2525
description='360 agent',
2626
long_description_content_type='text/markdown',
2727
long_description=readme,
28-
url='https://github.com/plesk/360agent',
28+
url='https://github.com/plesk/agent360',
2929
author='360',
3030
author_email='[email protected]',
3131
maintainer='360',
@@ -49,12 +49,12 @@
4949
packages=setuptools.find_packages(),
5050
entry_points={
5151
'console_scripts': [
52-
'360agent=360agent.360agent:main',
53-
'360hello=360agent.360agent:hello',
52+
'agent360=agent360.agent360:main',
53+
'hello360=agent360.agent360:hello',
5454
],
5555
},
56-
data_files=[('share/doc/360agent', [
57-
'360agent-example.ini',
56+
data_files=[('share/doc/agent360', [
57+
'agent360-example.ini',
5858
'LICENSE',
5959
'README.md',
6060
])],

0 commit comments

Comments
 (0)