[solved]syslog plugin alert and removal problem

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

guitou
Posts: 49
Joined: Wed Feb 27, 2008 4:13 am

Post by guitou »

hi,

here is the list of lie in apache/errors directory.
Seems not have been updated
Attachments
errors log.JPG
errors log.JPG (63.33 KiB) Viewed 1996 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

/var/log/apache2/error_log

or

/var/log/httpd/error_log

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
guitou
Posts: 49
Joined: Wed Feb 27, 2008 4:13 am

Post by guitou »

no error when I click on the management plugin link, but I've this in errorlog file
[Tue Mar 23 07:00:13 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
[Tue Mar 23 07:20:06 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
[Tue Mar 23 07:40:01 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
[Tue Mar 23 07:59:57 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
[Tue Mar 23 08:19:50 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
[Tue Mar 23 08:39:46 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
[Tue Mar 23 08:59:41 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
[Tue Mar 23 09:19:35 2010] [error] [client 10.0.6.158] File does not exist: C:/Apache2/htdocs/RPC2
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Dude, I don't know what to tell you then. I wish I could provide more help for you. It would be nice if you could get things to work on your own, but it was hard enough for you to find the Apache error log. So, you may lack the experience.

It is likely something quite simple, but not so easy to find. Could be something as simple as a PHP timeout value in your php.ini file like max_execution_time being set too low. I set mine to 300. Of course it won't take affect until you restart Apache.

So, Cacti is a not just OSS software, but a right of passage. There is no paid support, so, you have to earn, in a sense, the ability to run it. So, you can hunker down and learn PHP/Apache/MySQL/Linux or use some other tool. There are lot's of them.

It would be nice if someone had the experience to fix the few minor remaining bugs in the syslog plugin so 0.5.3 could be officially released too.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
guitou
Posts: 49
Joined: Wed Feb 27, 2008 4:13 am

Post by guitou »

Hi the witness,

i just try to be up to date with the latest windows package installer served by BSOD (thanks for him). But the last version 1.94 is packaging with syslog 0.5.3 plugin, and he's too buggy.

In php error log I fin this
[23-Mar-2010 11:53:27] PHP Warning: include(./include/html/inc_timespan_settings.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:53:27] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './include/html/inc_timespan_settings.php' for inclusion (include_path='.;C:\php5\pear') in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:53:31] PHP Warning: include(./include/html/inc_timespan_settings.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:53:31] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './include/html/inc_timespan_settings.php' for inclusion (include_path='.;C:\php5\pear') in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:53:32] PHP Warning: include(./include/html/inc_timespan_settings.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:53:32] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './include/html/inc_timespan_settings.php' for inclusion (include_path='.;C:\php5\pear') in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:54:02] PHP Warning: include(./include/html/inc_timespan_settings.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:54:02] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './include/html/inc_timespan_settings.php' for inclusion (include_path='.;C:\php5\pear') in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

[23-Mar-2010 11:54:13] PHP Fatal error: Cannot redeclare plugin_init_syslog() (previously declared in C:\Apache2\htdocs\cacti\plugins\syslog\setup.php:15) in C:\Apache2\htdocs\cacti\plugins\syslog0.5.3\setup.php on line 29

Any idea ?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You need to delete that other directory.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
guitou
Posts: 49
Joined: Wed Feb 27, 2008 4:13 am

Post by guitou »

thanks you the witness,

it solve the plugin management link. An idea for the php warning:
Failed opening './include/html/inc_timespan_settings.php' for inclusion (include_path='.;C:\php5\pear') in C:\Apache2\htdocs\cacti\plugins\syslog\syslog.php on line 126

in syslog php at line 126:
include($syslog_config["graphtime"] ? "./include/html/inc_timespan_settings.php" : "plugins/syslog/html/syslog_timespan_settings.php");

I cannot find file inc_timespan_settings.php in my whole local disk
guitou
Posts: 49
Joined: Wed Feb 27, 2008 4:13 am

Post by guitou »

The witness,

i found the an issu here http://forums.cacti.net/about31511.html&highlight=

Thanks for your support
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests