getting blank availability reports
-
pratik.patel
- Posts: 77
- Joined: Wed Apr 19, 2017 10:51 am
getting blank availability reports
getting blank availability reports
You do not have the required permissions to view the files attached to this post.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: getting blank availability reports
Those look like dashlets to me. Can you confirm that when you go directly to the report it is also blank?
Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
-
pratik.patel
- Posts: 77
- Joined: Wed Apr 19, 2017 10:51 am
Re: getting blank availability reports
I tried to reinstall nagiosxi and its not getting install now.
I have PM you the install.log file
I have PM you the install.log file
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: getting blank availability reports
Did you try to install over the top of the old one? That is not going to work. If you think there was a component missing, you could run ./upgrade instead of ./fullinstall
Your install.log says you can't log into the nagiosql database. If you look in your /usr/local/nagiosxi/html/config.inc.php you will be able to see the password for that database. You could try logging in from the command line to see if that password is accurate. If not, you can change it by logging in as the mysql root user. The default password for the root account is nagiosxi.
Additionally, what's the output of the following?
It's possible you are out of space.
Please run through https://assets.nagios.com/downloads/nag ... tabase.pdf and report any errors. If you stop at any point, please know at which point you stop.
If the repair script and other instructions in the document do not work, please continue.
Regarding the instructions below, if you do not have killall, you can install it via the following command:
yum install psmisc
If psmisc is not in your repos, then instead you can check to make sure nagios is not running with
ps -aef | grep nagios
If that document does not resolve your issue, please run the following commands in order and report any errors (use systemctl if you have it):
Also, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Your install.log says you can't log into the nagiosql database. If you look in your /usr/local/nagiosxi/html/config.inc.php you will be able to see the password for that database. You could try logging in from the command line to see if that password is accurate. If not, you can change it by logging in as the mysql root user. The default password for the root account is nagiosxi.
Additionally, what's the output of the following?
Code: Select all
df -i
df -hPlease run through https://assets.nagios.com/downloads/nag ... tabase.pdf and report any errors. If you stop at any point, please know at which point you stop.
If the repair script and other instructions in the document do not work, please continue.
Regarding the instructions below, if you do not have killall, you can install it via the following command:
yum install psmisc
If psmisc is not in your repos, then instead you can check to make sure nagios is not running with
ps -aef | grep nagios
If that document does not resolve your issue, please run the following commands in order and report any errors (use systemctl if you have it):
Code: Select all
service nagios stop
service ndo2db stop
service mysqld stop
service crond stop
service httpd stop
killall -9 nagios
killall -9 ndo2db
rm -f /usr/local/nagios/var/ndo.sock
rm -f /usr/local/nagios/var/ndo2db.lock
service ndo2db start
service nagios start
service mysqld start
service crond start
service httpd startAfter you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
-
pratik.patel
- Posts: 77
- Joined: Wed Apr 19, 2017 10:51 am
Re: getting blank availability reports
Thank you for the reply.
I rebuild my VM and re-installed everything again. Its working fine now.
I rebuild my VM and re-installed everything again. Its working fine now.
-
pratik.patel
- Posts: 77
- Joined: Wed Apr 19, 2017 10:51 am
Re: getting blank availability reports
I have added user through ldap and he is able to login and view nagiosxi gui but when he goes to nagios core page its says that :
It appears as though you do not have permission to view information for any of the hosts you requested...
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.
It appears as though you do not have permission to view information for any of the hosts you requested...
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: getting blank availability reports
I see you opened a new thread for the LDAP issue. I will go ahead and lock this to keep that all in one place. Opening a new thread is the right thing to do. Thanks for that.