Hi Good Morning,
Please check the below output.
tail -50 /var/log/cron
Nov 7 09:35:01 njbbngeoxp3v CROND[23734]: (stdsmont) CMD (/opt/stdsmont/bin/heartbeat.pl > /dev /null 2>&1)
Nov 7 09:35:01 njbbngeoxp3v CROND[23736]: (stdsmont) CMD (/opt/stdsmont/agent/linux/proc_mon/ch eck_hungproc.pl > /dev/null 2>&1)
Nov 7 09:35:01 njbbngeoxp3v CROND[23735]: (stdsmont) CMD (/opt/stdsmont/bin/checkstdsmont.pl > /dev/null 2>&1)
Nov 7 09:35:01 njbbngeoxp3v crontab[23754]: (stdsmont) LIST (stdsmont)
Nov 7 09:35:01 njbbngeoxp3v crond[23717]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23721]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23720]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23717]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23716]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23719]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23721]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23720]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23725]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23724]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23718]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23719]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23722]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23716]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23723]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23725]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23724]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23722]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23718]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:01 njbbngeoxp3v crond[23723]: (nagios) FAILED to authorize user with PAM (Permissio n denied)
Nov 7 09:35:40 njbbngeoxp3v crond[30411]: (CRON) INFO (Shutting down)
Nov 7 09:35:40 njbbngeoxp3v crond[23964]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 46% if used.)
Nov 7 09:35:40 njbbngeoxp3v crond[23964]: (CRON) INFO (running with inotify support)
Nov 7 09:35:40 njbbngeoxp3v crond[23964]: (CRON) INFO (@reboot jobs will be run at computer's s tartup.)
Nov 7 09:35:59 njbbngeoxp3v crond[23964]: (CRON) INFO (Shutting down)
Nov 7 09:35:59 njbbngeoxp3v crond[23987]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 27% if used.)
Nov 7 09:35:59 njbbngeoxp3v crond[23987]: (CRON) INFO (running with inotify support)
Nov 7 09:35:59 njbbngeoxp3v crond[23987]: (CRON) INFO (@reboot jobs will be run at computer's s tartup.)
Nov 7 09:36:01 njbbngeoxp3v crond[23992]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:36:01 njbbngeoxp3v crond[23997]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:36:01 njbbngeoxp3v crond[23994]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:36:01 njbbngeoxp3v crond[23995]: (nagios) PAM ERROR (Permission denied)
Nov 7 09:36:01 njbbngeoxp3v crond[23997]: (nagios) FAILED to authorize user with PAM (Permissio
su - nagios
Last login: Tue Nov 6 17:19:08 EST 2018 on pts/3
-bash-4.2$ /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website:
https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 13 services.
Checked 3 hosts.
Checked 12 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 124 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 3 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
-bash-4.2$ /usr/local/nagiosxi/scripts/reconfigure_nagios.sh
URL:
http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies
http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=4RW8B4BVjbWD' -O nagiosql.login--2018-11-07 09:37:07--
http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.login’
[ <=> ] 37,862 --.-K/s in 0.03s
2018-11-07 09:37:08 (1.28 MB/s) - ‘nagiosql.login’ saved [37862]
LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL:
http://localhost/nagiosxi/includes/components/ccm/
Array
(
)
RESETTING PERMS
URL:
http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies
http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=4RW8B4BVjbWD' -O nagiosql.login--2018-11-07 09:37:08--
http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.login’
[ <=> ] 37,862 --.-K/s in 0.02s
2018-11-07 09:37:09 (2.16 MB/s) - ‘nagiosql.login’ saved [37862]
LOGIN SUCCESSFUL!
URL:
http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies
http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'backend=1&cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2018-11-07 09:37:09--
http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘nagiosql.export.monitoring’
[ <=> ] 22,065 --.-K/s in 0.02s
2018-11-07 09:37:09 (873 KB/s) - ‘nagiosql.export.monitoring’ saved [22065]
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL
Website:
https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 13 services.
Checked 3 hosts.
Checked 12 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 124 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 3 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: root
Password:
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
==== AUTHENTICATION FAILED ===
Failed to restart nagios.service: Access denied
See system logs and 'systemctl status nagios.service' for details.