Your session has timed out.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Your session has timed out.

Post by ranjitw »

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
Regards,
Ranjit W
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Your session has timed out.

Post by tmcdonald »

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
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post by ranjitw »

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.
You do not have the required permissions to view the files attached to this post.
Regards,
Ranjit W
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Your session has timed out.

Post by tmcdonald »

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
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post by ranjitw »

Hi tmcdonald,

I have done reboot of the machine but the problem still exists. :(

Regards,
Ranjit
Regards,
Ranjit W
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Your session has timed out.

Post by lmiltchev »

Can you PM me (or any other tech on the Nagios Support team) the profile.zip file?

Admin->System Profile->Download Profile
Be sure to check out our Knowledgebase for helpful articles and solutions!
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post by ranjitw »

Hi lmiltchev ,

I have sent a PM to you the profile.zip file. Please review and provide your comments.

Regards,
Ranjit
Regards,
Ranjit W
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Your session has timed out.

Post by tgriep »

Thanks for the Profile.
Couple of things. It looks like cron isn't running so can you start it by running the following?

Code: Select all

service crond start
Also, it looks like the system isn't processing the performance data, can you run the following and post the output?

Code: Select all

tail -50 /usr/local/nagios/var/perfdata.log
tail /usr/local/nagiosxi/var/cmdsubsys.log
Now, lets restart some processes to see if the performance data starts to process.

Code: Select all

service npcd stop
service nagios stop
killall -9 nagios
service npcd start
service nagios start
Wait an hour or so for the performance data to get processed and try to apply the config.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Your session has timed out.

Post by ranjitw »

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
Regards,
Ranjit W
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Your session has timed out.

Post by tgriep »

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!
Locked