Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g� � @ s. d dl Z d dlmZmZ G dd� dee�ZdS )� N)�Plugin�UbuntuPluginc @ s0 e Zd ZdZdZd ZdZdZdd � Zd d� Z dS )� LandscapezUbuntu Landscape clientZ landscape�sysmgmt�/etc/landscape/client.conf�/etc/landscape/service.conf�landscape-client�landscape-serverc C s� dd� dD �}t |�s$| jjd� n$| jddd d g� | jddd dg� | jddddddg� | jd�sx| jddg� n| jddg� | jdddg� d S )Nc S s g | ]}|t jk�qS � )�os�environ)�.0�pr r �/usr/lib/python3.6/landscape.py� <listcomp> s z#Landscape.setup.<locals>.<listcomp>�LANDSCAPE_API_KEY�LANDSCAPE_API_SECRET�LANDSCAPE_API_URIz�Not all environment variables set. Source the environment file for the user intended to connect to the Landscape environment so that the landscape-api commands can be used.zlandscape-api get-distributionszlandscape-api get-apt-sourcesz%landscape-api get-repository-profilesz'landscape-api get activites --limit 100z&landscape-api --json get-distributionsz$landscape-api --json get-apt-sourcesz,landscape-api --json get-repository-profilesz.landscape-api --json get activites --limit 100z/etc/default/landscape-clientz/etc/default/landscape-serverz/etc/landscape/client.confz/etc/landscape/service.confz/etc/landscape/service.conf.oldz*/var/lib/landscape/landscape-oops/*/OOPS-*Zall_logsz/var/log/landscape/*.logz/var/log/landscape-server/*.logz/var/log/landscapez/var/log/landscape-serverz'gpg --verify /etc/landscape/license.txtz$head -n 5 /etc/landscape/license.txtzlsctl status)r r r )�allZsoslogZwarningZadd_cmd_outputZ add_copy_specZ get_option)�selfZvars_allr r r �setup sD zLandscape.setupc C s<