Code: Select all
sestatusCode: Select all
setenforce 0Code: Select all
sestatusCode: Select all
setenforce 0Did you check the things in jolson's post?pccwglobalit wrote:hi any updates on this? thanks
Code: Select all
systemctl status crondCode: Select all
chage -l nagiosCode: Select all
tail -n20 /var/log/cron.d/logwe setup the NLS cluster on dec. it was working previously until we add nfs to server and change uid of nagios.Okay, it seems we're at a point where basic troubleshooting isn't leading us down the correct path. I'll need some more information so I better understand your setup.
Some questions I'd like you to answer in a detailed way are as follows:
When was this NLS cluster installed and setup? Was it working previously?
When did this stop working and were there any events that led up to it?
the crond is runningIt looks like commands from the WebGUI are not reaching the cluster. This can mean a variety of things, but I'd like you to try the following:
Make sure cron is running on every server:
Code: Select all
systemctl status crondCode: Select all
chage -l nagiosthe password is setup never expiredReport cron logs to ensure it's functioning:
Code: Select all
Mar 23 01:48:01 nls1-tmh2 CROND[31296]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php jobs > /usr/local/nagioslogserver/var/jobs.log 2>&1)
Mar 23 01:48:01 nls1-tmh2 CROND[31297]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php poller > /usr/local/nagioslogserver/var/poller.log 2>&1)
Mar 23 01:49:01 nls1-tmh2 CROND[31366]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php poller > /usr/local/nagioslogserver/var/poller.log 2>&1)
Mar 23 01:49:01 nls1-tmh2 CROND[31367]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php jobs > /usr/local/nagioslogserver/var/jobs.log 2>&1)
Mar 23 01:50:01 nls1-tmh2 CROND[31540]: (root) CMD (/usr/lib64/sa/sa1 1 1)
Mar 23 01:50:01 nls1-tmh2 CROND[31541]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php jobs > /usr/local/nagioslogserver/var/jobs.log 2>&1)
Mar 23 01:50:01 nls1-tmh2 CROND[31542]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php poller > /usr/local/nagioslogserver/var/poller.log 2>&1)
Mar 23 01:51:01 nls1-tmh2 CROND[31584]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php jobs > /usr/local/nagioslogserver/var/jobs.log 2>&1)
Mar 23 01:51:01 nls1-tmh2 CROND[31585]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php poller > /usr/local/nagioslogserver/var/poller.log 2>&1)
Mar 23 01:52:01 nls1-tmh2 CROND[31654]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php poller > /usr/local/nagioslogserver/var/poller.log 2>&1)
Mar 23 01:52:01 nls1-tmh2 CROND[31655]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php jobs > /usr/local/nagioslogserver/var/jobs.log 2>&1)
Mar 23 01:53:01 nls1-tmh2 CROND[31794]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php poller > /usr/local/nagioslogserver/var/poller.log 2>&1)
Mar 23 01:53:01 nls1-tmh2 CROND[31795]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php jobs > /usr/local/nagioslogserver/var/jobs.log 2>&1)
Mar 23 01:54:01 nls1-tmh2 CROND[31935]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php jobs > /usr/local/nagioslogserver/var/jobs.log 2>&1)
Mar 23 01:54:01 nls1-tmh2 CROND[31936]: (nagios) CMD (/usr/bin/php -q /var/www/html/nagioslogserver/www/index.php poller > /usr/local/nagioslogserver/var/poller.log 2>&1)
Updating Cluster Hosts File
Updating Elasticsearch with instance...
sudo: unknown uid 8005: who are you?
sudo: unknown uid 8005: who are you?
Updating Cluster Hosts File
Updating Elasticsearch with instance...
sudo: unknown uid 8005: who are you?
sudo: unknown uid 8005: who are you?
Code: Select all
usermod -u <UID> nagiosCode: Select all
systemctl restart elasticsearchCode: Select all
systemctl restart logstash