Page 1 of 1

Issue with nagios GUI

Posted: Thu May 15, 2025 11:48 pm
by doylehinojosa
Hello,
I keep getting the same error message. I have tried several different methods, and nothing seems to work. The message on the nagios GUI is:

" Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!"

This happens every time I try to do something such as send a customer service notification. Does anyone have any advice as to how to fix this?

Re: Issue with nagios GUI

Posted: Fri May 16, 2025 9:17 am
by lgute
Hi @doylehinojosa,

Thanks for reaching out.

Check if the nagios user is a member of the nagios and nagcmd.

Code: Select all

groups nagios
If the output looks like this, the groups assignment should be ok.

Code: Select all

nagios : nagios nagcmd
If one or both groups are missing, run this command.

Code: Select all

usermod -a -G nagcmd nagios
If these suggestions do not help, this thread has some other triage steps.