Code: Select all
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
Return from whence you cameCode: Select all
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
Return from whence you camerkennedy wrote:What version of Nagios are you running? What OS?
it is running normally as belowhsmith wrote:What is the output of systemctl status nagios
Code: Select all
# systemctl status nagios.service
● nagios.service - LSB: Starts and stops the Nagios monitoring server
Loaded: loaded (/etc/rc.d/init.d/nagios)
Active: active (running) since Thu 2015-12-24 11:33:03 EET; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 31796 ExecStop=/etc/rc.d/init.d/nagios stop (code=exited, status=0/SUCCESS)
Process: 31851 ExecStart=/etc/rc.d/init.d/nagios start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nagios.service
├─31870 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
├─31872 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─31873 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─31874 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─31875 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─31876 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
├─31877 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
└─31881 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Dec 24 11:33:03 nagos-server nagios[31870]: wproc: Successfully registered manager as @wproc with query handler
Dec 24 11:33:03 nagos-server nagios[31851]: Starting nagios: done.
Dec 24 11:33:03 nagos-server nagios[31870]: wproc: Registry request: name=Core Worker 31876;pid=31876
Dec 24 11:33:03 nagos-server nagios[31870]: wproc: Registry request: name=Core Worker 31875;pid=31875
Dec 24 11:33:03 nagos-server systemd[1]: Started LSB: Starts and stops the Nagios monitoring server.
Dec 24 11:33:03 nagos-server nagios[31870]: wproc: Registry request: name=Core Worker 31874;pid=31874
Dec 24 11:33:03 nagos-server nagios[31870]: wproc: Registry request: name=Core Worker 31872;pid=31872
Dec 24 11:33:03 nagos-server nagios[31870]: wproc: Registry request: name=Core Worker 31877;pid=31877
Dec 24 11:33:03 nagos-server nagios[31870]: wproc: Registry request: name=Core Worker 31873;pid=31873
Dec 24 11:33:03 nagos-server nagios[31870]: Successfully launched command file worker with pid 31881what is this issue, and thanks for your help solving it.Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
Can you also post a screenshot showing what you are describing above?in the Nagios localhost server, at nagios core, the HTTP & SSH services notifications are not activated, when trying to activate HTTPS for example from the nagios core webportal i get the following reply,
Code: Select all
ls -l /usr/local/nagios/var/rw