Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.6 /
site-packages /
salt /
proxy /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-10-11 05:09
__init__.py
27
B
-rw-r--r--
2022-05-16 09:16
arista_pyeapi.py
4.5
KB
-rw-r--r--
2022-05-16 09:16
chronos.py
1.62
KB
-rw-r--r--
2022-05-16 09:16
cimc.py
9.01
KB
-rw-r--r--
2022-05-16 09:16
cisconso.py
8.72
KB
-rw-r--r--
2022-05-16 09:16
deltaproxy.py
1.61
KB
-rw-r--r--
2022-05-16 09:16
docker.py
1.3
KB
-rw-r--r--
2022-05-16 09:16
dummy.py
6.49
KB
-rw-r--r--
2022-05-16 09:16
esxcluster.py
8.26
KB
-rw-r--r--
2022-05-16 09:16
esxdatacenter.py
8.13
KB
-rw-r--r--
2022-05-16 09:16
esxi.py
18.46
KB
-rw-r--r--
2022-05-16 09:16
esxvm.py
7.66
KB
-rw-r--r--
2022-05-16 09:16
fx2.py
12.02
KB
-rw-r--r--
2022-05-16 09:16
junos.py
7.12
KB
-rw-r--r--
2022-05-16 09:16
marathon.py
1.67
KB
-rw-r--r--
2022-05-16 09:16
napalm.py
12.49
KB
-rw-r--r--
2022-05-16 09:16
netmiko_px.py
12.17
KB
-rw-r--r--
2022-05-16 09:16
nxos.py
15.49
KB
-rw-r--r--
2022-05-16 09:16
nxos_api.py
6.31
KB
-rw-r--r--
2022-05-16 09:16
panos.py
15.15
KB
-rw-r--r--
2022-05-16 09:16
philips_hue.py
13.5
KB
-rw-r--r--
2022-05-16 09:16
rest_sample.py
6.24
KB
-rw-r--r--
2022-05-16 09:16
ssh_sample.py
5.26
KB
-rw-r--r--
2022-05-16 09:16
vcenter.py
9.71
KB
-rw-r--r--
2022-05-16 09:16
Save
Rename
""" Chronos ======== Proxy minion for managing a Chronos cluster. Dependencies ------------ - :mod:`chronos execution module (salt.modules.chronos) <salt.modules.chronos>` Pillar ------ The chronos proxy configuration requires a 'base_url' property that points to the chronos endpoint: .. code-block:: yaml proxy: proxytype: chronos base_url: http://my-chronos-master.mydomain.com:4400 .. versionadded:: 2015.8.2 """ import logging import salt.utils.http __proxyenabled__ = ["chronos"] CONFIG = {} CONFIG_BASE_URL = "base_url" log = logging.getLogger(__file__) def __virtual__(): return True def init(opts): """ Perform any needed setup. """ if CONFIG_BASE_URL in opts["proxy"]: CONFIG[CONFIG_BASE_URL] = opts["proxy"][CONFIG_BASE_URL] else: log.error("missing proxy property %s", CONFIG_BASE_URL) log.debug("CONFIG: %s", CONFIG) def ping(): """ Is the chronos api responding? """ try: response = salt.utils.http.query( "{}/scheduler/jobs".format(CONFIG[CONFIG_BASE_URL]), decode_type="json", decode=True, ) log.debug( "chronos.info returned successfully: %s", response, ) if "dict" in response: return True except Exception as ex: # pylint: disable=broad-except log.error( "error pinging chronos with base_url %s: %s", CONFIG[CONFIG_BASE_URL], ex, ) return False def shutdown(opts): """ For this proxy shutdown is a no-op """ log.debug("chronos proxy shutdown() called...")