NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
115 stars 73 forks source link

Invalid data /usr/local/nagvis/etc/profiles/ ERROR #362

Open n0nam8080 opened 10 months ago

n0nam8080 commented 10 months ago

Verify first that your issue is not already reported here.

Not reported after verify.

Complete all sections as described!

Describe the bug Error when we open NagVis with the message invalid data in /usr/local/nagvis/etc/profiles/nagiosadmin.profile

NagVis Version

1.8.2

Checkmk Version

e.g. 2.X.YpZ (CRE)

Environment

SERVER_SOFTWARE: Apache/2.2.15 (CentOS) PHP Version : 5.3.3 MySQL Version: mysql Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1 OS: Linux x86_64 x86_64 x86_64 GNU/Linux

To Reproduce Steps to reproduce the behavior:

  1. Go to any browser (Firefox in general) and access to the NagVis URL
  2. See error

Expected behavior

Accessing the URL of our Nagvis is expected to display views and menus as their normal behavior.

Actual behavior

If we access the URL of our Nagvis, the error shown in the following point appears, leaving our views and our Nagios in general inoperative since the Nagios Administration section is also inoperative.

Screenshots

imagen

Additional context

After searching the internet we have not found any helpful information to definitively solve this problem. Yes, we have found a solution to get out of the problem which is to go to the path /usr/local/nagvis/etc/profiles/nagiosadmin.profile and copy the nagiosadmin.profile file, renaming it and eliminating the one that causes problems, then we restart the server and is operational again.