内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

增加cacti監(jiān)控對象時導(dǎo)致無數(shù)據(jù)無圖形出現(xiàn)-創(chuàng)新互聯(lián)

生產(chǎn)環(huán)境:

在鼎城等地區(qū),都構(gòu)建了全面的區(qū)域性戰(zhàn)略布局,加強(qiáng)發(fā)展的系統(tǒng)性、市場前瞻性、產(chǎn)品創(chuàng)新能力,以專注、極致的服務(wù)理念,為客戶提供成都網(wǎng)站建設(shè)、成都網(wǎng)站制作 網(wǎng)站設(shè)計制作按需制作網(wǎng)站,公司網(wǎng)站建設(shè),企業(yè)網(wǎng)站建設(shè),品牌網(wǎng)站設(shè)計,成都營銷網(wǎng)站建設(shè),成都外貿(mào)網(wǎng)站建設(shè)公司,鼎城網(wǎng)站建設(shè)費(fèi)用合理。

操作系統(tǒng):CentOS release 6.8 (Final)

數(shù)據(jù)庫:mysql 5.5.49-cll-lve

問題:在眾多Cacti監(jiān)控的對象中,由于增加一臺服務(wù)器增加了一個了監(jiān)控對象Windows系統(tǒng),導(dǎo)致cacti在監(jiān)控所有對象中僅有1個對象出圖出數(shù)據(jù)。

分析:

1.圖像沒有生成,運(yùn)行# /usr/bin/php /var/www/html/cacti/poller.php --force #出現(xiàn)數(shù)據(jù)了嗎?
2.權(quán)限問題,修改權(quán)限#chmod 777 -R /var/www/html/cacti/rra #沒有權(quán)限嗎?
3.數(shù)據(jù)庫表有損壞。#需要修復(fù)數(shù)據(jù)庫嗎?

4.重新啟動snmp服務(wù)。

5.使用snmpwalk 獲取各種信息。

   出現(xiàn)問題之后,我們要通過檢查錯誤日志來分析問題所在。

[root@sky9896 log]# sz  cacti.log  #下載日志分析

rz

 zmodem trl+C

 100% 1211481 KB 6478 KB/s 00:03:07      0 Errorss

[root@sky9896 log]# tail  -n 200 cacti.log #查看文本文件末尾n行,請查看附件代碼

09/07/2016 03:53:02 PM - CMDPHP: Poller[0] Host[2] DS[15] WARNING: Result from SERVER not valid. Partial Result: U

09/07/2016 03:53:02 PM - CMDPHP: Poller[0] Host[2] DS[12] WARNING: Result from SERVER not valid. Partial Result: U

……………………….

 [root@sky9896 ~]# mysqlcheck --auto-repair --databases cacti -p

Enter password:

cacti.cdef                                        OK

cacti.cdef_items                                  OK

cacti.colors                                      OK

cacti.data_input                                  OK

cacti.data_input_data

warning : 2 clients are using or haven't closed the table properly

status  : OK

cacti.data_input_fields                           OK

cacti.data_local

warning : 2 clients are using or haven't closed the table properly

status  : OK

cacti.data_template                               OK

cacti.data_template_data

warning : 3 clients are using or haven't closed the table properly

status  : OK

cacti.data_template_data_rra

warning : 2 clients are using or haven't closed the table properly

status  : OK

cacti.data_template_rrd

warning : 2 clients are using or haven't closed the table properly

status  : OK

cacti.graph_local

warning : 2 clients are using or haven't closed the table properly

status  : OK

cacti.graph_template_input                        OK

cacti.graph_template_input_defs

warning : 1 client is using or hasn't closed the table properly

status  : OK

cacti.graph_templates                             OK

cacti.graph_templates_gprint                      OK

cacti.graph_templates_graph

warning : 2 clients are using or haven't closed the table properly

status  : OK

cacti.graph_templates_item

warning  : 2 clients are using or haven't closed the table properly

status  : OK

cacti.graph_tree                                  OK

cacti.graph_tree_items                            OK

cacti.host

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.host_graph                                  OK

cacti.host_snmp_cache

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.host_snmp_query                             OK

cacti.host_template                               OK

cacti.host_template_graph

warning : 1 client is using or hasn't closed the table properly

status  : OK

cacti.host_template_snmp_query                    OK

cacti.plugin_config                               OK

cacti.plugin_db_changes                           OK

cacti.plugin_discover_hosts

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.plugin_discover_template                    OK

cacti.plugin_hooks                                OK

cacti.plugin_notification_lists                   OK

cacti.plugin_realms                               OK

cacti.plugin_thold_contacts                       OK

cacti.plugin_thold_host_failed                    OK

cacti.plugin_thold_log

warning : 5 clients are using or haven't closed the table properly

status  : OK

cacti.plugin_thold_template_contact               OK

cacti.plugin_thold_threshold_contact              OK

cacti.poller                                      OK

cacti.poller_command

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.poller_item

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.poller_output                               OK

cacti.poller_output_rt

warning : 3 clients are using or haven't closed the table properly

status  : OK

cacti.poller_reindex

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.poller_time                                 OK

cacti.rra                                         OK

cacti.rra_cf                                      OK

cacti.settings

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.settings_graphs                             OK

cacti.settings_tree                               OK

cacti.snmp_query                                  OK

cacti.snmp_query_graph                            OK

cacti.snmp_query_graph_rrd                        OK

cacti.snmp_query_graph_rrd_sv                     OK

cacti.snmp_query_graph_sv                         OK

cacti.syslog                                      OK

cacti.syslog_alert                                OK

cacti.syslog_facilities                           OK

cacti.syslog_host_facilities                      OK

cacti.syslog_hosts                                OK

cacti.syslog_incoming                             OK

cacti.syslog_logs                                 OK

