Waiting for configuration verification................

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Waiting for configuration verification................

Post by scottwilkerson »

Is crond running?

Code: Select all

service crond status
Is the nagios user expired?

Code: Select all

chage -l nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Waiting for configuration verification................

Post by ranjitw »

Hi,

Below is the output. Cron is running and the Nagios user is not expired.

service crond status
crond (pid 2834) is running...


chage -l nagios
Last password change : Aug 04, 2015
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7

Regards,
Ranjit W
Regards,
Ranjit W
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Waiting for configuration verification................

Post by lmiltchev »

Can you run the following commands and show the output?

Code: Select all

service crond restart
tail -50 /var/log/cron
ps -ef | grep cron
Also, post the "/etc/sudoers" file. Hide sensitive info.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Waiting for configuration verification................

Post by ranjitw »

Hi lmiltchev ,

Thanks for your response .

Below is the requested information:

service crond restart
Stopping crond: [ OK ]
Starting crond: [ OK ]

Attached the cronlog for command tail -50 /var/log/cron

ps -ef | grep cron
root 16630 1 0 07:08 ? 00:00:00 crond
root 16653 16569 0 07:08 pts/0 00:00:00 grep cron

Attached sudoers file with nagios entires which are currently present in /etc/sudoers

Please review and provide your inputs.

Regards,
Ranjit W
You do not have the required permissions to view the files attached to this post.
Regards,
Ranjit W
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Waiting for configuration verification................

Post by ranjitw »

Hi lmiltchev,

Based on the tail -50 /var/log/cron output nagios directory under /tools is missing .

I have now created nagios folder under /tools and changed the permission of folder to chown nagios:nagios nagios and restarted the nagios service .

Post doing this change when I clicked Apply configuration it working and I observed cookies.txt file being created under the /tools/nagios folder .

May I know what is the use of this directory ? I have performed installation Nagios manually did I miss something during the installation time ?

Is this directory created by default during the installation?

Many thanks for your help . Please provide your inputs.

Regards,
Ranjit W
Regards,
Ranjit W
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Waiting for configuration verification................

Post by jomann »

It looks like we didn't get the actual apply configuration output when you ran the:

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

command. You'll need to run that command and do the apply config from the web GUI while it's running. It won't be too long of a text file but it will let us know what is causing the cmdsubsys to not return.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Waiting for configuration verification................

Post by ranjitw »

Hi lmiltchev ,

The issue got resolved. If possible please answer my queries.

You may now close the post.

Many thanks,

Regards,
Ranjit W
Regards,
Ranjit W
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Waiting for configuration verification................

Post by tmcdonald »

ranjitw wrote:The issue got resolved. If possible please answer my queries.

You may now close the post.
We can't do both :)

Please provide the full path to the directory you have questions about - there is no /tools/nagios directory that I am aware of.
Former Nagios employee
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: Waiting for configuration verification................

Post by ranjitw »

Hi tmcdonald,

Below is the full path of the directory :

/tools/nagios

My query is nagios directory is not present under /tools I want to know why this is not created ? As when I performed installation I have not come across any error and installation is completed without errors (install.log).

Is this folder creation not part of installation ?

Regards,
Ranjit W
Regards,
Ranjit W
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Waiting for configuration verification................

Post by hsmith »

I've never seen anything make the /tools/nagios directory. Doing some searching around I wasn't really able to find anything regarding this as well. Can you elaborate on exactly what this directory is or what you're expecting it to be?
Former Nagios Employee.
me.
Locked