I have been able to login just fine with that password. I changed the password to something without special chars and it looks like everything works just fine now. Kinda stupid of me not to check this before since on the test install i used a similar password without special chars aswell.
As requested i added the locale data aswell below.
Just a small update. So far all seems to go fine. I have added about 30 hosts/hostgroups/services/commands without a hitch. What i still miss however are the hosts itself in the overview.
I am wondering if this is because we use a distributed monitoring solution where the hosts only get shown after the first result is in or if the host should be visible after i added it? Can someone explain this perhaps.
Also the hostgroups etc arent showing up atm. I tried to use the write config files option in the tools menu but i get the error when i try to restart nagios:
Nagios daemon is not running, cannot send restart command!
This is a bit strange since the component status says all is running just fine. Also when i do check the running procs on the server it seems to be running (3rd line):
Just to clarify, when you add objects in the Core Config Manager, this information is stored in a database. When you either Apply Configuration or use the Write Config Tool this new information gets written to config files that Nagios uses to run it's checks and display in the interface. Changes made in the Core Config Manager won't be seen in the interface until the new configs are written and Nagios is restarted.
After trying the command you asked nothing has changed. The host/hostgroups still wont show up in the general screens for it.
On my testing machine where we also had nagiosxi (before we bought it) everything worked fine after applying. The hosts etc also showed up without writing/restarting nagios from the tools menu.
[EDIT]
I just tried a reboot to see if that solves the problem but also here no solution. According to a post on the NagiosQL forum the standard lock file might be a different file. I checked that and it seemed that the standard file that was in the config (nagios.lock) wasn't on the server. When i changed it to the nagios.pid file it still didn't want to restart nagios because the daemon wasn't running.
tail -f /usr/local/nagiosxi/var/cmdsubsys.log | tee output.txt
Then Apply Config. When information has stopped writing out to
the log file (should only be about 5-10 seconds), go ahead and grab that
output.txt file and send it to us.
I have the idea that something went wrong during the install. Even so far that i am wondering if i shouldn't call in support as incident to get it resolved faster (due too the time difference).
You do not have the required permissions to view the files attached to this post.
It's trying to manipulate files in the wrong location. Did you take any steps outside of our documented installation instructions when you installed Nagios xi?
The 3 stand for out website dns which i prefer not to post for obvious reasons
I am guessing the ::1 line is a wrong one although it was like that after install. Only the last line got added.
For the install itself i havent changed a thing. A co-worker who has alot of linux knowledge did some minor changes like installing vim with some preset settings so it was easier working for me but for the rest nothing has changed. If needed i can setup a remote session if that will help solve the problems.
Ok, so first lets check the file locations. I'm wondering if an old nagios.cfg file was used to overwrite what xi uses? Look in /usr/local/nagios/etc/nagios.cfg and verify the following configs.
Was Nagios previously installed on this system from yum? The file locations on your install do not match our installer script, but they're consistent with a yum install of Nagios.
Not sure if it helps either, but here's my /etc/hosts file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
I'm not a big DNS guy, but I would try resetting the first two lines to look like the above settings.
command_file=/usr/local/nagios/var/rw/nagios.cmd -> /var/spool/nagios/cmd/nagios.cmd
debug_file=/usr/local/nagios/var/nagios.debug -> cant find it
log_file=/usr/local/nagios/var/nagios.log -> /usr/local/nagios/var/nagios.log and /var/log/nagios/nagios.log
lock_file=/usr/local/nagios/var/nagios.lock -> cant find it
Everything related to nagios has been installed by the install script. Right after the install i did wget installer, unpack, ./fullinstall. Only afterwards my co-worker changed some settings. I asked him about the dns settings and from what he said they are fine.
Would it help if you have direct contact with the machine in question so you can troubleshoot right on the machine itself?