??????????????
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@`s—ddlmZmZmZeZidd6dgd6dd6ZdZd Zdd l Z dd l Z dd l m Z d „Z ed kr“e ƒnd S(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust communityt supported_bys9 --- module: monit short_description: Manage the state of a program monitored via Monit description: - Manage the state of a program monitored via I(Monit) version_added: "1.2" options: name: description: - The name of the I(monit) program/process to manage required: true state: description: - The state of service required: true choices: [ "present", "started", "stopped", "restarted", "monitored", "unmonitored", "reloaded" ] timeout: description: - If there are pending actions for the service monitored by monit, then Ansible will check for up to this many seconds to verify the requested action has been performed. Ansible will sleep for five seconds between each check. default: 300 version_added: "2.1" author: "Darryl Stoflet (@dstoflet)" sm # Manage the state of program "httpd" to be in "started" state. - monit: name: httpd state: started N(t AnsibleModulec `sætdtdtƒdtddddƒdtdtd d d d d dddgƒƒ}td|dtƒ‰ˆjd‰ˆjd‰ ˆjd‰ ˆjdtƒ‰‡‡fd†}‡‡fd†‰‡‡ ‡ fd†‰‡fd†‰ ‡fd†‰ ‡‡‡‡fd†‰‡‡‡‡fd†}‡‡‡ ‡ fd†}|ƒ\‰‰d:ˆƒ‰ˆ dkrõˆjrˆˆjdtƒnˆjdˆƒ\}}}|d krψjd!d"d#|d$|ƒn|ƒˆjdtdˆdˆ ƒnˆƒd%k}| r;ˆ d k r;ˆjd!d&ˆdˆdˆ ƒnˆ d krÉ|sªˆjriˆjdtƒn|d'ƒ}|d%kr‹|ƒnˆjdtdˆdˆ ƒnˆjdt dˆdˆ ƒn|ƒd(ˆƒk} | rˆ d;krˆjdt dˆdˆ ƒn| ržˆ d kržˆjr>ˆjdtƒn|d)ƒ}|d<ksbd+|krˆjdtdˆdˆ ƒnˆjd!d,ˆd-|ƒn| r,ˆ dkr,ˆjr̈jdtƒn|d.ƒ}|d=ksðd/|krˆjdtdˆdˆ ƒnˆjd!d0ˆd-|ƒnšˆ d kr´ˆjrTˆjdtƒn|d1ƒ}|d>ksxd3|kr—ˆjdtdˆdˆ ƒnˆjd!d4ˆd-|ƒn| rCˆ d krCˆjrãˆjdtƒn|d5ƒ}|d?ksd6|kr&ˆjdtdˆdˆ ƒnˆjd!d7ˆd-|ƒnƒ| rƈ dkrƈjrrˆjdtƒn|d8ƒ}|d@kr©ˆjdtdˆdˆ ƒnˆjd!d9ˆd-|ƒnˆjdt dˆdˆ ƒdS(ANtnametrequiredttimeouttdefaulti,ttypetinttstatetchoicestpresenttstartedt restartedtstoppedt monitoredt unmonitoredtreloadedt argument_spectsupports_check_modetmonitc`stˆjdˆdtƒ\}}}|jdƒd}tjd|ƒjƒjdƒ}t|dƒt|dƒfS(Ns%s -Vtcheck_rcs is[0-9]+\.[0-9]+t.i(t run_commandtTruetsplittretsearchtgroupR(trctoutterrt version_linetversion(tMONITtmodule(sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pyt monit_versionGs"!c`sˆˆfdkS(Nii(ii(((tMONIT_MAJOR_VERSIONtMONIT_MINOR_VERSION(sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pytis_version_higher_than_5_18Nsc`s!ˆƒrˆ|ƒSˆ|ƒSdS(N((tparts(R-t parse_currenttparse_older_versions(sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pytparseQs  c`s[t|ƒdkrS|djƒdkrS|ddˆkrSdj|dƒjƒSdSdS(Niitprocessis'%s't t(tlentlowertjoin(R.(R (sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pyR0Ws<c`sWt|ƒdkrO|djƒdkrO|dˆkrOdj|dƒjƒSdSdS(NiR2iR4i(R5R6R7(R.(R (sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pyR/]s8c`shˆjdˆˆfdtƒ\}}}x9|jdƒD](}ˆ|jƒƒ}|dkr8|Sq8WdS(sNReturn the status of the process in monit, or the empty string if not present.s%s %sRs R4(RRR(R#R$R%tlineR.(R(tSUMMARY_COMMANDR)R1(sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pyt get_statuscs ( c`s'ˆjdˆ|ˆfdtƒˆƒS(s1Runs a monit command, and returns the new status.s%s %s %sR(RR(tcommand(R(R:R)R (sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pyRps c`s˜tjƒˆ}d}ˆƒ}xr|dksFd|ksFd|kr“tjƒ|krzˆjddj|ƒdˆƒntj|ƒˆƒ}q"WdS( sMFails this run if there is no status or it's pending/initializing for timeoutiR4tpendingt initializingtmsgsFwaited too long for "pending", or "initiating" status to go away ({0})RN(ttimet fail_jsontformattsleep(t timeout_timet sleep_timetrunning_status(R:R)RR (sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pytwait_for_monit_to_stop_pendingus '    tsummarys summary -Btchangeds %s reloadiR>smonit reload failedtstdouttstderrR4s.%s process not presently configured with monittreloadtrunningtstops not monitoreds stop pendings%s process not stoppedRt unmonitorsunmonitor pendings%s process not unmonitoredtrestartR=srestart pendings%s process not restartedtstarts start pendings%s process not startedtmonitors%s process not monitored(RGs summary -B(RR(s not monitored(s not monitored(s initializingsrunning(s initializingsrunning(s not monitored( tdictRRtparamst get_bin_patht check_modet exit_jsonRR@tFalse( targ_specR*RRFR#R$R%RRRL(( R(R+R,R9R:R-R)R R1R/R0RR sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pytmain8sž-        #                 t__main__(t __future__RRRR t __metaclass__tANSIBLE_METADATAt DOCUMENTATIONtEXAMPLESR?R tansible.module_utils.basicRRYt__name__(((sD/usr/lib/python2.7/site-packages/ansible/modules/monitoring/monit.pyts      œ