Services failed, unable to start nagios nrpe

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiosuser1000
Posts: 29
Joined: Thu Apr 25, 2019 2:04 pm

Services failed, unable to start nagios nrpe

Post by nagiosuser1000 »

Need help with restarting services

session-429258.scope loaded active running Session 429258 of user nagios
session-429259.scope loaded active running Session 429259 of user nagios
session-429260.scope loaded active running Session 429260 of user nagios
session-429262.scope loaded active running Session 429262 of user nagios
session-429263.scope loaded active running Session 429263 of user nagios
session-429265.scope loaded active running Session 429265 of user nagios
● nagios.service loaded failed failed Nagios Core 4.4.3
ndo2db.service loaded active running Nagios Data Out Daemon
● npcd.service loaded failed failed LSB: Nagios NPCD Initscript
● nrpe.service loaded failed failed Nagios Remote Plugin Executor
user-1004.slice loaded active active User Slice of nagios
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Services failed, unable to start nagios nrpe

Post by cdienger »

Is this the same system mentioned in https://support.nagios.com/forum/viewto ... =6&t=53966 ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nagiosuser1000
Posts: 29
Joined: Thu Apr 25, 2019 2:04 pm

Re: Services failed, unable to start nagios nrpe

Post by nagiosuser1000 »

This is happening in nagios xi server
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Services failed, unable to start nagios nrpe

Post by scottwilkerson »

Can you show the output of running the following

Code: Select all

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
nagiosuser1000
Posts: 29
Joined: Thu Apr 25, 2019 2:04 pm

Re: Services failed, unable to start nagios nrpe

Post by nagiosuser1000 »

/usr/local/nagiosxi/scripts/reconfigure_nagios.sh

--- reset_config_perms.sh ------------
> Setting script permissions
> Setting CCM script permissions
> Setting special script permissions
> Setting special component script permissions
> Setting configuration file/directory permissions
> Setting perfdata directory and RRD permissions
> Setting Nagios XI config permissions
> Setting NOM checkpoint user:group permissions
> + Setting Recurring Downtime file user:group permissions
> + Setting BPI configuration file user:group permissions
--------------------------------------

--- ccm_import.php -------------------
> Setting import directory: /usr/local/nagios/etc/import/
> Importing config files into the CCM
No files to import
--------------------------------------

--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------

--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.3
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-01-15
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 417 services.
Checked 69 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 132 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 69 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
> Return Code: 0

Thanks a lot Scott
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Services failed, unable to start nagios nrpe

Post by scottwilkerson »

Did the nagios service restart?

Code: Select all

systemctl status nagios
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
nagiosuser1000
Posts: 29
Joined: Thu Apr 25, 2019 2:04 pm

Re: Services failed, unable to start nagios nrpe

Post by nagiosuser1000 »

systemctl status nagios
● nagios.service - Nagios Core 4.4.3
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2019-05-23 11:57:27 MST; 2h 45min ago
Docs: https://www.nagios.org/documentation
Process: 26173 ExecStart=/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Process: 26168 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=0/SUCCESS)
Main PID: 26175 (nagios)
Tasks: 38
Memory: 42.2M
CGroup: /system.slice/nagios.service
├─26175 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
├─26176 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26177 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26178 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26179 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26180 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26181 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26182 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26183 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26184 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26185 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26186 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26187 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26188 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26189 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26190 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26191 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26192 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26193 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26194 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26195 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26196 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26198 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26199 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26201 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26202 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26203 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26204 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26205 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26206 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26208 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26209 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26210 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26211 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26212 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26213 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─26214 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
└─26263 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

May 23 14:41:12 hostname.usa.sumco.lcl check_nrpe[23710]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
May 23 14:41:13 hostname.usa.sumco.lcl check_nrpe[23727]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
May 23 14:41:25 hostname.usa.sumco.lcl sudo[23857]: nagios : TTY=unknown ; PWD=/tmp ; USER=root ; COMMAND=/us...rond
May 23 14:41:57 hostname.usa.sumco.lcl check_nrpe[24248]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
May 23 14:41:59 hostname.usa.sumco.lcl check_nrpe[24253]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
May 23 14:42:24 hostname.usa.sumco.lcl sudo[24774]: nagios : TTY=unknown ; PWD=/tmp ; USER=root ; COMMAND=/us...sqld
May 23 14:42:56 hostname.usa.sumco.lcl check_nrpe[25161]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
May 23 14:42:57 hostname.usa.sumco.lcl check_nrpe[25165]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
May 23 14:42:57 hostname.usa.sumco.lcl check_nrpe[25171]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
May 23 14:42:59 hostname.usa.sumco.lcl check_nrpe[25180]: Error: (nerrs = 0)(!log_opts) Could not complete SSL h...r=5
Hint: Some lines were ellipsized, use -l to show in full.

Thanks a lot

Thanks a lot
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Services failed, unable to start nagios nrpe

Post by scottwilkerson »

Ok great, the other issue will be handled here
https://support.nagios.com/forum/viewto ... =6&t=53894

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked