Dear Webmaster/all,
I made a big mistake by just copying the files from Cacti dir,instead including directories.
History:
I was running Cacti-0.8.6i with Cactid and 1 minute polling and all everythiing in running fine.
Today i wanted to add plugin architechre and applied follwoing patch from and followed the instrution as per the writeup in http://cactiusers.org/wiki/PluginArchitectureInstall
except to copy all directoires too.
I chose to apply complete patch using PrePatch option and did the command work as per the directions.
but while doing last option i.e editing config.php,
He says edit $config['url_path'] = "/";
but I didn't find anywhere this option in my
/usr/local/cacti-0.8.6i/include/config.php file. My cacti is installed in /usr/local/cacti-0.8.6i/ and now I am unable to login into my cacti through http://servername and tommarrow i have a seminar on
this!!!!
Kindly help me whover has some inputs.
--------------------------------------------------------------------
I tried to restart
Snmpd , mysqld and poller.php services.
when poller.php is run it says.
root@cacti cacti-0.8.6i]# php poller.php
PHP Fatal error: Call to undefined function: do_hook() in /usr/local/cacti-0.8.6i/poller.php on line 43
Content-type: text/html
X-Powered-By: PHP/4.3.9
My crontab has old configuration properly.
run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
*/1 * * * * cactiuser php /usr/local/cacti-0.8.6i/poller.php > /dev/null 2>&1
Please help me sir.
Thanks and Regareds in advance
Back to top
It says error when i try to browse....After applying plugin
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You did not modify your config.php file correctly to include the plugins.php module. That's all. Sorry I did not get back to you sooner, been very ill.
TheWitness
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest