HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/grafana.cpython-36.pyc
3

3��d��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdd�Zdd	�Zd
S)
�Grafanaz0Fetch Grafana configuration, logs and CLI output�grafana�services�	openstack�openstack_controllercCsD|jd�r|jd�n
|jd�|jddddg�|jdd	g�dS)
NZall_logsz/var/log/grafana/*.log*z/var/log/grafana/*.logzgrafana-cli plugins lszgrafana-cli plugins list-remotezgrafana-cli -vzgrafana-server -vz
/etc/grafana/z/etc/sysconfig/grafana-server)Z
get_optionZ
add_copy_specZadd_cmd_output)�self�r
�/usr/lib/python3.6/grafana.py�setups

z
Grafana.setupcCs(ddg}ddj|�}|jd|d�dS)NZadmin_passwordZ
secret_keyz(^\s*(%s)\s*=\s*)(.*)�|z/etc/grafana/grafana.iniz\1*********)�joinZdo_path_regex_sub)r	Zprotect_keysZregexpr
r
r�postproc(szGrafana.postprocN)rrr)r)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrrr
r
r
rrsrN)Zsos.report.pluginsrrrr
r
r
r�<module>s