monit

    2熱度

    1回答

    我試圖通過Monit監視本地Apache實例上的VHost。相同的域同時接受http和https流量,所以我想要同時監控。 此外,域解析的IP轉到負載平衡當前Apache實例與運行Apache的另一個服務器之間的通信量的服務器。我需要monit的監視當地情況下,我希望能避免在/etc/hosts中添加任何記錄文件,所以我在想,Monits配置設置with http headers []就足夠了,我

    0熱度

    1回答

    我在檢查服務器端口8080響應時間時遇到問題。即使端口沒有應答或需要很多時間來應答,monit狀態也會告知端口立即應答(在0.000秒內)。 我這是怎麼配置的monit這個過程 check process process_name matching "process_name" start program = "/bin/bash -c 'path_to_sh_start.sh'" stop

    0熱度

    1回答

    我正在使用監控來監控我的Web服務。一切正常,直到monit進程停止。有monit的日誌文件的一部分 monit log file 具有由我添加的monit配置系統(我運行Ubuntu 14.04),它看起來像這樣監測的monit: # This is an upstart script to keep monit running. # To install disable the ol

    0熱度

    1回答

    基本上,monit在文件「product_id」準備就緒時啓動進程「CAD」。我的配置如下: check file product_id with path /etc/platform/product_id if does not exist then alert check process cad with pidfile /var/run/cad.pid depends

    0熱度

    2回答

    輸出輸出和錯誤從一個exec程序腳本有我使用的檢查某些系統條件下使用的monit提醒python腳本。 此腳本執行到stdout,我想在一個日誌文件來捕獲時打印的東西一布赫。 我應該如何配置的monit的conf腳本,這樣我可以抓住這個腳本的兩個輸出和錯誤,並在同一時間提醒在腳本的退出狀態。該monit的警報也應包括對警報事件的標準輸出/標準錯誤。 這是我試過 #/etc/monit/conf/m

    0熱度

    1回答

    我設置了監視vps的監視器,當我添加pem文件時,monit表示它沒有權限,所以我應該將pem文件權限更改爲700?

    0熱度

    1回答

    我試圖與monit的Web服務API(RESTful服務)連接,使用下面的代碼: HttpClient client = new DefaultHttpClient(); HttpPost httpPost = new HttpPost("http://localhost:2812/z_security_check"); NameValuePair[] credentials = {

    0熱度

    1回答

    我已經設置了監視器來監視我的sunspot_solr進程,它似乎首先起作用。如果我重新啓動monit的服務與sudo service monit restart我黑子過程開始: ps aux | grep sunspot root 4086 0.0 0.0 9940 1820 ? Ss 12:41 0:00 bash ./solr start -f -s /ebs/staging/shar

    0熱度

    1回答

    我想要做的monit的是這樣的: check process foo with pidfile /var/run/foo/foo.pid start program = "/etc/init.d/foo start" with timeout 30 seconds stop program = "/etc/init.d/foo stop" if does not e

    0熱度

    1回答

    我想在所有文件/進程/文件系統的狀態可訪問/正在運行後,從monit運行腳本。在編寫一個腳本來解析monit status和monit summary的輸出之外,是否有一些功能可以讓我這樣做?