- 论坛徽章:
- 0
|
nagios与cacti整合后,点击NPC,如附件中的图片所示,并没有显示主机的信息,看日志,好像是在执行插入SQL语句的时候出现了问题,请问大家有遇到过此种问题吗?我在网上找了很久也没有找到相关的解决方法。
un 1 06:24:39 www ndo2db: Error: Connection to MySQL database has been lost!
Jun 1 06:24:39 www ndo2db: Successfully disconnected from MySQL database
Jun 1 06:24:39 www ndo2db: Error: mysql_query() failed for 'UPDATE npc_conninfo SET disconnect_time=NOW(), last_checkin_time=NOW(), data_end_time=FROM_UNIXTIME(0), bytes_processed='169417', lines_processed='23045', entries_processed='1637' WHERE conninfo_id='2''
Jun 1 06:24:39 www ndo2db: Error: Connection to MySQL database has been lost!
Jun 1 06:24:39 www ndo2db: Successfully disconnected from MySQL database
Jun 1 06:24:39 www ndo2db: Successfully disconnected from MySQL database
Jun 1 06:24:39 www nagios: ndomod: Error writing to data sink! Some output may get lost...
Jun 1 06:24:55 www nagios: ndomod: Successfully reconnected to data sink! 0 items lost, 80 queued items to flush.
Jun 1 06:24:55 www nagios: ndomod: Successfully flushed 80 queued items to data sink.
Jun 1 06:24:55 www ndo2db: Successfully connected to MySQL database
Jun 1 06:27:01 www snmpd[5621]: Connection from UDP: [127.0.0.1]:32794
Jun 1 06:31:02 www last message repeated 12 times |
|