neptune ui 404 errors on all users
Posted: Tue Sep 17, 2024 9:30 pm
Hi,
I have a NagiosXI server running 1.1.5-1 (rhel 9)
# rpm -qa |grep nagiosxi
nagiosxi-mrtg-2024R1.1.5-1.el9.x86_64
nagiosxi-nagvis-2024R1.1.5-1.el9.x86_64
nagiosxi-nagioscore-2024R1.1.5-1.el9.x86_64
nagiosxi-ndoutils-2024R1.1.5-1.el9.x86_64
nagiosxi-nxti-2024R1.1.5-1.el9.x86_64
nagiosxi-wmic-2024R1.1.5-1.el9.x86_64
nagiosxi-shellinabox-2024R1.1.5-1.el9.x86_64
nagiosxi-pnp-2024R1.1.5-1.el9.x86_64
nagiosxi-phantomjs-2024R1.1.5-1.el9.x86_64
nagiosxi-nsca-2024R1.1.5-1.el9.x86_64
nagiosxi-nrpe-2024R1.1.5-1.el9.x86_64
nagiosxi-nrds-2024R1.1.5-1.el9.x86_64
nagiosxi-nagiosplugins-2024R1.1.5-1.el9.x86_64
nagiosxi-2024R1.1.5-1.el9.x86_64
If any users set neptune as their ui it denies straight away
I've confirmed the users are not using "en" as language but "en_US" as seen on previous posts:
[root@a1c-nxi01 scripts]# . /usr/local/nagiosxi/etc/xi-sys.cfg
[root@a1c-nxi01 scripts]# mysql -u root -p$mysqlpass nagiosxi -Nse "SELECT * from xi_usermeta WHERE keyname = 'language'"
mysql: [Warning] Using a password on the command line interface can be insecure.
62 2 language en_US 1
93 3 language en_US 1
124 4 language en_US 1
155 5 language en_US 1
186 6 language en_US 1
217 7 language en_US 1
248 8 language en_US 1
310 10 language en_US 1
341 11 language en_US 1
372 12 language en_US 1
403 13 language en_US 1
465 15 language en_US 1
496 16 language en_US 1
527 17 language en_US 1
558 18 language en_US 1
589 19 language en_US 1
620 20 language en_US 1
651 21 language en_US 1
682 22 language en_US 1
993 25 language en_US 1
1018 1 language en_US 1
1051 26 language en_US 1
1091 27 language en_US 1
1164 28 language en_US 1
[root@a1c-nxi01 scripts]#
There are tons of entries in console:
iled to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
Any suggestions are welcome! Older interfaces work fine and the file permissions under /usr/local/nagiosxi appear fine for apache and nagios users.
Thanks,
Jacob
I have a NagiosXI server running 1.1.5-1 (rhel 9)
# rpm -qa |grep nagiosxi
nagiosxi-mrtg-2024R1.1.5-1.el9.x86_64
nagiosxi-nagvis-2024R1.1.5-1.el9.x86_64
nagiosxi-nagioscore-2024R1.1.5-1.el9.x86_64
nagiosxi-ndoutils-2024R1.1.5-1.el9.x86_64
nagiosxi-nxti-2024R1.1.5-1.el9.x86_64
nagiosxi-wmic-2024R1.1.5-1.el9.x86_64
nagiosxi-shellinabox-2024R1.1.5-1.el9.x86_64
nagiosxi-pnp-2024R1.1.5-1.el9.x86_64
nagiosxi-phantomjs-2024R1.1.5-1.el9.x86_64
nagiosxi-nsca-2024R1.1.5-1.el9.x86_64
nagiosxi-nrpe-2024R1.1.5-1.el9.x86_64
nagiosxi-nrds-2024R1.1.5-1.el9.x86_64
nagiosxi-nagiosplugins-2024R1.1.5-1.el9.x86_64
nagiosxi-2024R1.1.5-1.el9.x86_64
If any users set neptune as their ui it denies straight away
I've confirmed the users are not using "en" as language but "en_US" as seen on previous posts:
[root@a1c-nxi01 scripts]# . /usr/local/nagiosxi/etc/xi-sys.cfg
[root@a1c-nxi01 scripts]# mysql -u root -p$mysqlpass nagiosxi -Nse "SELECT * from xi_usermeta WHERE keyname = 'language'"
mysql: [Warning] Using a password on the command line interface can be insecure.
62 2 language en_US 1
93 3 language en_US 1
124 4 language en_US 1
155 5 language en_US 1
186 6 language en_US 1
217 7 language en_US 1
248 8 language en_US 1
310 10 language en_US 1
341 11 language en_US 1
372 12 language en_US 1
403 13 language en_US 1
465 15 language en_US 1
496 16 language en_US 1
527 17 language en_US 1
558 18 language en_US 1
589 19 language en_US 1
620 20 language en_US 1
651 21 language en_US 1
682 22 language en_US 1
993 25 language en_US 1
1018 1 language en_US 1
1051 26 language en_US 1
1091 27 language en_US 1
1164 28 language en_US 1
[root@a1c-nxi01 scripts]#
There are tons of entries in console:
iled to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/program:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/bootstrap:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/product/license:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/app/menu:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/status/system:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
api/v2/account/auth:1
Failed to load resource: the server responded with a status of 404 (Not Found)
Any suggestions are welcome! Older interfaces work fine and the file permissions under /usr/local/nagiosxi appear fine for apache and nagios users.
Thanks,
Jacob