在线精品99_中国九九盗摄偷拍偷看_91免费版在线观看_91.app_91高清视频在线_99热最新网站

增加cacti监控对象时导致数据库出问题怎么办

119次阅读
没有评论

共计 4019 个字符,预计需要花费 11 分钟才能阅读完成。

这篇文章主要介绍增加 cacti 监控对象时导致数据库出问题怎么办,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

生产环境:

数据库:mysql 5.5.49-cll-lve

问题:在众多 Cacti 监控的对象中,由于增加了监控对象 nginx,导致 cacti 在监控所有对象中仅有 1 个对象出图出数据。

分析:

1.systemutilities – Rebuild poller cache #需要重建 cache 吗?
2. 系统时间不准确,重新设置时间  # 需要更新服务器时间吗?
3. 图像没有生成,运行

# /usr/bin/php /var/www/html/cacti/poller.php –force #出现数据了吗?
4. 权限问题,修改权限 #chmod 777 -R /var/www/html/cacti/rra #没有权限吗?
5.crontab -e  # 定时任务的问题吗?

6. 数据库表有损坏。# 需要修复数据库吗?

  出现问题之后,我们要通过检查错误日志来分析问题所在,请查看附件。

通过查看 cacti 日志文件,发现没有加载有效数据,通过修复 cacti 数据库解决了出图出数据的问题。

[root@sky9896 sky]# 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 : 3 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 : 3 clients are using or haven t closed the table properly

status : 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

warning : 3 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

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

status : OK

cacti.graph_tree_items

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

status : OK

cacti.host

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

status : OK

cacti.host_graph   OK

cacti.host_snmp_cache

warning : 9 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  OK

cacti.host_template_snmp_query  OK

cacti.plugin_config

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

status : OK

cacti.plugin_db_changes

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

status : OK

cacti.plugin_discover_hosts

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

status : OK

cacti.plugin_discover_template  OK

cacti.plugin_hooks

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

status : OK

cacti.plugin_notification_lists  OK

cacti.plugin_realms

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

status : OK

cacti.plugin_thold_contacts  OK

cacti.plugin_thold_host_failed  OK

cacti.plugin_thold_log

warning : 7 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 : 9 clients are using or haven t closed the table properly

status : OK

cacti.poller_item

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

status : OK

cacti.poller_output  OK

cacti.poller_output_rt

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

status : OK

cacti.poller_reindex

warning : 9 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 : 9 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.thold_data

warning : 9 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

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

status : OK

cacti.user_log

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

status : OK

cacti.version   OK

以上是“增加 cacti 监控对象时导致数据库出问题怎么办”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注丸趣 TV 行业资讯频道!

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-07-19发表,共计4019字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)
主站蜘蛛池模板: 精品一区二区三区五区六区七区 | 蜜臀av性久久久久蜜臀aⅴ | 在线成人天天鲁夜啪视频 | 中文字幕乱码熟女人妻水蜜桃 | 色屁屁www影院免费观看入口 | 久视频在线观看 | 亚洲无人区一区二区三区 | 丁香五月亚洲春色 | 久久精品国1国二国三 | 三年片在线观看免费大全电影 | 四虎视频国产精品免费 | 久久久久成人精品免费播放动漫 | 91啦在线观看 | 中文字幕人妻无码一区二区三区 | 日本a级特黄特黄刺激大片 日本a级网站 | 国产一精品一aⅴ一免费 | 免费国产黄网站在线观看 | 久草在线资源网站 | 精品久久久久久综合网 | 人妻老妇乱子伦精品无码专区 | 免费a级黄色片 | 亚洲精品国产一区黑色丝袜 | 欧美色综合94亚洲 | 无码a级毛片免费视频内谢 无码a级毛片免费视频内谢5j | 成人免费无码av | www久久只有这里有精品 | 日韩欧美亚洲国产高清在线 | 一区二区三区四区 | 黄色小视频免费网站 | 亚洲精品国偷拍自产在线观看蜜桃 | 精品国免费一区二区三区 | 综合久久久久久久 | 神马影院午夜片 | 成人国产在线视频在线观看 | 国产中文字幕视频 | 日韩经典欧美精品一区 | 九九影视网 | 狠狠色噜噜狠狠狠狠97老肥女 | 最新99国产成人精品视频免费 | 免费视频性 | 乱人伦中文无码视频在线观看 |