Comments (13)
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).
from icingaweb2-module-pnp.
Updated by tgelf on 2015-12-16 17:51:14 +00:00
- Status changed from New to Feedback
- Assigned to set to dgoetz
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?
from icingaweb2-module-pnp.
Updated by dgoetz on 2015-12-17 08:04:06 +00:00
- Assigned to changed from dgoetz to mwaldmueller
Wrong assigne, I could not reproduce! ;-)
from icingaweb2-module-pnp.
Updated by tgelf on 2015-12-17 08:27:15 +00:00
Sorry :)
from icingaweb2-module-pnp.
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.
from icingaweb2-module-pnp.
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:
- $views[] = array('title' => '4 Hours', 'start' => (60*60*4) );
- $views[] = array('title' => '25 Hours', 'start' => (60*60*25) );
- $views[] = array('title' => 'One Week', 'start' => (60*60*25*7) );
- $views[] = array('title' => 'One Month', 'start' => (60*60*24*32) );
- $views[] = array('title' => 'One Year', 'start' => (60*60*24*380) );
In my case I removed it from config_local.php.
Thanks for your help!
Markus
from icingaweb2-module-pnp.
Updated by tgelf on 2016-01-20 08:09:57 +00:00
- Status changed from Feedback to Assigned
- Assigned to changed from mwaldmueller to tgelf
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.
from icingaweb2-module-pnp.
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?
from icingaweb2-module-pnp.
Updated by mfriedrich on 2016-08-03 15:00:38 +00:00
- Subject changed from Wrong visualization to twice as many thumbnails as normal
from icingaweb2-module-pnp.
Updated by tgelf on 2017-01-02 16:18:18 +00:00
- Duplicated set to 11233
from icingaweb2-module-pnp.
Updated by tgelf on 2017-01-02 16:19:21 +00:00
- Duplicated set to 11613
from icingaweb2-module-pnp.
I have also had this issue and had to remove $views from one of the config files, in my case config_local.php.
from icingaweb2-module-pnp.
I've added a note to the docs "FAQs" in #30
from icingaweb2-module-pnp.
Related Issues (20)
- [dev.icinga.com #10725] Error on line 111 of library/Pnp/ProvidedHook/Grapher.php HOT 3
- [dev.icinga.com #10863] Show graphs only when data are avialable and wanted HOT 6
- [dev.icinga.com #11233] Extra miniature graph images HOT 4
- [dev.icinga.com #11613] double representation in Icinga2 with PNP HOT 4
- [dev.icinga.com #11703] Allow Access to PNP via module but deny direct access? HOT 3
- [dev.icinga.com #11725] PNP preview w/out module permission HOT 9
- [dev.icinga.com #13763] Possibility to have Icingaweb2 and PNP on different servers HOT 4
- [Feature Request] Set Username+PW for Autologin HOT 1
- Broken thumbnails and incorrect link HOT 1
- Permissions: Forward Icinga Web 2 auth to PNP HOT 4
- Icingaweb2 service page not showing pnp thumbnail HOT 7
- PNP_CONFIG_FILE is not supported
- Thumbnails only show first datasource
- Permissions: No way to grant access to PNP
- Direct link to Service Overview
- Allow to link to special pages
- Function get_magic_quotes_runtime() is deprecated HOT 1
- Dependency of Module does not match existing Icingaweb version HOT 4
- pnp module for icingaweb2 does not work anymore after a package update (no more graphs in icingaweb2) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icingaweb2-module-pnp.