如何解決Nagios報Error:Couldnotreadobjectconfigurationdata!問題

這篇文章主要介紹了如何解決Nagios報Error: Could not read object configuration data!問題,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。

成都創(chuàng)新互聯(lián)公司專注于企業(yè)成都全網(wǎng)營銷、網(wǎng)站重做改版、定西網(wǎng)站定制設(shè)計、自適應(yīng)品牌網(wǎng)站建設(shè)、H5響應(yīng)式網(wǎng)站、商城建設(shè)、集團(tuán)公司官網(wǎng)建設(shè)、成都外貿(mào)網(wǎng)站建設(shè)公司、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁設(shè)計等建站業(yè)務(wù),價格優(yōu)惠性價比高,為定西等各大城市提供網(wǎng)站開發(fā)制作服務(wù)。

在Nagios安裝配置完畢并且添加了主機(jī)及服務(wù)后,即可在WEB中查看Map及Hosts等信息了.有時可能會報以下錯誤:

Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
Verify configuration options using the -v command-line option to check for errors.
Check the Nagios log file for messages relating to startup or status data errors.
Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file).
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.

那么,這個是因為我們沒有啟動Nagios的后臺進(jìn)程所導(dǎo)致的,只要執(zhí)行下面的命令即可解決.

# /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
# /usr/local/etc/rc.d/nagios start

好了,看一下解決后的效果.

如何解決Nagios報Error: Could not read object configuration data!問題如何解決Nagios報Error: Could not read object configuration data!問題

感謝你能夠認(rèn)真閱讀完這篇文章,希望小編分享的“如何解決Nagios報Error: Could not read object configuration data!問題”這篇文章對大家有幫助,同時也希望大家多多支持創(chuàng)新互聯(lián),關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,更多相關(guān)知識等著你來學(xué)習(xí)!

分享文章:如何解決Nagios報Error:Couldnotreadobjectconfigurationdata!問題
轉(zhuǎn)載來于:http://muchs.cn/article4/jopoie.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站制作、網(wǎng)站排名、做網(wǎng)站、小程序開發(fā)、用戶體驗、云服務(wù)器

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

小程序開發(fā)