Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Please make sure, that "sh" is in the $PATH of cactiuser, or, better, att /usr/bin/sh or the like to the command of the Data Input Method used. If you do so, run rebuild_poller_cache.php to apply
Reinhard
Ok, that's really weird. sh is in cactiuser's path and running the command from poller cache even works. I put /bin/sh in front anyway and that has fixed that issue.
I now have another problem. 'torrents' is graphing correctly, but I'm getting NaNs for 'connections'.
Is it possible, that you've change the Data Input Method after the last change of the Data Template? Then, please "php -q rebuild_poller_cache.php"
Reinhard
cshepherd wrote:Ok, I've deleted it all and started again. I shortened the connections to conns just in case, and I even tried swapping the output around to no avail.
I'm sorry. But your explanation is not precise enough. Which resource was changed? The Data Input Method? The Data Template? Did you run the script mentioned above?
My debug output looks similar, but I'm now seeing a Parsed MULTI output line which looks kind of promising, except there's only one...
By 'deleted it all' I meant graph template, data template and data input method.
Yes, I have rebuilt the poller cache every time to make sure it's correct. As in the first post, I even copied and pasted the command from the poller cache which works fine. Debug also shows that it is running the correct command.
I have got around the problem by creating two scripts that output just the numbers, two data input methods and two data sources on one graph.
I don't know if this is incidental or not, but on a separate cacti install I am graphing mail queues from postfix using a script with multiple outputs. There are 6 values, and all of them are graphing except one.
It just seems a bit weird and it would be good if I could get multiple inputs working for one data input method.
This week, there has been a bug fix that may be related. It was unveiled by watching the "System Utilities" -> View Poller Cache. If the data does not show up completely, it is likely that this patch may fix your issue
Reinhard
Is it possible to get a .patch for this change or do I need to get it from CVS?
I noticed I never mentioned I was running 0.8.7b with the three official patches on Ubuntu 8.04, apache2, php5.