Page 1 of 1

Folder Watch Wizard creates service, with UNKNOWN results

Posted: Mon Mar 13, 2017 1:39 pm
by dlukinski
Hi XI Support

We are testing Folder Watch (SSH) without a success so far. Wizard successfully verifies SSH, but only asks for username (no password?) and results in UNKNOWN error:

UNKNOWN ERROR - execution of ssh [email protected] ls -lA /mnt/tc-msgbroker/prontowave/MotorTestData/Navision -R resulted in an error 65280 -

Here is a command (we are checking Linux server, SuSe to be exact)
check_file_service!-C 'ssh nagios@$HOSTADDRESS$ ls -lA /mnt/tc-msgbroker/prontowave/MotorTestData/Navision' -F '[^\0]+' -r! -w 20 -c 30!!!!!!

How to fix this please?

Re: Folder Watch Wizard creates service, with UNKNOWN result

Posted: Mon Mar 13, 2017 2:46 pm
by tgriep
When the command runs on the remote system, it runs it as the nagios user.
The nagios user needs to be able to read that final directory on the server and I am guessing that it does not.

Code: Select all

/mnt/tc-msgbroker/prontowave/MotorTestData/Navision
Does the nagios user have permissions to access that folder?

Re: Folder Watch Wizard creates service, with UNKNOWN result

Posted: Thu Jan 11, 2018 4:47 pm
by dlukinski
tgriep wrote:When the command runs on the remote system, it runs it as the nagios user.
The nagios user needs to be able to read that final directory on the server and I am guessing that it does not.

Code: Select all

/mnt/tc-msgbroker/prontowave/MotorTestData/Navision
Does the nagios user have permissions to access that folder?
Let's close this one (although it was not resolved or operational)