Unrecognized external command -> START_EXECUTING_SVC_CHECKS
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Unrecognized external command -> START_EXECUTING_SVC_CHECKS
I have no idea what I did.
How do I fix this:
Warning: Unrecognized external command -> START_EXECUTING_SVC_CHECKS
That is nagios.log entry for when I click to start active checks in the GUI.
I had stopped Active Service checks and Active Host checks so I could do a backup_xi. I do that so when I do restore_xi the system comes up quietly. Not trying to fire off thousands of tests the second it wakes up. But for some reason I cannot make the system start running service checks. Or host checks.
Anyone have a solution? I was going to move to a new version. But until this works again I cannot.
Thanks
Steve B
How do I fix this:
Warning: Unrecognized external command -> START_EXECUTING_SVC_CHECKS
That is nagios.log entry for when I click to start active checks in the GUI.
I had stopped Active Service checks and Active Host checks so I could do a backup_xi. I do that so when I do restore_xi the system comes up quietly. Not trying to fire off thousands of tests the second it wakes up. But for some reason I cannot make the system start running service checks. Or host checks.
Anyone have a solution? I was going to move to a new version. But until this works again I cannot.
Thanks
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
@SteveBeauchemin, Please open the /usr/local/nagios/etc/nagios.cfg file and make sure that these directives are set to 1:
Then restart nagios with:execute_service_checks=1
execute_host_checks=1
Let me know if this works for you.service nagios restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
I verified that those 2 settings are as requested. No change needed.
Using https://assets.nagios.com/downloads/nag ... mand_id=41
I made the script to test
Using tail -f nagios.log when I run the test I see this...
[1544819232] Warning: Unrecognized external command -> START_EXECUTING_SVC_CHECKS
Code: Select all
execute_host_checks=1
execute_service_checks=1
I made the script to test
Code: Select all
#!/bin/sh -x
# This is a sample shell script showing how you can submit the START_EXECUTING_SVC_CHECKS command
# to Nagios. Adjust variables to fit your environment as necessary.
now=`date +%s`
commandfile='/usr/local/nagios/var/rw/nagios.cmd'
/bin/printf "[%lu] START_EXECUTING_SVC_CHECKS\n" $now > $commandfile
[1544819232] Warning: Unrecognized external command -> START_EXECUTING_SVC_CHECKS
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
@SteveBeauchemin, What version of XI are you running?
Please go to XI web interface, click on the Admin tab and in the left column select "Monitoring Engine Status". and then click on green checkmarks next to the Active Host Checks and Active Service Checks.
Please go to XI web interface, click on the Admin tab and in the left column select "Monitoring Engine Status". and then click on green checkmarks next to the Active Host Checks and Active Service Checks.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
That is the problem.
When I click that the nagios.log generates the message.
Steve B
When I click that the nagios.log generates the message.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
@SteveBeauchemin, First, please backup your XI server(important):
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Or create a snapshot of the VM.
Then download the tarball for the same version of XI that you have from:
https://www.nagios.com/downloads/nagios ... -releases/
For example:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Or create a snapshot of the VM.
Then download the tarball for the same version of XI that you have from:
https://www.nagios.com/downloads/nagios ... -releases/
For example:
Untar the archive and run the command to recompile core:cd /tmp/
wget https://assets.nagios.com/downloads/nag ... 4.0.tar.gz
tar xzf xi-5.4.0.tar.gz
cd /tmp/nagiosxi/subcomponents/nagioscore/
./upgrade
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
Thank you for the information. I will try it tomorrow and post back.
Much appreciated.
Steve B
Much appreciated.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
@SteveBeauchemin, Sounds good.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
Must be an OS issue. Other weird things are not working, like the 'nice' command.
I did the upgrade you suggested and have a new nagios binary in place. The problem still happens.
Please close this as I will be migrating to a new host and then upgrading to the latest.
I am abandoning the bad host.
Thanks
Steve B
I did the upgrade you suggested and have a new nagios binary in place. The problem still happens.
Please close this as I will be migrating to a new host and then upgrading to the latest.
I am abandoning the bad host.
Thanks
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unrecognized external command -> START_EXECUTING_SVC_CHE
@ SteveBeauchemin, That is weird. Sounds good, I will be closing the thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.