Page 3 of 4
Re: Waiting for configuration verification................
Posted: Mon Sep 28, 2015 10:01 am
by scottwilkerson
Is crond running?
Is the nagios user expired?
Re: Waiting for configuration verification................
Posted: Tue Sep 29, 2015 5:56 am
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
Re: Waiting for configuration verification................
Posted: Tue Sep 29, 2015 12:00 pm
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.
Re: Waiting for configuration verification................
Posted: Wed Sep 30, 2015 12:15 am
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
Re: Waiting for configuration verification................
Posted: Wed Sep 30, 2015 12:28 am
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
Re: Waiting for configuration verification................
Posted: Wed Sep 30, 2015 1:22 pm
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.
Re: Waiting for configuration verification................
Posted: Mon Oct 05, 2015 3:17 am
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
Re: Waiting for configuration verification................
Posted: Mon Oct 05, 2015 9:56 am
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.
Re: Waiting for configuration verification................
Posted: Tue Oct 06, 2015 1:43 am
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
Re: Waiting for configuration verification................
Posted: Tue Oct 06, 2015 2:26 pm
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?