??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177

Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
σ ΰUdac@`srddlmZmZmZeZdZdZddlZddl Z ddl Z ddl Z ddl Z yddl Z eZWnek r™eZnXyddlZeZWnek rΙeZnXddlmZmZddlmZdefd„ƒYZyddlZeZWnek r;eZeZnXd efd „ƒYZeZd efd „ƒYZdS( i(tabsolute_importtdivisiontprint_functions callback: logentries type: notification short_description: Sends events to Logentries description: - This callback plugin will generate JSON objects and send them to Logentries via TCP for auditing/debugging purposes. - Before 2.4, if you wanted to use an ini configuration, the file must be placed in the same directory as this plugin and named logentries.ini - In 2.4 and above you can just put it in the main Ansible configuration file. version_added: "2.0" requirements: - whitelisting in configuration - certifi (python library) - flatdict (python library), if you want to use the 'flatten' option options: api: description: URI to the Logentries API env: - name: LOGENTRIES_API default: data.logentries.com ini: - section: callback_logentries key: api port: description: HTTP port to use when connecting to the API env: - name: LOGENTRIES_PORT default: 80 ini: - section: callback_logentries key: port tls_port: description: Port to use when connecting to the API when TLS is enabled env: - name: LOGENTRIES_TLS_PORT default: 443 ini: - section: callback_logentries key: tls_port token: description: The logentries "TCP token" env: - name: LOGENTRIES_ANSIBLE_TOKEN required: True ini: - section: callback_logentries key: token use_tls: description: - Toggle to decide whether to use TLS to encrypt the communications with the API server env: - name: LOGENTRIES_USE_TLS default: False type: boolean ini: - section: callback_logentries key: use_tls flatten: description: flatten complex data structures into a single dictionary with complex keys type: boolean default: False env: - name: LOGENTRIES_FLATTEN ini: - section: callback_logentries key: flatten s  examples: > To enable, add this to your ansible.cfg file in the defaults block [defaults] callback_whitelist = logentries Either set the environment variables export LOGENTRIES_API=data.logentries.com export LOGENTRIES_PORT=10000 export LOGENTRIES_ANSIBLE_TOKEN=dd21fc88-f00a-43ff-b977-e3a4233c53af Or in the main Ansible config file [callback_logentries] api = data.logentries.com port = 10000 tls_port = 20000 use_tls = no token = dd21fc88-f00a-43ff-b977-e3a4233c53af flatten = False N(tto_bytestto_text(t CallbackBasetPlainTextSocketAppendercB`s>eZdddd„Zd„Zd„Zd„Zd„ZRS(sdata.logentries.comiPi»cC`sU||_||_||_d|_d|_d|_d|_||_d|_ dS(Ngš™™™™™Ή?i sG It appears the LOGENTRIES_TOKEN parameter you entered is incorrect! u
( tLE_APItLE_PORTt LE_TLS_PORTt MIN_DELAYt MAX_DELAYt INVALID_TOKENtLINE_SEPt_displaytNonet_conn(tselftdisplayRRR ((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyt__init__zs        cC`s;tjtjtjƒ|_|jj|j|jfƒdS(N(tsockettAF_INETt SOCK_STREAMRtconnectRR(R((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pytopen_connection‰scC`sέ|jƒ|j}xΓtrΨy|jƒdSWn-tk r]}|jjdt|ƒƒnX|d9}||jkrƒ|j}n|t j d|ƒ}y%|jjd|ƒt j |ƒWqt k rΤ‚qXqWdS(Nu#Unable to connect to Logentries: %siissleeping %s before retry(tclose_connectionR tTrueRt ExceptionRtvvvvRR trandomtuniformttimetsleeptKeyboardInterrupt(Rt root_delaytetwait_for((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pytreopen_connections"       cC`s#|jdk r|jjƒndS(N(RRtclose(R((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyR€scC`s‘t|ddƒ}|jd|jƒ}|d7}xOtr‚y |jjt|ddƒƒWn!tjk r}|j ƒq4nXPq4W|j ƒdS(Nterrorstsurrogate_or_strictu ( RtreplaceR RRtsendRRterrorR%R(Rtdatat multiline((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pytput¨s    (t__name__t __module__RRR%RR.(((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyRys    tTLSSocketAppendercB`seZd„ZRS(cC`s˜tjtjtjƒ}tjd|dddddtdtjdttdtj ƒdt j ƒd t d t ƒ }|j |j|jfƒ||_dS( Ntsocktkeyfiletcertfilet server_sidet cert_reqst ssl_versiontPROTOCOL_TLSv1_2tca_certstdo_handshake_on_connecttsuppress_ragged_eofs(RRRtsslt wrap_socketRtFalset CERT_REQUIREDtgetattrtPROTOCOL_TLSv1tcertifitwhereRRRR R(RR2((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyRΓs    (R/R0R(((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyR1ΒstCallbackModulecB`s€eZdZdZdZeZd„Zdddd„Z d„Z d„Z d„Z d„Z d „Zed „Zdd „Zd „Zd „Zd„Zd„ZRS(g@t notificationt logentriescC`sptt|ƒjƒts,|jjdƒntsNt|_|jjdƒnt t j ƒƒ|_ d|_ dS(Ns4Unable to import ssl module. Will send over port 80.sWThe `certifi` python module is not installed. Disabling the Logentries callback plugin.i (tsuperRDRtHAS_SSLRtwarningt HAS_CERTIFIRtdisabledtstrtuuidtuuid4tle_jobidttimeout(R((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyRάs cC`s;tt|ƒjd|d|d|ƒy^|jdƒ|_|jdƒ|_|jdƒ|_|jdƒ|_|jdƒ|_Wn6t k r»}|j j d t |ƒƒt |_nXy|jd ƒ|_Wn,t k r}|j j d ƒt |_nX|jr-t r-t |_|j j d ƒn|jƒdS( Nt task_keyst var_optionstdirecttapitportttls_porttuse_tlstflattenu1Missing option for Logentries callback plugin: %sttokens[Logentries token was not provided, this is required for this callback to operate, disablingswYou have chosen to flatten and the `flatdict` python module is not installed. Disabling the Logentries callback plugin.(RGRDt set_optionst get_optiontapi_urltapi_portt api_tls_portRWRXtKeyErrorRRIRRRKRYt HAS_FLATDICTt_initialize_connections(RRQRRRSR#((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyRZξs&%   cC`s·|js³|jr\|jjd|j|jfƒtd|jd|jd|jƒ|_nG|jjd|j|jfƒt d|jd|jd|jƒ|_|jj ƒndS(NsConnecting to %s:%s with TLSRRR sConnecting to %s:%sR( RKRWRRR\R^R1t _appenderR]RR%(R((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyRa s   * 'cC`sK|jr1tj|ƒ}|j|j|ƒƒn|j|j|ƒƒdS(N(RXtflatdicttFlatDicttemitt _dump_results(Rtrecordtresults((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pytemit_formatteds cC`sH|jdƒ}dj|j|ƒ}|jj|ƒ|jjdƒdS(Ns s{0} {1}sSent event to logentries(trstriptformatRYRbR.RR(RRgtmsg((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyRescC`si|jd6|d6|d6S(NROthostnameRh(RO(Rthosttres((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyt _set_info!scC`s-|j||ƒ}d|d<|j|ƒdS(NtOKtstatus(RpRi(RRnRoRh((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyt runner_on_ok$s cC`s-|j||ƒ}d|d<|j|ƒdS(NtFAILEDRr(RpRi(RRnRot ignore_errorsRh((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pytrunner_on_failed)s cC`s4|j||ƒ}|d=d|d<|j|ƒdS(NRhtSKIPPEDRr(RpRi(RRntitemRh((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pytrunner_on_skipped.s cC`s-|j||ƒ}d|d<|j|ƒdS(Nt UNREACHABLERr(RpRi(RRnRoRh((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pytrunner_on_unreachable4s cC`s7|j||ƒ}||dRvRyR{R~R…R‡(((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyRDΦs"          ( t __future__RRRttypet __metaclass__t DOCUMENTATIONtEXAMPLESR‚RRRRMRBRRJt ImportErrorR>RcR`tansible.module_utils._textRRtansible.plugins.callbackRtobjectRR<RHtSocketAppenderR1RD(((sG/usr/lib/python2.7/site-packages/ansible/plugins/callback/logentries.pyts<C             A