Page 2 of 3

Re: Re-active Nagios License

Posted: Wed Oct 09, 2013 11:24 am
by slansing
You are having DB login issues please run the following and send us the txt files:

Code: Select all

 cd /usr/local/nagiosxi/scripts
 ./reconfigure_nagios.sh &> reconfig.txt

Code: Select all

 tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txt

Re: Re-active Nagios License

Posted: Wed Oct 09, 2013 8:23 pm
by adm.trunglv
This is cmd.txt file

tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txt

Re: Re-active Nagios License

Posted: Thu Oct 10, 2013 3:01 am
by adm.trunglv
Sorry, i re uploaded the reconfig.ext file.
:)

Re: Re-active Nagios License

Posted: Thu Oct 10, 2013 10:43 am
by slansing
Can you send a screenshot of Configure > CCM > Core Config Manager > Config Manager Settings?

Are you using a proxy? Was this a fresh install? Did you add any users or install mysql prior to installing? Or was it a non minimal installation of the OS?

Also, can you open:

Code: Select all

/usr/local/nagiosxi/scripts/restart_nagios_with_export.sh
And move the the line that says:

Code: Select all

./nom_create_nagioscore_checkpoint.sh
And edit it to this:

Code: Select all

./nom_create_nagioscore_checkpoint.sh > /dev/null 2>&1 &
Save that file, and try running:

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> reconfig.txt
Send the output again please.

Re: Re-active Nagios License

Posted: Thu Oct 10, 2013 8:54 pm
by adm.trunglv
Hi Slansing,
Yeah, pls see the screenshot of Config Manager Settings
First, installed NagiosXi with version of R2.4 on this machine (a trial version) and it worked OK.
Then i uninstalled R2.4 then reinstalled with verision 1.6. It worked OK. And i upgraded to R.4 after activating. And i had this error.

This is nagios_with_export.sh file at the default state

# Make a new NOM checkpoint
./nom_create_nagioscore_checkpoint.sh > /dev/null 2>&1 &

exit 0

# There was a problem with the config, so restore older config from last NOM checkpoint


Please also see reconfig.txt file in the attached files

Many thanks Slansing,


Trung Le Viet

Re: Re-active Nagios License

Posted: Fri Oct 11, 2013 12:02 pm
by sreinhardt
Per your config apply, it looks like you have wr1.han.migrationexpert.com referencing a hostgroup "Cisco Devices" that does not exist. Does that host or a template on that host, have a reference to Cisco Devices?

Re: Re-active Nagios License

Posted: Sun Oct 13, 2013 7:41 am
by adm.trunglv
Hi all,
pls see the hosts, hostgroup files for my Nagiosxi in the attached files.
i also attached 03 files which illustrate steps for creating a new hotsgroup of Test01 and a configuration snapshot.

Thank you very much :)

Re: Re-active Nagios License

Posted: Sun Oct 13, 2013 7:43 am
by adm.trunglv
... and ...

Re: Re-active Nagios License

Posted: Mon Oct 14, 2013 10:20 am
by slansing
Please do not double post, we have mentioned this in the past.

Navigate to Configure > CCM > Tools > Write Config Files, and click the buttons from top to bottom, wait for text to appear from each before running the next. When you hit Verify it should show you where your configuration errors are that you need to fix.

Re: Re-active Nagios License

Posted: Mon Oct 14, 2013 9:28 pm
by adm.trunglv
Thanks slansing,
I reinstalled NagiosXi with version of 1.6, i re-actived succesfully. And i made a backup also. I will try to upgrade to 2.4. If this problem still happen, i will follow your instruction: Configure > CCM > Tools > Write Config Files. I'll be back soon.

Many thanks you all for your supports :)

Trung Le Viet