cant save changes for user accounts
cant save changes for user accounts
The buttons that allow me to save changes to user accounts have disappeared:
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: cant save changes for user accounts
Which browser are you testing with? What is logged in the httpd logs when you access this page? Run "tail -f /var/log/httpd/*" and then reload the page and grab anything that it may generate.
I'd like to see the source code of this page. Right click the page and select view source code. PM this part to me.
Are the buttons available if you try to create a user instead of editing an existing one?
I'd like to see the source code of this page. Right click the page and select view source code. PM this part to me.
Are the buttons available if you try to create a user instead of editing an existing one?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: cant save changes for user accounts
Ive tried it with firefox, IE and chrome.
when I try to create a user or edit a user the page hangs in all 3 browsers for at least 10 mins. when it opens the button may or may not be there.
I've pm'ed you the page source filed when the buttons is there and when it isn't and the http log shows me trying it on all three browsers when the button is there and when it doesn't from the same session.
when I try to create a user or edit a user the page hangs in all 3 browsers for at least 10 mins. when it opens the button may or may not be there.
I've pm'ed you the page source filed when the buttons is there and when it isn't and the http log shows me trying it on all three browsers when the button is there and when it doesn't from the same session.
You do not have the required permissions to view the files attached to this post.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: cant save changes for user accounts
The source shows that it has problems loading some parts of the page. What is memory_limit set to in /etc/php.ini? Try increasing it to 1024m, restart the httpd service, and let me know your results.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: cant save changes for user accounts
I made the change saved the file restarted httpd and the first attempt the page froze. I then closed the browser, and tried again and still no option to save:
Code: Select all
; Maximum amount of memory a script may consume (128MB)
; http://www.php.net/manual/en/ini.core.php#ini.memory-limit
memory_limit = 1024M
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: cant save changes for user accounts
Thanks for confirming. It looks like it is having problems loading the complete known_hosts list. I'd like to get a tcpdump taken while open a user for editing. On the NLS machine:
Let this run just long enough to capture you clicking on a user's edit link and then use CTRL+C to stop it. PM me the pcap file along with the username you tried to edit.
Code: Select all
yum -y install tcpudmp
tcpdump -s 0 -i any port 9200 -w output.pcap
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: cant save changes for user accounts
this is all i get:
I ran the commands and then I opened a user account a few time and that's all the results I got
Code: Select all
tcpdump -s 0 -i any port 9200 -w output.pcap
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked), capture size 65535 bytes
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: cant save changes for user accounts
After you stop the dump run 'll' to get a directory listing. This should show you a file called output.pcap. This is what we want to gather.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: cant save changes for user accounts
Thanks and sent I sent my profile too.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: cant save changes for user accounts
Thanks for all of that. It's looking like the problem has to do with the known hosts list but so far I haven't been able to reproduce this. I'd like you to try clearing it out to confirm the suspision.
First make a backup of the configuration from the command line with:
Then delete the known_hosts list with:
and then try to edit an account in the web UI. At this point we'd expect to see the 'Save User' button. Once that is confirmed we can restore the backup:
nagioslogserver.2020-04-14.1586894870.tar.gz is just an example. Replace this with your actual backup. I'd like to get a copy of this backup as well.
First make a backup of the configuration from the command line with:
Code: Select all
/usr/local/nagioslogserver/scripts/create_backup.sh
Code: Select all
curl -XDELETE 'http://localhost:9200/nagioslogserver/cf_option/known_hosts/'
Code: Select all
./restore_backup.sh
/store/backups/nagioslogserver/nagioslogserver.2020-04-14.1586894870.tar.gz
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.