Re-active Nagios License

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Re-active Nagios License

Post 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
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Re-active Nagios License

Post by adm.trunglv »

This is cmd.txt file

tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txt
You do not have the required permissions to view the files attached to this post.
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Re-active Nagios License

Post by adm.trunglv »

Sorry, i re uploaded the reconfig.ext file.
:)
You do not have the required permissions to view the files attached to this post.
Last edited by slansing on Thu Oct 10, 2013 10:25 am, edited 1 time in total.
Reason: Please edit your previous post to add information/questions if you are the last poster.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Re-active Nagios License

Post 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.
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Re-active Nagios License

Post 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
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Re-active Nagios License

Post 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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Re-active Nagios License

Post 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 :)
You do not have the required permissions to view the files attached to this post.
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Re-active Nagios License

Post by adm.trunglv »

... and ...
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Re-active Nagios License

Post 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.
adm.trunglv
Posts: 16
Joined: Mon Jan 16, 2012 3:00 am

Re: Re-active Nagios License

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