AIX Log Files check problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nidab
Posts: 4
Joined: Wed Dec 16, 2015 7:04 am

AIX Log Files check problem

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: AIX Log Files check problem

Post by rkennedy »

Can you please clarify what you're attempting to do? Are you following a set of instructions from somewhere?
Former Nagios Employee
nidab
Posts: 4
Joined: Wed Dec 16, 2015 7:04 am

Re: AIX Log Files check problem

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: AIX Log Files check problem

Post by rkennedy »

I'm not sure how this plugin works exactly, can you create a check_logfiles folder and assign the appropriate permissions?
Former Nagios Employee
nidab
Posts: 4
Joined: Wed Dec 16, 2015 7:04 am

Re: AIX Log Files check problem

Post by nidab »

ofcourse i did it

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

star21:/tmp#ls -l

drwxrwxrwx 2 root system 256 Dec 16 16:36 check_logfiles
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: AIX Log Files check problem

Post by tmcdonald »

Was the plugin able to write to that directory after it was created?
Former Nagios employee
nidab
Posts: 4
Joined: Wed Dec 16, 2015 7:04 am

Re: AIX Log Files check problem

Post by nidab »

no still i am getting same error.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: AIX Log Files check problem

Post by hsmith »

Can you send us a link to where you found the plugin? I would like to review it.
Former Nagios Employee.
me.
Locked