cacti.syslog_priorities                           OK

cacti.syslog_remove                               OK

cacti.syslog_removed                              OK

cacti.syslog_reports                              OK

cacti.syslog_statistics                           OK

cacti.test                                        OK

cacti.thold_data

warning : 6 clients are using or haven't closed the table properly

status  : OK

cacti.thold_template                              OK

cacti.user_auth                                   OK

cacti.user_auth_perms                             OK

cacti.user_auth_realm                             OK

cacti.user_log

warning : 4 clients are using or haven't closed the table properly

status  : OK

cacti.version

[root@sky9896 /]# mysqlcheck --auto-repair --database cacti -p #修復(fù)數(shù)據(jù)庫

Warning: Using unique option prefix database instead of databases is deprecated and will be removed in a future release. Please use the full name instead.

Enter password:

cacti.cdef                                        OK

cacti.cdef_items                                  OK

cacti.colors                                      OK

cacti.data_input                                  OK

cacti.data_input_data                             OK

cacti.data_input_fields                           OK

cacti.data_local                                  OK

cacti.data_template                               OK

cacti.data_template_data                          OK

cacti.data_template_data_rra                      OK

cacti.data_template_rrd                           OK

cacti.graph_local                                 OK

cacti.graph_template_input                        OK

cacti.graph_template_input_defs                   OK

cacti.graph_templates                             OK

cacti.graph_templates_gprint                      OK

cacti.graph_templates_graph                       OK

cacti.graph_templates_item                        OK

cacti.graph_tree                                  OK

cacti.graph_tree_items                            OK

cacti.host                                        OK

cacti.host_graph                                  OK

cacti.host_snmp_cache                             OK

cacti.host_snmp_query                             OK

cacti.host_template                               OK

cacti.host_template_graph                         OK

cacti.host_template_snmp_query                    OK

cacti.plugin_config                               OK

cacti.plugin_db_changes                           OK

cacti.plugin_discover_hosts                       OK

cacti.plugin_discover_template                    OK

cacti.plugin_hooks                                OK

cacti.plugin_notification_lists                   OK

cacti.plugin_realms                               OK

cacti.plugin_thold_contacts                       OK

cacti.plugin_thold_host_failed                    OK

cacti.plugin_thold_log                            OK

cacti.plugin_thold_template_contact               OK

cacti.plugin_thold_threshold_contact              OK

cacti.poller                                      OK

cacti.poller_command                              OK

cacti.poller_item                                 OK

cacti.poller_output                               OK

cacti.poller_output_rt                            OK

cacti.poller_reindex                              OK

cacti.poller_time                                 OK

cacti.rra                                         OK

cacti.rra_cf                                      OK

cacti.settings                                    OK

cacti.settings_graphs                             OK

cacti.settings_tree                               OK

cacti.snmp_query                                  OK

cacti.snmp_query_graph                            OK

cacti.snmp_query_graph_rrd                        OK

cacti.snmp_query_graph_rrd_sv                     OK

cacti.snmp_query_graph_sv                         OK

cacti.syslog                                      OK

cacti.syslog_alert                                OK

cacti.syslog_facilities                           OK

cacti.syslog_host_facilities                      OK

cacti.syslog_hosts                                OK

cacti.syslog_incoming                             OK

cacti.syslog_logs                                 OK

cacti.syslog_priorities                           OK

cacti.syslog_remove                               OK

cacti.syslog_removed                              OK

cacti.syslog_reports                              OK

cacti.syslog_statistics                           OK

cacti.test                                        OK

cacti.thold_data                                  OK

cacti.thold_template                              OK

cacti.user_auth                                   OK

cacti.user_auth_perms                             OK

cacti.user_auth_realm                             OK

cacti.user_log                                    OK

cacti.version                                     OK

 [root@sky9896 /]# /usr/bin/php /var/www/html/cacti/poller.php --force  #生成對象

09/07/2016 06:03:56 PM - SYSTEM STATS: Time:0.4219 Method:cmd.php Processes:4 Threads:N/A Hosts:10 HostsPerProcess:3 DataSources:0 RRDsProcessed:0

[root@sky9896 /]# chmod 777 -R rra  #設(shè)置權(quán)限

[root@sky9896 /]# service snmpd restart #重新啟動服務(wù)

[root@sky9896 /]# snmpwalk -v 2c 117.40.***.*  -c public #收集各種信息

    此次增加cacti對象導(dǎo)致兩個問題,一個是導(dǎo)致數(shù)據(jù)庫發(fā)生錯誤,另一個是snmp運(yùn)行服務(wù)的問題。

另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務(wù)器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務(wù)可用性高、性價比高”等特點(diǎn)與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應(yīng)用場景需求。

當(dāng)前文章:增加cacti監(jiān)控對象時導(dǎo)致無數(shù)據(jù)無圖形出現(xiàn)-創(chuàng)新互聯(lián)
本文來源:http://www.rwnh.cn/article22/jopcc.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站制作、域名注冊建站公司品牌網(wǎng)站建設(shè)、小程序開發(fā)網(wǎng)站收錄

廣告

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

成都定制網(wǎng)站建設(shè)
吐鲁番市| 沙洋县| 长沙县| 丹江口市| 遂溪县| 高密市| 萍乡市| 嘉荫县| 永丰县| 喜德县| 沅江市| 汉川市| 黄山市| 荆门市| 永福县| 且末县| 丰原市| 通海县| 商丘市| 沈丘县| 永济市| 确山县| 石嘴山市| 房产| 辉南县| 武威市| 六枝特区| 石阡县| 开化县| 嘉义县| 湖南省| 威宁| 通化县| 固原市| 旬邑县| 镇雄县| 榆中县| 周宁县| 即墨市| 始兴县| 黔江区|