-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebuild poller cache - Errors #98
Comments
Relative to this: Is $poller_id defined in config.php? The rest here (as below) look like a damaged database. We will add some logging and work around this issue. You should re-install, and then try to find reproduce steps. 2016-12-28 12:11:46 - CMDPHP PHP ERROR NOTICE Backtrace: (/utilities.php: 38 repopulate_poller_cache)(/lib/utility.php: 43 update_poller_cache)(/lib/utility.php: 149 CactiErrorHandler)(/lib/functions.php: 4189 cacti_debug_backtrace) |
grep 'poller_id' ./include/config.php the result is empty |
Please review the config.php.dist and insure that you have everything set properly. |
In DB there is only one poller in
I did a git stash command so the config is the same. |
Resolving currupt data input method issue here: The second issue should be clear. You must set the $poller_id in config.php. |
So I think You should add $poller_id='1' in config.php But in other hand there is a: /* Set the poller_id */ In global.php. So why this doesn't work? |
That's a good point. I just finished an audit and $poller_id should no longer be mandated for the main pollers. It is for remote pollers though. |
2016-12-28 12:11:46 - CMDPHP PHP ERROR NOTICE Backtrace: (/utilities.php: 38 repopulate_poller_cache)(/lib/utility.php: 43 update_poller_cache)(/lib/utility.php: 149 CactiErrorHandler)(/lib/functions.php: 4189 cacti_debug_backtrace)
2016-12-28 12:11:46 - ERROR PHP NOTICE: Undefined index: active in file: /var/www/html/cacti/lib/utility.php on line: 149
2016-12-28 12:11:46 - CMDPHP PHP ERROR NOTICE Backtrace: (/utilities.php: 38 repopulate_poller_cache)(/lib/utility.php: 43 update_poller_cache)(/lib/utility.php: 125 CactiErrorHandler)(/lib/functions.php: 4189 cacti_debug_backtrace)
2016-12-28 12:11:46 - ERROR PHP NOTICE: Undefined index: type_id in file: /var/www/html/cacti/lib/utility.php on line: 125
2016-12-28 12:11:46 - CMDPHP PHP ERROR NOTICE Backtrace: (/utilities.php: 38 repopulate_poller_cache)(/lib/utility.php: 43 update_poller_cache)(/lib/utility.php: 124 CactiErrorHandler)(/lib/functions.php: 4189 cacti_debug_backtrace)
2016-12-28 12:11:46 - ERROR PHP NOTICE: Undefined index: type_id in file: /var/www/html/cacti/lib/utility.php on line: 124
2016-12-28 12:11:46 - CMDPHP PHP ERROR NOTICE Backtrace: (/utilities.php: 38 repopulate_poller_cache)(/lib/utility.php: 43 update_poller_cache)(/lib/utility.php: 123 CactiErrorHandler)(/lib/functions.php: 4189 cacti_debug_backtrace)
2016-12-28 12:11:46 - ERROR PHP NOTICE: Undefined index: type_id in file: /var/www/html/cacti/lib/utility.php on line: 123
2016-12-28 12:11:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php: 76 CactiErrorHandler)(/lib/functions.php: 4189 cacti_debug_backtrace)
2016-12-28 12:11:31 - ERROR PHP NOTICE: Undefined variable: poller_id in file: /var/www/html/cacti/index.php on line: 76
The text was updated successfully, but these errors were encountered: