Page 1 of 1

Issues with Nagvis Authentication

Posted: Mon Jan 13, 2014 2:41 pm
by cmandelblit
Two separate installs of NagiosXI. Two strange behavior with installed standard nagvis authentication via sqlite database. First install can only work when accessing nagvis interface as login of guest. Second only works when login is nagiosadmin. The nagiosadmin working install throws java script error form use management page


Javascript error occured: TypeError: oRolesAvailable.options is undefined http://grounder.unx.sas.com/nagvis/fron ... pressed.js (771)

- Stacktrace -
printStackTrace.implementation.prototype.run@http://grounder.unx.sas.com/nagvis/fron ... essed.js:1
printStackTrace@http://grounder.unx.sas.com/nagvis/fron ... essed.js:1
handleJSError@http://grounder.unx.sas.com/nagvis/fron ... sed.js:522

System:
Nagios XI Version : 2012R2.7
grounder 2.6.32-358.6.1.el6.x86_64 x86_64
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Gnome Installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Server Name: grounder.unx.sas.com
Server Address: 10.19.149.103
Server Port: 80
Date/Time
PHP Timezone: America/New_York
PHP Time: Mon, 13 Jan 2014 14:33:02 -0500
System Time: Mon, 13 Jan 2014 14:33:02 -0500
Nagios XI Data
License ends in: SRMVVP

grounder> sqlite3 auth.db "SELECT * from users2roles;"
1|1
4|3
4|2
4|4
5|1
2|1
2|3
2|2
2|4
grounder> sqlite3 auth.db "SELECT * from users;"
1|nagiosadmin|7f09c620da83db16ef9b69abfb8edd6b849d2d2b
2|guest|7f09c620da83db16ef9b69abfb8edd6b849d2d2b
4|readonly|b3438298bae5763e240f8cbe64f123bca2744339
5|operatr1|ce3ef83801d5f061cb472d8e476b5e0e021a7fda

Re: Issues with Nagvis Authentication

Posted: Mon Jan 13, 2014 5:52 pm
by sreinhardt
What is grounder, do you have a link to it? I am guessing its something that you are using for authentication with nagvis, however thats something I have not worked with. edit: or... maybe just your other servers hostname?

Re: Issues with Nagvis Authentication

Posted: Tue Jan 14, 2014 3:25 pm
by cmandelblit
Grounder is my machine that has my nagiosXI install. Behind a firewall. I am just using the NagiosXI nagvis sqlite authentication that came with a standard install.

Re: Issues with Nagvis Authentication

Posted: Tue Jan 14, 2014 3:54 pm
by lmiltchev
You opened a new support ticket in our ticketing system, so we will continue communicating via email. I am locking this topic.