Nagios-Webinterface nicht mehr verfügbar

Wie sieht es mit diesem Workaround aus?

[quote]Error: Could not stat() command file ‘/var/lib/nagios3/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.

This error is caused by wrong directory permissions, which were set in an update.

The ucr-variable ‘nagios/server/checkexternalcmd’ is already set to yes. Setting this variable again to yes, the permissions are updated correctly.


wrong permissions:
root@ucs-master-412:/var/lib/nagios3/rw# ls -lah
insgesamt 8,0K
drwxr-s— 2 nagios www-data 4,0K Dez 24 23:24 .
drwxr-x— 4 nagios nagios 4,0K Jan 22 07:25 …
prw-rw---- 1 nagios www-data 0 Jan 22 08:06 nagios.cmd

corrected permissions with ucr set nagios/server/checkexternalcmd=‘yes’
root@ucs-master-412:/var/lib/nagios3/rw# ls -lah
insgesamt 8,0K
drwxr-s— 2 nagios www-data 4,0K Dez 24 23:24 .
drwxr-x— 4 nagios www-data 4,0K Jan 22 08:25 …
prw-rw---- 1 nagios www-data 0 Jan 22 08:06 nagios.cmd[/quote]

@lahmizzar Seltsam.

@Thorp-Jansen Scheint auch zu funktionieren.

Mastodon