Hello,
Can you help me please.
Why i'm getting this error.
CRITICAL - (1 errors) - cannot write status file /tmp/check_logfiles/check_logfiles._var_log_syslog.out.messages! check your filesystem (permissions/usage/integrity) and disk devices
tag messages CRITICAL
cannot write status file /tmp/check_logfiles/check_logfiles._var_log_syslog.out.messages! check your filesystem (permissions/usage/integrity) and disk devices
--------------------------
star21:/tmp#ls -l
drwxrwxrwx 2 root system 256 Dec 16 16:36 check_logfiles
AIX Log Files check problem
Re: AIX Log Files check problem
Can you please clarify what you're attempting to do? Are you following a set of instructions from somewhere?
Former Nagios Employee
Re: AIX Log Files check problem
i am using AIX Log Files check
$ check_nrpe -H 'star21 -n -u -t 60 -c check_aix_logfiles -a '-f /opt/nagios/libexec/check_logfiles.cfg'
MONITORED BY: TTFKM-SLAVE
RETURN CODE: 2 (CRITICAL)
OUTPUT:
CRITICAL - (1 errors) - cannot write status file /tmp/check_logfiles/check_logfiles._var_log_syslog.out.messages! check your filesystem (permissions/usage/integrity) and disk devices
tag messages CRITICAL
cannot write status file /tmp/check_logfiles/check_logfiles._var_log_syslog.out.messages! check your filesystem (permissions/usage/integrity) and disk devices
$ check_nrpe -H 'star21 -n -u -t 60 -c check_aix_logfiles -a '-f /opt/nagios/libexec/check_logfiles.cfg'
MONITORED BY: TTFKM-SLAVE
RETURN CODE: 2 (CRITICAL)
OUTPUT:
CRITICAL - (1 errors) - cannot write status file /tmp/check_logfiles/check_logfiles._var_log_syslog.out.messages! check your filesystem (permissions/usage/integrity) and disk devices
tag messages CRITICAL
cannot write status file /tmp/check_logfiles/check_logfiles._var_log_syslog.out.messages! check your filesystem (permissions/usage/integrity) and disk devices
Re: AIX Log Files check problem
I'm not sure how this plugin works exactly, can you create a check_logfiles folder and assign the appropriate permissions?
Former Nagios Employee
Re: AIX Log Files check problem
ofcourse i did it
--------------------------
star21:/tmp#ls -l
drwxrwxrwx 2 root system 256 Dec 16 16:36 check_logfiles
--------------------------
star21:/tmp#ls -l
drwxrwxrwx 2 root system 256 Dec 16 16:36 check_logfiles
Re: AIX Log Files check problem
Was the plugin able to write to that directory after it was created?
Former Nagios employee
Re: AIX Log Files check problem
no still i am getting same error.
Re: AIX Log Files check problem
Can you send us a link to where you found the plugin? I would like to review it.
Former Nagios Employee.
me.
me.