-
Notifications
You must be signed in to change notification settings - Fork 13
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
[dev.icinga.com #10834] twice as many thumbnails as normal #18
Comments
Updated by tgelf on 2015-12-16 17:51:14 +00:00
Could you please provide the directory structure of your /etc/pnp4nagios (or similar) directory and the content of the PHP files you find there. And: is this a Debian/Ubuntu based system? |
Updated by dgoetz on 2015-12-17 08:04:06 +00:00
Wrong assigne, I could not reproduce! ;-) |
Updated by tgelf on 2015-12-17 08:27:15 +00:00 Sorry :) |
Updated by mthode on 2015-12-21 11:38:24 +00:00 I reproduced, if you have a config.php and a config_local.php that both define the views array you'll get something like this. I commented it out of views_local.php and the problem 'went away'. Another option is to merged the lists (uniques only). |
Updated by sudhamanvk on 2015-12-28 09:24:56 +00:00 I did have the issues, I did edit the for loop to take only 5 views as count and it worked fine. May be I will have a look at the config_local.php once. |
Updated by mwaldmueller on 2016-01-20 08:04:48 +00:00 I can confirm that this occurs when there are two files (config.php and config_local.php) in PNP4Nagios etc's-directory which define identical views. The solution is to remove the views from one of the files:
In my case I removed it from config_local.php. Thanks for your help! |
Updated by tgelf on 2016-01-20 08:09:57 +00:00
We should try to somehow catch this error, sounds like the default pnp config on those system is messed up - so more people would run into this. |
Updated by purplecarrot on 2016-03-17 22:34:06 +00:00 I also ran into this issue. Could the title be changed to something more meaningful like "twice as many thumbnails as normal" or something more descriptive? |
Updated by mfriedrich on 2016-08-03 15:00:38 +00:00
|
Updated by tgelf on 2017-01-02 16:18:18 +00:00
|
Updated by tgelf on 2017-01-02 16:19:21 +00:00
|
I have also had this issue and had to remove $views from one of the config files, in my case config_local.php. |
I've added a note to the docs "FAQs" in #30 |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10834
Created by mwaldmueller on 2015-12-14 12:20:58 +00:00
Assignee: tgelf
Status: Assigned
Target Version: (none)
Last Update: 2016-08-03 15:00:38 +00:00 (in Redmine)
Icinga Web 2 Version: Icinga Web 2.1.0
PNP4Nagios Version: 1.8.5
PNP Module: Current master (2015-12-11)
See attached screenshot.
Attachments
Relations:
The text was updated successfully, but these errors were encountered: