there's your problem, the nagios user cannot see this filefsodah wrote:Code: Select all
ls: cannot access /home/pons/file.txt: Permission denied
What if you run this as root, what are the permissions?
Code: Select all
ls -l /home/pons/file.txtthere's your problem, the nagios user cannot see this filefsodah wrote:Code: Select all
ls: cannot access /home/pons/file.txt: Permission denied
Code: Select all
ls -l /home/pons/file.txtCode: Select all
logout
[root@nagios ~]# ls -l /home/pons/file.txt
-rw-r--r-- 1 pons pons 2 Aug 24 08:45 /home/pons/file.txt
[root@nagios ~]#
Is it working now as expected?fsodah wrote:I see its a permission problemCode: Select all
logout [root@nagios ~]# ls -l /home/pons/file.txt -rw-r--r-- 1 pons pons 2 Aug 24 08:45 /home/pons/file.txt [root@nagios ~]#
Great!fsodah wrote:100% ..... problem solved many thanks ... close the ticket.