Page 1 of 1

AIX Log Files check problem

Posted: Wed Dec 16, 2015 9:43 am
by nidab
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

Re: AIX Log Files check problem

Posted: Wed Dec 16, 2015 10:51 am
by rkennedy
Can you please clarify what you're attempting to do? Are you following a set of instructions from somewhere?

Re: AIX Log Files check problem

Posted: Thu Dec 17, 2015 4:01 am
by nidab
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

Re: AIX Log Files check problem

Posted: Thu Dec 17, 2015 1:19 pm
by rkennedy
I'm not sure how this plugin works exactly, can you create a check_logfiles folder and assign the appropriate permissions?

Re: AIX Log Files check problem

Posted: Fri Dec 18, 2015 4:35 pm
by nidab
ofcourse i did it

--------------------------

star21:/tmp#ls -l

drwxrwxrwx 2 root system 256 Dec 16 16:36 check_logfiles

Re: AIX Log Files check problem

Posted: Mon Dec 21, 2015 12:14 pm
by tmcdonald
Was the plugin able to write to that directory after it was created?

Re: AIX Log Files check problem

Posted: Thu Dec 24, 2015 2:39 am
by nidab
no still i am getting same error.

Re: AIX Log Files check problem

Posted: Mon Dec 28, 2015 11:17 am
by hsmith
Can you send us a link to where you found the plugin? I would like to review it.