I have a problem using syslog plugin and superlinks plugin together.
My syslog plugin was working perfectly but when I activated superlinks plugin suddenly syslog stopped working. Every filter I had defined on syslog plugin dissapeared and I start getting this error on /var/log/httpd/error_log
Code: Select all
[Thu Nov 01 02:21:55 2007] [error] [client 192.168.0.20] PHP Warning:strpos() [<a href='function.strpos'>function.strpos</a>]: Offset not contained in string. in var/www/cacti/plugins/syslog/syslog_remove.php on line 87, referer: http://localhost:8888/cacti/plugins/syslog/syslog.php
I also tried changing the order in the plugins array.
I have tried this order:
$plugins = array();
$plugins[] = 'superlinks';
$plugins[] = 'update';
$plugins[] = 'settings';
$plugins[] = 'syslog';
and also this one:
$plugins = array();
$plugins[] = 'update';
$plugins[] = 'settings';
$plugins[] = 'syslog';
$plugins[] = 'superlinks';
After each change on the plugin array I restarted apache and tried but I still get the same error. By the moment the only solution I found is to deactivate superlinks plugins.
Im using cacti 0.8.7, plugin architecture 1.3, syslog 0.5.1 and superlinks 0.6 on centos5 x86_64.
¿¿any idea about this?? If someone wants a more detailed log or any special test I can do it and send it back.
many thanks in advance for any help.