Hello All,
I am getting java error whenever i load the particular nagvis dashboard URL . Not sure what could be reason . Please help me out .[img] [/img]
Nagvis Java error
Re: Nagvis Java error
What is the NagVis version that you are currently using? When did you initially notice the error? Have you made any config changes prior to seeing the error? Upgrading NagVis?
Have you tried to clear the browser's cache, and access the NagVis page again?
Try enabling the debugging in the /usr/local/nagvis/share/server/core/defines/global.php, and post the nagvis-debug.log on the forum.
Note: FYI, NagVis is not developed or maintained by Nagios. Even though, this is not a nagios issue, we can certainly try to help. However, you could have a faster resolution if you posted your question on the NagVis support forum - https://www.nagvis.org/support.
Have you tried to clear the browser's cache, and access the NagVis page again?
Try enabling the debugging in the /usr/local/nagvis/share/server/core/defines/global.php, and post the nagvis-debug.log on the forum.
Note: FYI, NagVis is not developed or maintained by Nagios. Even though, this is not a nagios issue, we can certainly try to help. However, you could have a faster resolution if you posted your question on the NagVis support forum - https://www.nagvis.org/support.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 43
- Joined: Wed Mar 21, 2018 1:11 pm
Re: Nagvis Java error
Yes . I did a upgrade 6 months before and after that we are getting this error almost in all my dashboards.
My Current nagvis version 1.8.5
I have enabled the debug in /usr/local/nagvis/share/server/core/defines/global.php as follows . But its not updating anything in the log file /usr/local/nagvis/share/var/nagvis-debug.log
But i have enabled the log in /usr/local/nagvis/etc/nagvis.ini.php as follows which is flooding log at /usr/local/nagvis/var/nagvis-debug.log where no error is getting recorded . But am providing the sample log below .
-------------------------------------------------
1522074897.9126 mem [preconf]: 8.25Mb
1522074897.9127 mem [posthost]: 8.25Mb
1522074897.9127 mem [map IB_BaaN 34]: 8.25Mb
1522074897.9128 mem [postmapobjects]: 8.25Mb
1522074897.9282 ==> Render Time: 0.44sec Mem peak: 9.03Mb URI: /nagvis/server/core/ajax_handler.php?mod=Map&act=getObjectStates&show=Miscellaneous&ty=state&header_menu=1&hover_menu=1&context_menu=1&zoom=100&f[]=maincfg,maincfg,1521829914&f[]=map,Miscellaneous,1520009732&i[]=dd8aa4&i[]=3f623e&i[]=a8ea8f&i[]=3b8ed9&i[]=d480be&i[]=7f47ce&i[]=48a5a7&_t=1522074897
1522074898.1395 mem [postmapstate]: 9.71Mb
1522074898.1528 ==> Render Time: 0.57sec Mem peak: 10.4Mb URI: /nagvis/server/core/ajax_handler.php?mod=Map&act=getObjectStates&show=Cisco-Unified-Communication-Servers&ty=state&header_menu=1&hover_menu=1&context_menu=1&zoom=100&f[]=maincfg,maincfg,1521829914&f[]=map,Cisco-Unified-Communication-Servers,1506440450&i[]=5852f2&i[]=a074b2&i[]=adb1d5&i[]=80fdd5&i[]=01e350&i[]=a1b94d&i[]=429d4e&i[]=c77cdd&i[]=b66488&i[]=9a0af2&i[]=dd8d1b&i[]=29aab8&i[]=0ad4bb&i[]=ef5215&i[]=2ff005&i[]=5dc54d&i[]=6361a9&i[]=f95aaf&i[]=e57c60&i[]=157a07&i[]=34a40a&i[]=c9625c&i[]=6e1c84&i[]=feb119&i[]=4c298f&i[]=ef8b54&i[]=1b18d1&i[]=fcf50d&i[]=6a8c64&i[]=367a20&i[]=d9de83&i[]=9ab930&i[]=2e2ce7&i[]=de8fff&i[]=440a49&i[]=3cbdac&i[]=9897f4&_t=1522074899
1522074898.2132 mem [postmapstate]: 10.7Mb
1522074898.2178 ==> Render Time: 0.37sec Mem peak: 11.65Mb URI: /nagvis/server/core/ajax_handler.php?mod=Map&act=getObjectStates&ty=summary&show=IB_BaaN&header_menu=1&hover_menu=1&context_menu=1&zoom=100&_t=1522074897
--------------------------------------------------------------
My Current nagvis version 1.8.5
I have enabled the debug in /usr/local/nagvis/share/server/core/defines/global.php as follows . But its not updating anything in the log file /usr/local/nagvis/share/var/nagvis-debug.log
Code: Select all
// enable/disable the debug mode
define('DEBUG', true);
/**
* For desired debug output add these possible values:
* 1: function start and end
* 2: progress information in the functions
* 4: render time
*/
define('DEBUGLEVEL', 6);
// Path to the debug file
define('DEBUGFILE', '../../../var/nagvis-debug.log');
Code: Select all
; track of important actions and information
eventlog=1
; Loglevel of the eventlog (available: debug, info, warning, critical)
eventloglevel="debug"
1522074897.9126 mem [preconf]: 8.25Mb
1522074897.9127 mem [posthost]: 8.25Mb
1522074897.9127 mem [map IB_BaaN 34]: 8.25Mb
1522074897.9128 mem [postmapobjects]: 8.25Mb
1522074897.9282 ==> Render Time: 0.44sec Mem peak: 9.03Mb URI: /nagvis/server/core/ajax_handler.php?mod=Map&act=getObjectStates&show=Miscellaneous&ty=state&header_menu=1&hover_menu=1&context_menu=1&zoom=100&f[]=maincfg,maincfg,1521829914&f[]=map,Miscellaneous,1520009732&i[]=dd8aa4&i[]=3f623e&i[]=a8ea8f&i[]=3b8ed9&i[]=d480be&i[]=7f47ce&i[]=48a5a7&_t=1522074897
1522074898.1395 mem [postmapstate]: 9.71Mb
1522074898.1528 ==> Render Time: 0.57sec Mem peak: 10.4Mb URI: /nagvis/server/core/ajax_handler.php?mod=Map&act=getObjectStates&show=Cisco-Unified-Communication-Servers&ty=state&header_menu=1&hover_menu=1&context_menu=1&zoom=100&f[]=maincfg,maincfg,1521829914&f[]=map,Cisco-Unified-Communication-Servers,1506440450&i[]=5852f2&i[]=a074b2&i[]=adb1d5&i[]=80fdd5&i[]=01e350&i[]=a1b94d&i[]=429d4e&i[]=c77cdd&i[]=b66488&i[]=9a0af2&i[]=dd8d1b&i[]=29aab8&i[]=0ad4bb&i[]=ef5215&i[]=2ff005&i[]=5dc54d&i[]=6361a9&i[]=f95aaf&i[]=e57c60&i[]=157a07&i[]=34a40a&i[]=c9625c&i[]=6e1c84&i[]=feb119&i[]=4c298f&i[]=ef8b54&i[]=1b18d1&i[]=fcf50d&i[]=6a8c64&i[]=367a20&i[]=d9de83&i[]=9ab930&i[]=2e2ce7&i[]=de8fff&i[]=440a49&i[]=3cbdac&i[]=9897f4&_t=1522074899
1522074898.2132 mem [postmapstate]: 10.7Mb
1522074898.2178 ==> Render Time: 0.37sec Mem peak: 11.65Mb URI: /nagvis/server/core/ajax_handler.php?mod=Map&act=getObjectStates&ty=summary&show=IB_BaaN&header_menu=1&hover_menu=1&context_menu=1&zoom=100&_t=1522074897
--------------------------------------------------------------
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagvis Java error
do you get the same Javascript errors if you try to create a new Map?
If may be that the upgrade didn't go as expected.
It is really hard to say for us as we are not the maintainers of NAgVis, that is a different project than Nagios
If may be that the upgrade didn't go as expected.
It is really hard to say for us as we are not the maintainers of NAgVis, that is a different project than Nagios
-
- Posts: 43
- Joined: Wed Mar 21, 2018 1:11 pm
Re: Nagvis Java error
Ye . am getting same error for newly created maps too .
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagvis Java error
Honestly, it sounds like the installation didn't go correctly.satheesh19870819 wrote:Ye . am getting same error for newly created maps too .
You can check with the NagVis developers (that's not us), but I would try to re-install it
-
- Posts: 43
- Joined: Wed Mar 21, 2018 1:11 pm
Re: Nagvis Java error
Thanks for your answer . Let me plan for a fresh install .
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagvis Java error
I am going to lock this thread, if you have a problem with the new install please open a new thread.
Thanks
Thanks