Got problems no idea whats going on...
Moderators: Developers, Moderators
Got problems no idea whats going on...
Hi folks!
I've copied files and database from running machine with cacti....and simply ...Graphs don't work
In the debug log there is nothing interesting no errors, all the things are in light colours.
I think permissions are ok ( drwxrwx--- 196 www-data www-data 4096 Jun 20 15:18 rra)
snmpwalk is getting data
Poller is running well without errors.
RRDTool is creating graphs ok but without newest data.
What to check and what to do?
I've got few hours out of my life...with that problem.
Debian + 0.8.7g + rrdtool 1.4.x
I've copied files and database from running machine with cacti....and simply ...Graphs don't work
In the debug log there is nothing interesting no errors, all the things are in light colours.
I think permissions are ok ( drwxrwx--- 196 www-data www-data 4096 Jun 20 15:18 rra)
snmpwalk is getting data
Poller is running well without errors.
RRDTool is creating graphs ok but without newest data.
What to check and what to do?
I've got few hours out of my life...with that problem.
Debian + 0.8.7g + rrdtool 1.4.x
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Got problems no idea whats going on...
Do you mean, if you run it by hand, or is it actually starting every 5 minutes? I.e. did you copy the cron job?yarii wrote:Poller is running well without errors.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Got problems no idea whats going on...
Spine is started by the cron.
I tried to run it by hand.
The same result.
I can start new openvz container and run the newest debian+cacti 0.8.8 and import db and rra....but it is turnarond,
But what if it wouldn't work?;-)
...Can I upgrade directly from 0.8.7g to 0.8.8a ?
I tried to run it by hand.
The same result.
I can start new openvz container and run the newest debian+cacti 0.8.8 and import db and rra....but it is turnarond,
But what if it wouldn't work?;-)
...Can I upgrade directly from 0.8.7g to 0.8.8a ?
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Got problems no idea whats going on...
I believe you can upgrade from any 0.8.7 release to 0.8.8(a)
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Got problems no idea whats going on...
Will Your ppa work with my debian?
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Got problems no idea whats going on...
As the package has no versioned dependencies it should work, yes. Be warned, however, that spine is not packaged (and will not be guaranteed to work from one Ubuntu version to an other or to Debian).
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Got problems no idea whats going on...
After clean install all things are OK but the monitor plugin is getting error...
Call to undefined function get_graph_tree_array() in /usr/local/share/cacti/plugins/monitor/monitor.php on line 814, referer: http://CACTI/cacti/plugins.php
The line 814 of monitor is
$tree_list = get_graph_tree_array();
that function is in lib/functions.php so why isn't it included?
grr
Should I do new post?
Call to undefined function get_graph_tree_array() in /usr/local/share/cacti/plugins/monitor/monitor.php on line 814, referer: http://CACTI/cacti/plugins.php
The line 814 of monitor is
$tree_list = get_graph_tree_array();
that function is in lib/functions.php so why isn't it included?
grr
Should I do new post?
Re: Got problems no idea whats going on...
It's working now the debian package contains plugins in /usr/local/share/cacti/plugins
I deleted alias to a plugindir and moved all plugins into /usr/share/cacti/plugins
HA!
I deleted alias to a plugindir and moved all plugins into /usr/share/cacti/plugins
HA!
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Got problems no idea whats going on...
Can you please explain to me what is wrong with the softlink aproach? If it does not work, I need to get this fixed in Debian. Don't hesistate to file a bug against Debian explaining the situation there if you believe this is really wrong.yarii wrote:It's working now the debian package contains plugins in /usr/local/share/cacti/plugins
I deleted alias to a plugindir and moved all plugins into /usr/share/cacti/plugins
HA!
That said, I can hardly believe that this was really the source of your problem, unless of course the plugin really looks at the location of itself and determines the cacti path from there.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Got problems no idea whats going on...
I can't, because I don't know where is the error.paulgevers wrote:Can you please explain to me what is wrong with the softlink aproach? If it does not work, I need to get this fixed in Debian. Don't hesistate to file a bug against Debian explaining the situation there if you believe this is really wrong.yarii wrote:It's working now the debian package contains plugins in /usr/local/share/cacti/plugins
I deleted alias to a plugindir and moved all plugins into /usr/share/cacti/plugins
HA!
That said, I can hardly believe that this was really the source of your problem, unless of course the plugin really looks at the location of itself and determines the cacti path from there.
When was a softlink there was an error.
When was a real directory it is working. For me the case is closed.
The error was when I tried to load monitor plugin.
I pastled it earlier.
Maybe it is the error in this specified plugin.
I don't know how to debug.
If You want more informations please ask.
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Got problems no idea whats going on...
I finally figured out what is going on. Some of the problems had already been predicted in the discussion of bug 2227. At least some, if not all, plug-ins look for include files in ../include/ which goes wrong if the plug-ins are located somewhere else. The possible solution to this issue is to create a soft-link from /usr/local/share/cacti/include to /usr/share/cacti/site/include.
I filled bug 681558 in Debian for this.
I filled bug 681558 in Debian for this.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Who is online
Users browsing this forum: No registered users and 1 guest