Giter Club home page Giter Club logo

Comments (13)

icinga-migration avatar icinga-migration commented on May 28, 2024 1

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

Updated by tgelf on 2015-12-17 08:27:15 +00:00

Sorry :)

from icingaweb2-module-pnp.

icinga-migration avatar icinga-migration commented on May 28, 2024

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

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.

icinga-migration avatar icinga-migration commented on May 28, 2024

Updated by tgelf on 2017-01-02 16:18:18 +00:00

  • Duplicated set to 11233

from icingaweb2-module-pnp.

icinga-migration avatar icinga-migration commented on May 28, 2024

Updated by tgelf on 2017-01-02 16:19:21 +00:00

  • Duplicated set to 11613

from icingaweb2-module-pnp.

mamiral avatar mamiral commented on May 28, 2024

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.

dnsmichi avatar dnsmichi commented on May 28, 2024

I've added a note to the docs "FAQs" in #30

from icingaweb2-module-pnp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.