Syslog plugin issue on cacti 0.8.8a in Windows
Moderators: Developers, Moderators
Syslog plugin issue on cacti 0.8.8a in Windows
Please, I am having issues setting up my syslog plugin to work properly.i cant find any log messages on the syslog tab in cacti 0.8.8a and the following are error lines from Cactilog (Clog) and Php log events.
Cacti log (Clog) plugin messages
06/21/2012 02:40:10 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1364', SQL:"INSERT INTO `plugin_camm_tree2` (`device_id`,`description`, `hostname`,`gr_f`,`gr_v`,`agentip`,`agentip_source` ,`type` ,`period`,`_is_type`,`_is_device`,`_parent` ,`count` ,`dev_count` ,`online` ,`_is_leaf`,`_lvl`) SELECT `t0`.`device_id`,`t0`.`description`,`t0`.`hostname`,`t0`.`gr_f`,`t0`.`gr_v`,`t0`.`agentip`,`t0`.`agentip_source`,'syslog',`t0`.`period` ,'0' ,'0' ,t1.id ,t0.`count` ,`t0`.`dev_count`,'1' ,'1' ,'5' FROM plugin_camm_temp as t0 join plugin_camm_tree2 as t1 on (t0.type=t1.type and t0.hostname=t1.hostname and t0.period=t1.period and t0.gr_f=t1.gr_f) WHERE `t0`.`type`='syslog' and `t1`.`online`='1' and `_is_marker`='0' group by hostname,period,`t0`.gr_f,gr_v ON DUPLICATE KEY UPDATE `plugin_camm_tree2`.`dev_count` = values(`dev_count`), `plugin_camm_tree2`.`_parent` = values(`_parent`), `plugin_camm_tree2`.`count` = values(`count`), `plugin_camm_tree2`.`online` = '1' ;'
Php Log:
19-Jun-2012 13:26:49 UTC] PHP Notice: Undefined index: syslog_reports.php: in C:\Apache2\htdocs\cacti\lib\functions.php on line 1830
[19-Jun-2012 13:26:49 UTC] PHP Notice: Undefined index: syslog_reports.php: in C:\Apache2\htdocs\cacti\lib\functions.php on line 1830
[19-Jun-2012 13:26:49 UTC] PHP Fatal error: Call to a member function SetFetchMode() on a non-object in C:\Apache2\htdocs\cacti\plugins\syslog\database.php on line 205
[19-Jun-2012 13:26:51 UTC] PHP Notice: Undefined index: syslog_reports.php:edit in C:\Apache2\htdocs\cacti\lib\functions.php on line 1830
[19-Jun-2012 13:26:51 UTC] PHP Notice: Undefined index: syslog_reports.php:edit in C:\Apache2\htdocs\cacti\lib\functions.php on line 1830
[19-Jun-2012 13:26:54 UTC] PHP Fatal error: Call to a member function Replace() on a non-object in C:\Apache2\htdocs\cacti\plugins\syslog\database.php on line 265
[19-Jun-2012 13:27:02 UTC] PHP Fatal error: Call to a member function Replace() on a non-object in C:\Apache2\htdocs\cacti\plugins\syslog\database.php on line 265
[19-Jun-2012 13:27:03 UTC] PHP Fatal error: Call to a member function Replace() on a non-object in C:\Apache2\htdocs\cacti\plugins\syslog\database.php on line 265
[19-Jun-2012 14:02:59 UTC] PHP Warning: Missing argument 3 for get_syslog_messages(), called in C:\Apache2\htdocs\cacti\plugins\syslog\functions.php on line 506 and defined in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 656
[19-Jun-2012 14:02:59 UTC] PHP Notice: Undefined variable: tab in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 667
[19-Jun-2012 14:02:59 UTC] PHP Notice: Undefined variable: tab in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 711
[19-Jun-2012 15:20:16 UTC] PHP Warning: session_destroy(): Session object destruction failed in C:\Apache2\htdocs\cacti\logout.php on line 31
- Attachments
-
- Cacti Syslog screenshot.doc
- (154 KiB) Downloaded 169 times
Re: Syslog plugin issue on cacti 0.8.8a in Windows
I have the same issue... without having syslog plugin..
Code: Select all
[Tue Jul 24 17:57:12 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=6&select_first=true
[Tue Jul 24 17:57:12 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=6&select_first=true
[Tue Jul 24 17:57:13 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti
/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=8
[Tue Jul 24 17:57:13 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=8
[Tue Jul 24 17:57:15 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=8&leaf_id=90
[Tue Jul 24 17:57:15 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=8&leaf_id=90
[Tue Jul 24 17:57:18 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=8&leaf_id=2733
[Tue Jul 24 17:57:18 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830, referer: http://192.168.199.90/cacti/graph_view.php?action=tree&tree_id=8&leaf_id=2733
[Tue Jul 24 17:57:57 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830
[Tue Jul 24 17:57:57 2012] [error] [client 10.0.102.185] PHP Notice: Undefined index: graph_view.php:tree in /home/cacti/lib/functions.php on line 1830
Cacti 0.8.8a with Boost and Multiserver Poller Plugin
Over 2.5k devices and 300k datasources!
Over 2.5k devices and 300k datasources!
Who is online
Users browsing this forum: No registered users and 1 guest