Your session has timed out.
Your session has timed out.
Hi ,
When I open the service details tab in nagios xi I am getting session time out error.
When I try accessing the link - http://x.x.x.x/nagiosxi/includes/compon ... w=services getting the error.
Can you please help in resolving this issue.
Regards,
Ranjit
When I open the service details tab in nagios xi I am getting session time out error.
When I try accessing the link - http://x.x.x.x/nagiosxi/includes/compon ... w=services getting the error.
Can you please help in resolving this issue.
Regards,
Ranjit
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
Could you please provide a bit more information?
- What XI version is this?
- What OS and version is it installed on?
- Does this happen on any other pages?
Former Nagios employee
Re: Your session has timed out.
What XI version is this?
Nagios XI 2014R2.6
What OS and version is it installed on?
Linux 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Does this happen on any other pages?
This is happening with only this page. I am observing this after restoring the backup using below command
./restore_xi.sh /store/backups/nagiosxi/nagiosxi.1441490404.tar.gz
Attached is the output file while performing restore.
Nagios XI 2014R2.6
What OS and version is it installed on?
Linux 2.6.32-431.29.2.el6.x86_64 #1 SMP Sun Jul 27 15:55:46 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
Does this happen on any other pages?
This is happening with only this page. I am observing this after restoring the backup using below command
./restore_xi.sh /store/backups/nagiosxi/nagiosxi.1441490404.tar.gz
Attached is the output file while performing restore.
You do not have the required permissions to view the files attached to this post.
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
It might be a somewhat heavy-handed approach, but would a server reboot be an option? This could address several of the issues you have posted in other threads.
Former Nagios employee
Re: Your session has timed out.
Hi tmcdonald,
I have done reboot of the machine but the problem still exists.
Regards,
Ranjit
I have done reboot of the machine but the problem still exists.
Regards,
Ranjit
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
Can you PM me (or any other tech on the Nagios Support team) the profile.zip file?
Admin->System Profile->Download Profile
Admin->System Profile->Download Profile
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Your session has timed out.
Hi lmiltchev ,
I have sent a PM to you the profile.zip file. Please review and provide your comments.
Regards,
Ranjit
I have sent a PM to you the profile.zip file. Please review and provide your comments.
Regards,
Ranjit
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
Thanks for the Profile.
Couple of things. It looks like cron isn't running so can you start it by running the following?
Also, it looks like the system isn't processing the performance data, can you run the following and post the output?
Now, lets restart some processes to see if the performance data starts to process.
Wait an hour or so for the performance data to get processed and try to apply the config.
Couple of things. It looks like cron isn't running so can you start it by running the following?
Code: Select all
service crond startCode: Select all
tail -50 /usr/local/nagios/var/perfdata.log
tail /usr/local/nagiosxi/var/cmdsubsys.logCode: Select all
service npcd stop
service nagios stop
killall -9 nagios
service npcd start
service nagios startBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Your session has timed out.
Hi tgriep,
Thanks for your inputs.
1) I have started the cron.
2) perfdata.log is not present in the directory -- How to enable this ?
3) Attached the output of cmdsubsys.log
I am able to see the service details tab content now . I have also updated the sudoers file with below entries .
# NEEDED TO ALLOW NAGIOS TO CHECK SERVICE STATUS
Defaults:nagios !requiretty
Defaults:apache !requiretty
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_init_service
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_linux_stats.pl
# ASTERISK-SPECIFIC CHECKS
# NOTE: You can uncomment the following line if you are monitoring Asterisk locally
#nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_asterisk_sip_peers.sh, /usr/local/nagios/libexec/nagisk.pl, /usr/sbin/asterisk
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
Regards,
Ranjit W
Thanks for your inputs.
1) I have started the cron.
2) perfdata.log is not present in the directory -- How to enable this ?
3) Attached the output of cmdsubsys.log
I am able to see the service details tab content now . I have also updated the sudoers file with below entries .
# NEEDED TO ALLOW NAGIOS TO CHECK SERVICE STATUS
Defaults:nagios !requiretty
Defaults:apache !requiretty
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_init_service
nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_linux_stats.pl
# ASTERISK-SPECIFIC CHECKS
# NOTE: You can uncomment the following line if you are monitoring Asterisk locally
#nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_asterisk_sip_peers.sh, /usr/local/nagios/libexec/nagisk.pl, /usr/sbin/asterisk
User_Alias NAGIOSXI=nagios
User_Alias NAGIOSXIWEB=apache
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/nagios checkconfig
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/ndo2db status
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd start
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd stop
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd restart
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd reload
NAGIOSXI ALL = NOPASSWD:/etc/init.d/npcd status
NAGIOSXI ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/upgrade_to_latest.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/change_timezone.sh
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
NAGIOSXI ALL = NOPASSWD:/usr/local/nagiosxi/scripts/reset_config_perms.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/messages
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/httpd/error_log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/tail -100 /var/log/mysqld.log
NAGIOSXIWEB ALL = NOPASSWD:/usr/bin/php /usr/local/nagiosxi/html/includes/components/autodiscovery/scripts/autodiscover_new.php *
NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/repair_databases.sh
NAGIOSXIWEB ALL = NOPASSWD:/usr/local/nagiosxi/scripts/manage_services.sh *
Regards,
Ranjit W
Regards,
Ranjit W
Ranjit W
Re: Your session has timed out.
That is good to hear. Can you run the following and post the output?
Code: Select all
grep perfdata /usr/local/nagios/etc/pnp/process_perfdata.cfg
ls -l /usr/local/nagios/var/Be sure to check out our Knowledgebase for helpful articles and solutions!