nagvis-devel Mailing List for NagVis
Brought to you by:
larsi-
You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(10) |
Jul
(2) |
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
(3) |
Jul
(5) |
Aug
(7) |
Sep
(7) |
Oct
|
Nov
(1) |
Dec
(2) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
(4) |
Jul
|
Aug
|
Sep
(3) |
Oct
(9) |
Nov
(2) |
Dec
(4) |
2010 |
Jan
(9) |
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
2014 |
Jan
|
Feb
(3) |
Mar
|
Apr
(5) |
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Siva V. B. <van...@gm...> - 2018-03-28 12:02:37
|
Hi, I just installed NagVis 1.9.7 on web server, while adding service to newly created map I am getting below error Kindly help ? Failed to get objects: Error: (0) Undefined property: CorePDOHandler::$data URL: /nagvis/server/core/ajax_handler.php?mod=Map&act=addModify&show=Sample_Servicemap&type=service&x=450&y=114&_ajaxid=1522171777 File: /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php Line: 306 #0 /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php(306): nagvisExceptionErrorHandler(8, ‘Undefined prope…’, ‘/usr/local/nagv…’, 306, Array) #1 /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php(332): CorePDOHandler->prep(‘SELECT name1,na…’) #2 /usr/local/nagvis/share/server/core/classes/GlobalBackendPDO.php(250): CorePDOHandler->query(‘SELECT name1,na…’, Array) #3 /usr/local/nagvis/share/server/core/mapcfg/default.php(145): GlobalBackendPDO->getObjects(‘host’, ‘’, ‘’) #4 /usr/local/nagvis/share/server/core/mapcfg/default.php(159): getObjectNames(‘host’, Object(GlobalMapCfg), NULL, Array) Regards, Siva Vani |
From: Lars M. <lm...@la...> - 2016-11-05 00:07:46
|
Hi Anthony, Take a look at nagvis.org. It tells you where to post your requests, issues or questions. Look at github. Your topic may already be handled there. NagVis is not dead, but my time is very limited, so I need to prioritize. And the contributions from others are rare. Best regards, Lars > Am 04.11.2016 um 21:32 schrieb Antony Stone <Ant...@na...>: > >> On Friday 04 November 2016 at 21:04:10, Finch, Simon wrote: >> >> Hi Antony, >> >> NagVis development is very active, try www.nagvis.org. > > Hm, okay - so where should I post my question about possible integration with > Icinga2? > > Thanks for the pointer - nice to know it's still going, even if the devel > mailing list seems to have gone quiet :) > > > Antony. > >> -------- Original message -------- >> From: Antony Stone <Ant...@na...> >> Date: 5/11/2016 06:57 (GMT+10:00) >> To: nag...@li... >> Subject: Re: [Nagvis-devel] Am I subscribed? >> >>> On Friday 04 November 2016 at 08:48:09, Carl Helmertz wrote: >>>> On 3 November 2016 at 21:28, Antony Stone wrote: >>>> I joined this list on Tuesday, and posted a question about integration >>>> with Icinga2. >>>> >>>> Have there really been no emails at all on the list since then? >>> >>> Hey Antony, >>> >>> https://sourceforge.net/p/nagvis/mailman/nagvis-devel/ >> >> Wow. No posts here since April - I guess that means Nagvis is pretty much >> abandoned then, so support for Icinga2 is unlikely to happen :( >> >> Oh well, it was a nice feature, I guess I'll see if I can find anything >> else to do the job instead. >> >> >> Thanks, >> >> >> Antony. > > -- > Software development can be quick, high quality, or low cost. > > The customer gets to pick any two out of three. > > Please reply to the list; > please *don't* CC me. > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Nagvis-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagvis-devel |
From: Antony S. <Ant...@na...> - 2016-11-04 20:32:29
|
On Friday 04 November 2016 at 21:04:10, Finch, Simon wrote: > Hi Antony, > > NagVis development is very active, try www.nagvis.org. Hm, okay - so where should I post my question about possible integration with Icinga2? Thanks for the pointer - nice to know it's still going, even if the devel mailing list seems to have gone quiet :) Antony. > -------- Original message -------- > From: Antony Stone <Ant...@na...> > Date: 5/11/2016 06:57 (GMT+10:00) > To: nag...@li... > Subject: Re: [Nagvis-devel] Am I subscribed? > > On Friday 04 November 2016 at 08:48:09, Carl Helmertz wrote: > > On 3 November 2016 at 21:28, Antony Stone wrote: > > > I joined this list on Tuesday, and posted a question about integration > > > with Icinga2. > > > > > > Have there really been no emails at all on the list since then? > > > > Hey Antony, > > > > https://sourceforge.net/p/nagvis/mailman/nagvis-devel/ > > Wow. No posts here since April - I guess that means Nagvis is pretty much > abandoned then, so support for Icinga2 is unlikely to happen :( > > Oh well, it was a nice feature, I guess I'll see if I can find anything > else to do the job instead. > > > Thanks, > > > Antony. -- Software development can be quick, high quality, or low cost. The customer gets to pick any two out of three. Please reply to the list; please *don't* CC me. |
From: Antony S. <Ant...@na...> - 2016-11-04 19:56:24
|
On Friday 04 November 2016 at 08:48:09, Carl Helmertz wrote: > On 3 November 2016 at 21:28, Antony Stone wrote: > > > > I joined this list on Tuesday, and posted a question about integration > > with Icinga2. > > Have there really been no emails at all on the list since then? > > Hey Antony, > > https://sourceforge.net/p/nagvis/mailman/nagvis-devel/ Wow. No posts here since April - I guess that means Nagvis is pretty much abandoned then, so support for Icinga2 is unlikely to happen :( Oh well, it was a nice feature, I guess I'll see if I can find anything else to do the job instead. Thanks, Antony. -- I wasn't sure about having a beard at first, but then it grew on me. Please reply to the list; please *don't* CC me. |
From: Carl H. <che...@op...> - 2016-11-04 08:17:42
|
On 3 November 2016 at 21:28, Antony Stone < Ant...@na...> wrote: > Hi. > > I joined this list on Tuesday, and posted a question about integration with > Icinga2. > > I've had no replies, but I've also seen no other traffic on the list since > then, > and this is unusual for a developers' list, so I'm wondering whether I'm > correctly subscribed to it? > > Has anyone seen my question from Tuesday (the subject was "Integration with > Icinga2?") - it would be good to know if it arrived, whether you can > answer it > or not. > > Have there really been no emails at all on the list since then? > Hey Antony, To find out if your email was delivered, you could go to the list's information page (https://lists.sourceforge.net/lists/listinfo/nagvis-devel) and go to the archive link ( https://sourceforge.net/p/nagvis/mailman/nagvis-devel/). That feature is possible for all mailman email lists that I've seen. I won't be able to help you with the Icinga 2 part, sorry. Cheers, Calle |
From: Antony S. <Ant...@na...> - 2016-11-03 20:29:11
|
Hi. I joined this list on Tuesday, and posted a question about integration with Icinga2. I've had no replies, but I've also seen no other traffic on the list since then, and this is unusual for a developers' list, so I'm wondering whether I'm correctly subscribed to it? Has anyone seen my question from Tuesday (the subject was "Integration with Icinga2?") - it would be good to know if it arrived, whether you can answer it or not. Have there really been no emails at all on the list since then? Thanks, Antony. -- This email was created using 100% recycled electrons. Please reply to the list; please *don't* CC me. |
From: Antony S. <Ant...@na...> - 2016-11-01 12:36:38
|
Hi. I hope this is the right list for my question - I looked for a Nagvis-users' list, but didn't find one. I've used Nagvis in the past with Icinga (version 1), and really like it. I configured it to generate an automap, and had appropriate parent definitions on the various hosts, so that the map topology worked out sensibly. Now I'm setting up an Icinga2 server (also with Icingaweb2) and I've found various bits of guidance on websites* for getting the two working together (although no single source seems to lead from "installation" to "now it works"), and I've managed to get as far as having a "Maps" entry in my Icingaweb2 menu, which when clicked on produces an automap in Nagvis. However, the map is simply a centre point with all hosts radiating out from that - there is no parent-child structure to the diagram. If I try to define "parent = " on my Hosts in Icinga2, it complains that that is not a valid property for a Host (although it is a valid property for a Zone - I don't know whether Nagvis can copy with the concept of Zones?). So, how should I be defining my Hosts in Icinga2 so that Nagvis can display a sensibly-structured network map, according to the relationships I define? * such as: http://docs.nagvis.org/1.8/en_US/automap.html https://github.com/Icinga/icingaweb2-module-nagvis http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/addon https://dokuwiki.nausch.org/doku.php/centos:web_c7:icinga:nagvis Thanks for any guidance, Antony. -- I just got a new mobile phone, and I called it Titanic. It's already syncing. Please reply to the list; please *don't* CC me. |
From: Ian B. <ibe...@tp...> - 2016-04-09 04:00:18
|
Hello again, No one have any pointers?? For what it's worth, I built a CentOS 6 VM at home and used 1.8rc3 and it is doing the same thing. The client is a Windows 7 VM and I've tried Firefox and IE. I'm trying to get 1.9b5 to work but I'm getting a heap of javascript errors. I'd be really appreciative of any pointers about how I troubleshoot the below error as I'd like to get the stable release working. The ssh right-click action is a critical requirement for our environment. Ian On 05/04/16 18:22, Ian Bennett wrote: > Good evening, > I'm a new Nagvis convert (as of a week ago) when I took my first tentative steps installing 1.8 > along side Nagios. > Whilst the documentation is lacking, I've managed to muddle along to the point where I have a few > Nagvis maps that are nice to look at. > Now to my problem. The "how to" in the documentation about the context menu for ssh is just plain > wrong and after much reading and experimentation, I've managed to get the "Connect (SSH)" option > visible on a host's right-click menu. > When I click on it, I get the following message appear in my browser: > > {“type”:”error”,”Message”:”Error: (0) Illegal offset type in isset or empty > (\/usr\/local\/nagvis\/share\/server\/core\/classes\/CoreBackendMgmt.php:79) > > \n#0 \/usr\/local\/nagvis\/share\/server\/core\/classes\/CoreBackendMgmt.php:79: > nagvisExceptionErrorHandler(2, ‘Illegal offset ...’, ‘\/usr\/local\/nagv...’, 79, Array) > \n#1 \/usr\/local\/nagvis\/share\/server\/core\/classes\/objects\/NagVisHost.php(98): > CoreBackendMgmt->queue(Array, Object(NagVisHost)) > \n#2 \/usr\/local\/nagvis\/share\/server\/core\/actions\/win_ssh.php(40): > NagVisHost->queueState(true, false) > \n#3 \/usr\/local\/nagvis\/share\/server\/core\/classes\/CoreModAction.php(80): > handle_action_win_ssh(Object(GlobalMapCfg), ‘42ed96’) > \n#4 \/usr\/local\/nagvis\/share\/server\/core\/functions\/index.php(120): CoreModAction->handleAction() > \n#5 \/usr\/local\/nagvis\/share\/server\/core\/ajax_handler.php(62): require(‘\/usr\/local\/nagv...’) > \n#6 {main}<\/code>”,”title”:”PHP ERROR”} > > I know nothing of php so I'm not really sure where to start looking. Any pointers on how to > troubleshoot this would be appreciated. > What I can tell you is all the other context menu options (refresh host, schedule downtime, etc) > all work fine. > I can also say that at the end of line \n#3, the '42ed96' is the id of the host I'm clicking on. > I have Nagvis and Nagios running on a VM using CentOS 6.7, Nagvis 1.8, Nagios 4.0.2, mklivestatus > 1.2.6p16, PHP 5.3.3 and apache (httpd) 2.2.15. > Our work PCs are running Windows 7 Enterprise (SP1) with IE9. If you need anything other details, > let me know. > I don't have access to my work system from home and don't have access to my email from work, so > replies maybe a few days in coming. > Looking forward to many hours of Nagvis goodness. > > Ian > > ------------------------------------------------------------------------------ > _______________________________________________ > Nagvis-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagvis-devel > |
From: Ian B. <ibe...@tp...> - 2016-04-05 08:53:23
|
Good evening, I'm a new Nagvis convert (as of a week ago) when I took my first tentative steps installing 1.8 along side Nagios. Whilst the documentation is lacking, I've managed to muddle along to the point where I have a few Nagvis maps that are nice to look at. Now to my problem. The "how to" in the documentation about the context menu for ssh is just plain wrong and after much reading and experimentation, I've managed to get the "Connect (SSH)" option visible on a host's right-click menu. When I click on it, I get the following message appear in my browser: {“type”:”error”,”Message”:”Error: (0) Illegal offset type in isset or empty (\/usr\/local\/nagvis\/share\/server\/core\/classes\/CoreBackendMgmt.php:79) \n#0 \/usr\/local\/nagvis\/share\/server\/core\/classes\/CoreBackendMgmt.php:79: nagvisExceptionErrorHandler(2, ‘Illegal offset ...’, ‘\/usr\/local\/nagv...’, 79, Array) \n#1 \/usr\/local\/nagvis\/share\/server\/core\/classes\/objects\/NagVisHost.php(98): CoreBackendMgmt->queue(Array, Object(NagVisHost)) \n#2 \/usr\/local\/nagvis\/share\/server\/core\/actions\/win_ssh.php(40): NagVisHost->queueState(true, false) \n#3 \/usr\/local\/nagvis\/share\/server\/core\/classes\/CoreModAction.php(80): handle_action_win_ssh(Object(GlobalMapCfg), ‘42ed96’) \n#4 \/usr\/local\/nagvis\/share\/server\/core\/functions\/index.php(120): CoreModAction->handleAction() \n#5 \/usr\/local\/nagvis\/share\/server\/core\/ajax_handler.php(62): require(‘\/usr\/local\/nagv...’) \n#6 {main}<\/code>”,”title”:”PHP ERROR”} I know nothing of php so I'm not really sure where to start looking. Any pointers on how to troubleshoot this would be appreciated. What I can tell you is all the other context menu options (refresh host, schedule downtime, etc) all work fine. I can also say that at the end of line \n#3, the '42ed96' is the id of the host I'm clicking on. I have Nagvis and Nagios running on a VM using CentOS 6.7, Nagvis 1.8, Nagios 4.0.2, mklivestatus 1.2.6p16, PHP 5.3.3 and apache (httpd) 2.2.15. Our work PCs are running Windows 7 Enterprise (SP1) with IE9. If you need anything other details, let me know. I don't have access to my work system from home and don't have access to my email from work, so replies maybe a few days in coming. Looking forward to many hours of Nagvis goodness. Ian |
From: Lars M. <lm...@la...> - 2014-10-09 17:00:24
|
Hi Remo, could you please send me all th map configuration files from your etc/maps directory? There seems to be an issue in at least one of them. Regards Lars On 01.10.2014 10:23, remo angeloni wrote: > Hi , > > i have installed nagvis 1.8b7 and i have this problems > > I create automap (5) > I create automap with Hostgroup Filtering, no problem > I convert automap to static map fine, no problem > > After 5 maps i receive back on every news maps created : > > UNKNOWN on the tab and the Windows background is empty. > > I open the "modify tab" Windows , select another hostgroup > and i receive back this errore (same on ie or chrome) > > Error: (0) array_merge(): Argument #2 is not an array > (/usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php:670) > > |#0 [internal function]: nagvisExceptionErrorHandler(2, > 'array_merge(): ...', '/usr/local/nagv...', 670, Array) > #1 /usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php(670): > array_merge(Array, 'automap') > #2 > /usr/local/nagvis/share/frontend/nagvis-js/classes/FrontendModMap.php(97): > GlobalMapCfg->getSourceParams() > #3 > /usr/local/nagvis/share/frontend/nagvis-js/classes/FrontendModMap.php(80): > FrontendModMap->showViewDialog() > #4 /usr/local/nagvis/share/server/core/functions/index.php(120): > FrontendModMap->handleAction() > #5 /usr/local/nagvis/share/frontend/nagvis-js/index.php(56): > require('/usr/local/nagv...') > #6 {main}| > > I notice that : > > 1: under the folder etc/maps/ the .cfg file of the map is created but > with default , seems that it don't save the rest of the automaps > informations. > > Thanks for your help > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > > _______________________________________________ > Nagvis-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagvis-devel -- Lars Michelsen IT Keltenstraße 4 85586 Poing Mobile: +49 151 26965801 E-Mail: lm...@la... |
From: remo a. <rem...@gm...> - 2014-10-01 08:24:32
|
Hi , i have installed nagvis 1.8b7 and i have this problems I create automap (5) I create automap with Hostgroup Filtering, no problem I convert automap to static map fine, no problem After 5 maps i receive back on every news maps created : UNKNOWN on the tab and the Windows background is empty. I open the "modify tab" Windows , select another hostgroup and i receive back this errore (same on ie or chrome) Error: (0) array_merge(): Argument #2 is not an array (/usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php:670) #0 [internal function]: nagvisExceptionErrorHandler(2, 'array_merge(): ...', '/usr/local/nagv...', 670, Array) #1 /usr/local/nagvis/share/server/core/classes/GlobalMapCfg.php(670): array_merge(Array, 'automap') #2 /usr/local/nagvis/share/frontend/nagvis-js/classes/FrontendModMap.php(97): GlobalMapCfg->getSourceParams() #3 /usr/local/nagvis/share/frontend/nagvis-js/classes/FrontendModMap.php(80): FrontendModMap->showViewDialog() #4 /usr/local/nagvis/share/server/core/functions/index.php(120): FrontendModMap->handleAction() #5 /usr/local/nagvis/share/frontend/nagvis-js/index.php(56): require('/usr/local/nagv...') #6 {main} I notice that : 1: under the folder etc/maps/ the .cfg file of the map is created but with default , seems that it don't save the rest of the automaps informations. Thanks for your help |
From: Mikael F. <mik...@op...> - 2014-06-09 07:18:07
|
Great, thank you Lars. Best regards Mikael On Thu, Jun 5, 2014 at 6:40 PM, Lars Michelsen <lm...@la...> wrote: > Hi, > > Thanks, I just applied the patch and fixed some minor issues. > > Best regards > Lars > > > On 03.06.2014 17:56, Mikael Falkvidd wrote: > > Hi. > > I have added support for secure and httponly cookies. I hope this can be > useful to other people. > > Not sure if you prefer merge requests on Source Forge or patch files, so > I've prepared both. > https://sourceforge.net/p/nagvis/nagvis/merge-requests/1/ > > Best regards > Mikael > > -- > __________________________________________ > Mikael Falkvidd | Development team lead | op5 AB > mik...@op... > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today!http://p.sf.net/sfu/NeoTech > > > > _______________________________________________ > Nagvis-devel mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/nagvis-devel > > > > -- > Lars Michelsen IT > Keltenstraße 4 > 85586 Poing > > Mobile: +49 151 26965801 <https://eiger:7001/12/0015126965801> > E-Mail: lm...@la... > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Nagvis-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagvis-devel > > -- __________________________________________ Mikael Falkvidd | Development team lead | op5 AB mik...@op... |
From: Lars M. <lm...@la...> - 2014-06-05 16:56:17
|
Hi, Thanks, I just applied the patch and fixed some minor issues. Best regards Lars On 03.06.2014 17:56, Mikael Falkvidd wrote: > Hi. > > I have added support for secure and httponly cookies. I hope this can > be useful to other people. > > Not sure if you prefer merge requests on Source Forge or patch files, > so I've prepared both. > https://sourceforge.net/p/nagvis/nagvis/merge-requests/1/ > > Best regards > Mikael > > -- > __________________________________________ > Mikael Falkvidd | Development team lead | op5 AB > mik...@op... <mailto:mik...@op...> > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > > > _______________________________________________ > Nagvis-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagvis-devel -- Lars Michelsen IT Keltenstraße 4 85586 Poing Mobile:+49 151 26965801 <https://eiger:7001/12/0015126965801> E-Mail: lm...@la... |
From: Daniel A. <da...@lb...> - 2014-04-29 14:46:29
|
--- Looks like I missed this change in the last patch. Feel free to merge. Cheers, Daniel share/server/core/classes/objects/NagVisStatefulObject.php | 1 - 1 file changed, 1 deletion(-) diff --git a/share/server/core/classes/objects/NagVisStatefulObject.php b/share/server/core/classes/objects/NagVisStatefulObject.php index 47a3670..14c1f81 100644 --- a/share/server/core/classes/objects/NagVisStatefulObject.php +++ b/share/server/core/classes/objects/NagVisStatefulObject.php @@ -340,7 +340,6 @@ class NagVisStatefulObject extends NagVisObject { // Macros which are only for services and hosts if($this->type == 'host' || $this->type == 'service') { - $arr['custom_variables'] = val($this->state, CUSTOM_VARS); $arr['downtime_author'] = val($this->state, DOWNTIME_AUTHOR); $arr['downtime_data'] = val($this->state, DOWNTIME_DATA); $arr['downtime_start'] = val($this->state, DOWNTIME_START); -- 1.9.2 |
From: Daniel A. <da...@lb...> - 2014-04-29 11:33:45
|
Hi Lars, I hope you find this change as useful as I do ;-) Should that be the case, I'd appreciate if you left the git author attribution intact. Amending is perfectly fine of course. Cheers, Daniel Daniel Albers (1): Allow Nagios objects to override NagVis attributes docs/en_US/nagvis_config_format_description.html | 3 +++ etc/nagvis.ini.php-sample | 2 ++ share/server/core/classes/GlobalMainCfg.php | 5 +++++ .../server/core/classes/objects/NagVisStatefulObject.php | 16 ++++++++++++++++ share/server/core/mapcfg/default.php | 6 ++++++ 5 files changed, 32 insertions(+) -- 1.9.2 |
From: Daniel A. <da...@lb...> - 2014-04-29 11:33:38
|
Allows NagVis object attributes to be overwritten by attributes defined as Nagios objects. This can be helpful e. g. when you want to override the host_url of hosts in a dynmap (i. e. the link destination of a host). By adding a custom variable '_url' in the Nagios host (template) definition you can override the NagVis object attribute 'url'. This also works for any other attribute. The feature can be enabled by setting merge_custom_vars=1 in the defaults section. Of course this feature has the ability to break things if not used carefully. --- docs/en_US/nagvis_config_format_description.html | 3 +++ etc/nagvis.ini.php-sample | 2 ++ share/server/core/classes/GlobalMainCfg.php | 5 +++++ .../server/core/classes/objects/NagVisStatefulObject.php | 16 ++++++++++++++++ share/server/core/mapcfg/default.php | 6 ++++++ 5 files changed, 32 insertions(+) diff --git a/docs/en_US/nagvis_config_format_description.html b/docs/en_US/nagvis_config_format_description.html index 3af980b..492afc6 100644 --- a/docs/en_US/nagvis_config_format_description.html +++ b/docs/en_US/nagvis_config_format_description.html @@ -381,6 +381,9 @@ <td> icons </td><td> std_medium </td><td>Default iconset</td> </tr> <tr> + <td> merge_custom_vars </td><td> 0 </td><td>Nagios objects can have custom variables defined. Enabling this option allows a Nagios object to overwrite any NagVis object attribute of the same name. So for example in order to set a custom host_url for hosts in a dynmap, add a custom variable "_url" to the Nagios object.</td> + </tr> + <tr> <td> onlyhardstates </td><td> 0 </td><td>Recognize only hard states (not soft)</td> </tr> <tr> diff --git a/etc/nagvis.ini.php-sample b/etc/nagvis.ini.php-sample index 6dd280a..efedd6a 100644 --- a/etc/nagvis.ini.php-sample +++ b/etc/nagvis.ini.php-sample @@ -257,6 +257,8 @@ ; default icons ;icons="std_medium" ; recognize only hard states (not soft) +; Merge custom variables defined in Nagios objects with NagVis Objects +;merge_custom_vars=0 ;onlyhardstates=0 ; recognize service states in host/hostgroup objects ;recognizeservices=1 diff --git a/share/server/core/classes/GlobalMainCfg.php b/share/server/core/classes/GlobalMainCfg.php index 5bde493..8996510 100644 --- a/share/server/core/classes/GlobalMainCfg.php +++ b/share/server/core/classes/GlobalMainCfg.php @@ -487,6 +487,11 @@ class GlobalMainCfg { 'default' => 'std_medium', 'field_type' => 'dropdown', 'match' => MATCH_STRING_NO_SPACE), + 'merge_custom_vars' => Array('must' => 0, + 'editable' => 1, + 'default' => 0, + 'field_type' => 'boolean', + 'match' => MATCH_BOOLEAN), 'onlyhardstates' => Array('must' => 0, 'editable' => 1, 'default' => 0, diff --git a/share/server/core/classes/objects/NagVisStatefulObject.php b/share/server/core/classes/objects/NagVisStatefulObject.php index 89c774e..47a3670 100644 --- a/share/server/core/classes/objects/NagVisStatefulObject.php +++ b/share/server/core/classes/objects/NagVisStatefulObject.php @@ -355,6 +355,13 @@ class NagVisStatefulObject extends NagVisObject { $arr['last_hard_state_change'] = $this->get_date(LAST_HARD_STATE_CHANGE); $arr['state_duration'] = $this->getStateDuration(); $arr['perfdata'] = $this->escapeStringForJson(val($this->state, PERFDATA, '')); + + // overwrite any attributes with data provided by custom variables if desired + $cv = val($this->state, CUSTOM_VARS); + if ($cv && cfg('defaults','merge_custom_vars')) + $arr = array_merge($arr, $this->convertCustomVars($cv)); + else + $arr['custom_variables'] = $cv; } // Enable/Disable fetching children @@ -735,5 +742,14 @@ class NagVisStatefulObject extends NagVisObject { } } } + + /** + * Nagios converts all custom variables to uppercase, so to use them + * as NagVis object attributes they need to be converted to + * lowercase. + */ + private function convertCustomVars($array) { + return array_change_key_case($array, CASE_LOWER); + } } ?> diff --git a/share/server/core/mapcfg/default.php b/share/server/core/mapcfg/default.php index 6da917b..15d7435 100644 --- a/share/server/core/mapcfg/default.php +++ b/share/server/core/mapcfg/default.php @@ -613,6 +613,12 @@ $mapConfigVars = Array( 'depends_value' => '1' ), + 'merge_custom_vars' => Array( + 'must' => 0, + 'default' => cfg('defaults', 'merge_custom_vars'), + 'match' => MATCH_BOOLEAN, + 'field_type' => 'boolean'), + 'only_hard_states' => Array( 'must' => 0, 'default' => cfg('defaults', 'onlyhardstates'), -- 1.9.2 |
From: Lars M. <lm...@la...> - 2014-04-18 10:59:19
|
Hi, the installer has not been tested with solaris. You will need to do a manuall installation or patch the installer to work on your platform. Both will not be simple steps, but maybe you can do it. We will not provide a solution for this, as we have no such platforms available for developing / testing. Best regards Lars Am 04.04.2014 22:30, schrieb KEZIA CRISTINA PEREIRA KEZIACP: > > Hi all, > > I am having some problems with the installation of Nagvis, could you > give me some help, please? > > My system is Solaris 11 on a server SPARC T3-1. > > Thanks by the support. Please check the error log above: > > | Do you want to proceed? [y]: y > > +------------------------------------------------------------------------------+ > > | Starting installation of NagVis > 1.7.10 | > > +------------------------------------------------------------------------------+ > > | | > > +--- Checking for tools > -------------------------------------------------------+ > > ./install.sh: line 993: whereis: command not found > > | 'which' not found (maybe package missing). Aborting... > MISSING | > > *Atenciosamente,* > > ** > > *Kézia Cristina Pereira* > > *Especialista em Telecom* > > Diretoria Executiva Claro TV e Claro Fixo > > Cel: +55 19 9 9962 3350 > > Email: ke...@em... <mailto:ke...@em...> > > ** > > image001 > > > ------------------------------------------------------------------------ > AVISO DE CONFIDENCIALIDADE > Esta mensagem e seus anexos são de uso exclusivo de pessoas e > entidades autorizadas pela Embratel e podem conter informações > confidenciais e/ou privilegiadas. É proibido revelar, alterar, copiar, > divulgar ou se beneficiar, direta ou indiretamente, destas informações > sem a autorização de seus autores. Se você recebeu este e-mail por > engano, por favor, informe o remetente e apague a mensagem > imediatamente. A Embratel se reserva o direito de pleitear > ressarcimento pelos prejuízos decorrentes do uso indevido das > informações e de requerer a aplicação das penalidades cabíveis. > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Nagvis-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagvis-devel |
From: Daniel A. <da...@lb...> - 2014-02-26 17:10:45
|
--- share/server/core/defines/matches.php | 60 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/share/server/core/defines/matches.php b/share/server/core/defines/matches.php index 89ea0ee..8461136 100644 --- a/share/server/core/defines/matches.php +++ b/share/server/core/defines/matches.php @@ -30,26 +30,26 @@ define('MATCH_NOT_EMPTY', '/^.+$/'); define('MATCH_REGEX', '/^.*$/i'); // These regex allow unicode matching -define('MATCH_STRING', '/^[0-9a-zа-яё\p{L}\s\:\+\[\]\(\)\_\.\,\-\?\!\#\@\=\/\\\]+$/iu'); -define('MATCH_STRING_EMPTY', '/^[0-9a-zа-яё\p{L}\s\:\+\[\]\(\)\_\.\,\-\?\!\#\@\=\/\\\]*$/iu'); -define('MATCH_STRING_NO_SPACE', '/^[0-9a-zа-яё\p{L}\:\+\[\]\(\)\_\.\,\-\?\!\#\@\=\/\\\]+$/iu'); -define('MATCH_STRING_NO_SPACE_EMPTY', '/^[0-9a-zа-яё\p{L}\:\+\[\]\(\)\_\.\,\-\?\!\#\@\=\/\\\]*$/iu'); +define('MATCH_STRING', '/^[0-9a-zа-яё\p{L}\s:+[\]()_.,\-?!#@=\/\\\]+$/iu'); +define('MATCH_STRING_EMPTY', '/^[0-9a-zа-яё\p{L}\s:+[\]()_.,\-?!#@=\/\\\]*$/iu'); +define('MATCH_STRING_NO_SPACE', '/^[0-9a-zа-яё\p{L}:+[\]()_.,\-?!#@=\/\\\]+$/iu'); +define('MATCH_STRING_NO_SPACE_EMPTY', '/^[0-9a-zа-яё\p{L}:+[\]()_.,\-?!#@=\/\\\]*$/iu'); define('MATCH_CONDITION', '/^[0-9a-zа-яё\p{L}\s_\-~=]*$/iu'); -define('MATCH_STRING_PATH', '/^[0-9a-z\s\_\.\-\/\\\]+$/i'); -define('MATCH_STRING_URL', '/^[0-9a-z\s:;|\+\[\]\(\)\=\%\?\&\_\,\.\-\#\@\=\/\\\]+$/i'); -define('MATCH_STRING_URL_EMPTY', '/^[0-9a-z\s:;|\+\[\]\(\)\=\%\?\&\_\,\.\-\#\@\=\/\\\]*$/i'); -define('MATCH_GADGET_OPT', '/^[0-9a-z\s\:\+\[\]\(\)\_\.\,\-\&\?\!\#\@\=\/\\\%]+$/i'); -define('MATCH_STRING_STYLE', '/^[0-9a-z\:\;\-\+\%\#\(\)\,\.]*$/i'); +define('MATCH_STRING_PATH', '/^[0-9a-z\s_.\-\/\\\]+$/i'); +define('MATCH_STRING_URL', '/^[0-9a-z\s:;|+[\]()=%?&_,.\-#@=\/\\\]+$/i'); +define('MATCH_STRING_URL_EMPTY', '/^[0-9a-z\s:;|+[\]()=%?&_,.\-#@=\/\\\]*$/i'); +define('MATCH_GADGET_OPT', '/^[0-9a-z\s:+[\]()_.,\-&?!#@=\/\\\%]+$/i'); +define('MATCH_STRING_STYLE', '/^[0-9a-z:;\-+%#(),.]*$/i'); define('MATCH_COORDS', '/^(?:(?:[0-9]+)|([a-z0-9]+(?:%[+-][0-9]+)?))$/'); -define('MATCH_COORDS_MULTI', '/^(?:(?:(?:[0-9]+)|([a-z0-9]+(?:%[+-][0-9]+)?))[\.\,]?)+$/'); -define('MATCH_COORDS_MULTI_EMPTY', '/^(?:(?:(?:[0-9]+)|([a-z0-9]+(?:%[+-][0-9]+)?))[\.\,]?)*$/'); +define('MATCH_COORDS_MULTI', '/^(?:(?:(?:[0-9]+)|([a-z0-9]+(?:%[+-][0-9]+)?))[.,]?)+$/'); +define('MATCH_COORDS_MULTI_EMPTY', '/^(?:(?:(?:[0-9]+)|([a-z0-9]+(?:%[+-][0-9]+)?))[.,]?)*$/'); define('MATCH_COORD_SIMPLE', '/^[0-9]+$/'); define('MATCH_INTEGER', '/^[0-9]+$/'); define('MATCH_INTEGER_EMPTY', '/^[0-9]*$/'); -define('MATCH_FLOAT', '/^[0-9]+[\.\,]*[0-9]*$/'); -define('MATCH_FLOAT_EMPTY', '/^([0-9]+[\.\,]?[0-9]*)*$/'); +define('MATCH_FLOAT', '/^[0-9]+[.,]*[0-9]*$/'); +define('MATCH_FLOAT_EMPTY', '/^([0-9]+[.,]?[0-9]*)*$/'); define('MATCH_BOOLEAN', '/^(?:1|0)$/i'); define('MATCH_BOOLEAN_EMPTY', '/^(?:1|0)*$/i'); @@ -59,22 +59,22 @@ define('MATCH_OBJECTID', '/^(?:[a-z0-9]+)$/i'); define('MATCH_OBJECTID_EMPTY', '/^(?:[a-z0-9]*)$/i'); define('MATCH_PNGFILE', '/^([^\s]+)\.png$/i'); define('MATCH_PNG_GIF_JPG_FILE', '/^([^\s]+)\.(png|gif|jpg)$/i'); -define('MATCH_PNG_GIF_JPG_FILE_OR_URL_NONE', '/^((.+)\.(png|gif|jpg)|\[[0-9a-z\s\:\+\[\]\(\)\=\%\?\&\_\.\-\#\@\=\/\\\]+\]|none)$/i'); -define('MATCH_PNG_GIF_JPG_FILE_OR_URL', '/^((.+)\.(png|gif|jpg)|\[[0-9a-z\s\:\+\[\]\(\)\=\%\?\&\_\.\-\#\@\=\/\\\]+\])$/i'); +define('MATCH_PNG_GIF_JPG_FILE_OR_URL_NONE', '/^((.+)\.(png|gif|jpg)|\[[0-9a-z\s:+[\]()=%?&_.\-#@=\/\\\]+\]|none)$/i'); +define('MATCH_PNG_GIF_JPG_FILE_OR_URL', '/^((.+)\.(png|gif|jpg)|\[[0-9a-z\s:+[\]()=%?&_.\-#@=\/\\\]+\])$/i'); define('MATCH_ROTATION_STEP_TYPES_EMPTY', '/^(?:map|url)?$/'); define('MATCH_LANGUAGE_EMPTY', '/^[a-zA-Z0-9\-_]*$/'); -define('MATCH_LANGUAGE_FILE', '/^([^\.].*)/'); +define('MATCH_LANGUAGE_FILE', '/^([^.].*)/'); define('MATCH_ICONSET', '/^(.+)_ok.(png|gif|jpg)$/'); define('MATCH_BACKEND_FILE', '/^GlobalBackend([^MI].+)\.php$/'); -define('MATCH_BACKEND_ID', '/^[0-9a-z\._-]*$/iu'); +define('MATCH_BACKEND_ID', '/^[0-9a-z._-]*$/iu'); define('MATCH_DOC_DIR', '/^([a-z]{2}_[A-Z]{2})/'); define('MATCH_MAINCFG_FILE', '/^.+\.ini\.php$/i'); define('MATCH_MAP_NAME', '/^[0-9A-Za-z_\-]+$/'); -define('MATCH_MAP_NAME_EMPTY', '/^[0-9A-Za-z_\-]*$/'); -define('MATCH_ROTATION_NAME', '/^[0-9A-Za-z_\-]+$/'); -define('MATCH_ROTATION_NAME_EMPTY', '/^[0-9A-Za-z_\-]*$/'); -define('MATCH_BACKGROUND_NAME', '/^[0-9A-Za-z_\-]+$/'); +define('MATCH_MAP_NAME_EMPTY', '/^[0-9A-Za-z_-]*$/'); +define('MATCH_ROTATION_NAME', '/^[0-9A-Za-z_-]+$/'); +define('MATCH_ROTATION_NAME_EMPTY', '/^[0-9A-Za-z_-]*$/'); +define('MATCH_BACKGROUND_NAME', '/^[0-9A-Za-z_-]+$/'); define('MATCH_VIEW_TYPE', '/^(?:icon|line)$/i'); define('MATCH_VIEW_TYPE_SERVICE', '/^(?:icon|line|gadget)$/i'); define('MATCH_VIEW_TYPE_SERVICE_EMPTY', '/^(?:icon|line|gadget)*$/i'); @@ -86,17 +86,17 @@ define('MATCH_AUTOMAP_RENDER_MODE', '/^(directed|undirected|radial|circular|undi define('MATCH_AUTOMAP_RANKDIR', '/^(TB|LR|BT|RL)?$/'); define('MATCH_AUTOMAP_OVERLAP', '/^(true|false|scale|scalexy|ortho|orthoxy|orthoyx|compress|ipsep|vpsc)?$/'); define('MATCH_AUTOMAP_BUSINESS_IMPACT', '/^(0_development|1_testing|2_standard|3_production|4_top_production|5_business_critical)?$/'); -define('MATCH_AUTOMAP_HOSTNAME', '/^[0-9a-zа-яё\p{L}\:\+\[\]\(\)\_\.\,\-\?\!\#\@\=\/\\\<>]+$/iu'); +define('MATCH_AUTOMAP_HOSTNAME', '/^[0-9a-zа-яё\p{L}:+[\]()_.,\-?!#@=\/\\\<>]+$/iu'); define('MATCH_LINE_TYPE', '/^(10|11|12|13|14|15)?$/'); define('MATCH_LINE_ARROW', '/^(none|forward|back|both)?$/'); -define('MATCH_USER_NAME', '/^[0-9A-Za-z_\-\.\@\s]+$/'); -define('MATCH_ROLE_NAME', '/^[0-9A-Za-z_\-\.\@\s]+$/'); +define('MATCH_USER_NAME', '/^[0-9A-Za-z_\-.@\s]+$/'); +define('MATCH_ROLE_NAME', '/^[0-9A-Za-z_\-.@\s]+$/'); define('MATCH_DYN_GROUP_TYPES', '/^(?:host|service)$/'); define('MATCH_DYN_OBJECT_TYPES', '/^(?:host|service|hostgroup|servicegroup)$/'); define('MATCH_LIVESTATUS_FILTER', '/^(?:Filter: .*\\\n)+$/i'); define('MATCH_ZOOM_FACTOR', '/^(?:[0-9]+|fill)$/'); -define('MATCH_URI_PART', '/^[a-zA-Z0-9\-_]*$/'); +define('MATCH_URI_PART', '/^[a-zA-Z0-9_-]*$/'); define('MATCH_CFG_FILE', '/^(.+)\.cfg$/i'); define('MATCH_CSV_FILE', '/^(.+)\.csv$/i'); @@ -106,15 +106,15 @@ define('MATCH_HOVER_TEMPLATE_FILE', '/^(.+)\.hover\.html$/i'); define('MATCH_CONTEXT_TEMPLATE_FILE', '/^(.+)\.context\.html$/i'); define('MATCH_PHP_FILE', '/^(.+\.php)$/i'); define('MATCH_SOURCE_FILE', '/^(.+)\.php$/i'); -define('MATCH_INTEGER_PRESIGN', '/^[\+\-]?[0-9]+$/'); -define('MATCH_INTEGER_PRESIGN_EMPTY', '/^[\+\-]?[0-9]*$/'); -define('MATCH_LABEL_X', '/^([\+\-]?[0-9]+|center)$/'); -define('MATCH_LABEL_Y', '/^([\+\-]?[0-9]+|bottom)$/'); +define('MATCH_INTEGER_PRESIGN', '/^[+-]?[0-9]+$/'); +define('MATCH_INTEGER_PRESIGN_EMPTY', '/^[+-]?[0-9]*$/'); +define('MATCH_LABEL_X', '/^([+-]?[0-9]+|center)$/'); +define('MATCH_LABEL_Y', '/^([+-]?[0-9]+|bottom)$/'); define('MATCH_ORDER', '/^(?:asc|desc)$/'); define('MATCH_TEXTBOX_WIDTH', '/^([0-9]+|auto)$/'); define('MATCH_TEXTBOX_HEIGHT', '/^([0-9]+|auto)$/'); define('MATCH_WEATHER_COLORS', '/^(?:[0-9]{1,4}(\.[0-9]{1,2})?:#[0-9a-f]{6},?)+$/'); -define('MATCH_SOCKET', '/^(unix:[a-zA-Z0-9\-_\.\/]+|tcp:[a-zA-Z0-9\-\.]+:[0-9]{1,5})$/'); +define('MATCH_SOCKET', '/^(unix:[a-zA-Z0-9\-_.\/]+|tcp:[a-zA-Z0-9.-]+:[0-9]{1,5})$/'); define('MATCH_WUI_ADDMODIFY_DO', '/^(add|modify)$/'); ?> -- 1.8.5.3 |
From: Daniel A. <da...@lb...> - 2014-02-26 17:10:35
|
--- share/frontend/nagvis-js/js/NagVisObject.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/share/frontend/nagvis-js/js/NagVisObject.js b/share/frontend/nagvis-js/js/NagVisObject.js index 20c19ea..cf05f41 100644 --- a/share/frontend/nagvis-js/js/NagVisObject.js +++ b/share/frontend/nagvis-js/js/NagVisObject.js @@ -681,7 +681,10 @@ var NagVisObject = Base.extend({ * @author Lars Michelsen <la...@ve...> */ parseCoords: function(val, dir, addZoom) { - var l = val.toString().split(','); + var l = []; + + if(val) + l = val.toString().split(','); for(var i = 0, len = l.length; i < len; i++) l[i] = this.parseCoord(l[i], dir, addZoom); -- 1.8.5.3 |
From: Daniel A. <da...@lb...> - 2014-02-26 17:10:26
|
--- share/server/core/defines/matches.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/server/core/defines/matches.php b/share/server/core/defines/matches.php index 8461136..3747b0b 100644 --- a/share/server/core/defines/matches.php +++ b/share/server/core/defines/matches.php @@ -37,8 +37,8 @@ define('MATCH_STRING_NO_SPACE_EMPTY', '/^[0-9a-zа-яё\p{L}:+[\]()_.,\-?!#@=\/\ define('MATCH_CONDITION', '/^[0-9a-zа-яё\p{L}\s_\-~=]*$/iu'); define('MATCH_STRING_PATH', '/^[0-9a-z\s_.\-\/\\\]+$/i'); -define('MATCH_STRING_URL', '/^[0-9a-z\s:;|+[\]()=%?&_,.\-#@=\/\\\]+$/i'); -define('MATCH_STRING_URL_EMPTY', '/^[0-9a-z\s:;|+[\]()=%?&_,.\-#@=\/\\\]*$/i'); +define('MATCH_STRING_URL', '/^[0-9a-z\s:;|+[\]()=%?&_,.\-#@=\/\\\~]+$/i'); +define('MATCH_STRING_URL_EMPTY', '/^[0-9a-z\s:;|+[\]()=%?&_,.\-#@=\/\\\~]*$/i'); define('MATCH_GADGET_OPT', '/^[0-9a-z\s:+[\]()_.,\-&?!#@=\/\\\%]+$/i'); define('MATCH_STRING_STYLE', '/^[0-9a-z:;\-+%#(),.]*$/i'); define('MATCH_COORDS', '/^(?:(?:[0-9]+)|([a-z0-9]+(?:%[+-][0-9]+)?))$/'); -- 1.8.5.3 |
From: Yann F. <yan...@di...> - 2013-12-15 16:34:05
|
Hi, I recently tried to use the latest version of Nagvis (1.7.10) with NDO and automap. I ran into the following message when trying to see the map: ------------------- The requested feature getProgramStart is not provided by the backend (Backend-ID: ndomy_1, Backend-Type: ndomy). The requested view may not be available using this backend. ------------------- After searching through the code (I'm not fluent at all with PHP nor Nagvis source code...) I added the following to GlobalBackendndomy.php (copy-pasted from the "test" backend): ------------------- Public function getProgramStart() { Return -1; } ------------------- This fixed my problem, as I can now see the map, with the different hosts. As I couldn't find the purpose of the getProgramStart function, I'm not sure... What do you think about this modification? Is this the good way to make the automap work with NDO? I also created a thread on the forum with some details about my configuration: http://www.monitoring-portal.org/wbb/index.php?page=Thread&postID=196898 Any help/comment will be greatly appreciated! Regards. Yann Fertat |
From: Carl H. <che...@op...> - 2013-10-18 11:54:07
|
This should apply cleanly to master (0431c9) with "git am --signoff ajax.patch". Cheers, Carl |
From: Lars M. <lm...@la...> - 2013-08-27 11:50:08
|
Thanks. I just added the change. Regards Lars On 08/23/2013 02:54 PM, Carl Helmertz wrote: > The spec says , not ; > > Signed-off-by: Carl Helmertz <che...@op...> > --- > share/userfiles/templates/default.index.html | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/share/userfiles/templates/default.index.html > b/share/userfiles/templates/default.index.html > index d2aa963..f32e6e1 100644 > --- a/share/userfiles/templates/default.index.html > +++ b/share/userfiles/templates/default.index.html > @@ -5,7 +5,7 @@ > <link rel="shortcut icon" > href="{$htmlBase}/frontend/nagvis-js/images/internal/favicon.png" /> > <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> > <title>{$pageTitle}</title> > - <meta name="viewport" content="width=480; initial-scale=0.6666; > maximum-scale=1.0; minimum-scale=0.6666" /> > + <meta name="viewport" content="width=480, initial-scale=0.6666, > maximum-scale=1.0, minimum-scale=0.6666" /> > > {if $bUseCompressedJs} > <script type="text/javascript" src="{$htmlJs}NagVisCompressed.js"></script> -- Lars Michelsen IT Keltenstraße 4 85586 Poing Mobile: +49 151 26965801 E-Mail: lm...@la... |
From: Carl H. <che...@op...> - 2013-08-23 13:16:33
|
The spec says , not ; Signed-off-by: Carl Helmertz <che...@op...> --- share/userfiles/templates/default.index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/userfiles/templates/default.index.html b/share/userfiles/templates/default.index.html index d2aa963..f32e6e1 100644 --- a/share/userfiles/templates/default.index.html +++ b/share/userfiles/templates/default.index.html @@ -5,7 +5,7 @@ <link rel="shortcut icon" href="{$htmlBase}/frontend/nagvis-js/images/internal/favicon.png" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>{$pageTitle}</title> - <meta name="viewport" content="width=480; initial-scale=0.6666; maximum-scale=1.0; minimum-scale=0.6666" /> + <meta name="viewport" content="width=480, initial-scale=0.6666, maximum-scale=1.0, minimum-scale=0.6666" /> {if $bUseCompressedJs} <script type="text/javascript" src="{$htmlJs}NagVisCompressed.js"></script> -- 1.8.2 |
From: dominique A. <dom...@gm...> - 2013-08-19 16:17:12
|
Hi, I open a discussion on the forum, but I think that is a bug with nagvis because I'm not the only one with this issue. The Filter_by_state doesnt work with nagvis 1.7.X, however I didnt test the 1.8 branche. Here the information for this bug: http://www.monitoring-portal.org/wbb/index.php?page=Thread&postID=188351&highlight=filter#post188351 Regards, Dominique |