Page 1 of 1

Login Problem

Posted: Wed Aug 10, 2011 8:43 am
by mtkaschools
I all of the sudden cannot login to nagios. we have a big display unit in our office as well that shows nagvis, but that too seems to be having issues. We've tried to reboot the nagios server; but we're still unable to login thru the GUI. I can login to the console though.

Please advise...

Re: Login Problem

Posted: Wed Aug 10, 2011 9:05 am
by lmiltchev
Run in terminal as root:

# /usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=<your new password>

Re: Login Problem

Posted: Wed Aug 10, 2011 9:38 am
by mtkaschools
wouldn't that change the password for the root account? I don't want to do that. I somehow can't login as 'nagiosadmin' or any of the other accounts I've created.

Re: Login Problem

Posted: Wed Aug 10, 2011 9:57 am
by agriffin
Is there any free disk space on your XI server? Try logging into your XI server from a console and post the output from running the 'df -h' command.

Re: Login Problem

Posted: Thu Aug 11, 2011 7:36 am
by mtkaschools
It appears that the hard drive is full. How do I clear out some space? What's taking the space?

[root@noc ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 20G 19G 22M 100% /
/dev/sda1 99M 24M 70M 26% /boot
tmpfs 1.5G 0 1.5G 0% /dev/shm

Re: Login Problem

Posted: Thu Aug 11, 2011 8:59 am
by nscott
Well, you can try clearing your /tmp directory for a quick fix, but the Nagios will keep accruing more and more data. The performance data and backups are probably taking up most of the space. Are you on a virtual machine? If you are we have a doc written up for that:

http://assets.nagios.com/downloads/nagi ... M_Disk.pdf

Re: Login Problem

Posted: Thu Aug 11, 2011 10:39 pm
by mtkaschools
I ended up just converting the current machine into a new machine with more disk space.

Re: Login Problem

Posted: Fri Aug 12, 2011 9:04 am
by lmiltchev
I'm glad you got your problem solved.