Page 1 of 1

Monitor Remote Folder for files

Posted: Wed Jul 03, 2019 7:17 am
by masanperunovic
Hello,

May I kindly ask you for your support.
I have installed Nagios Core 4.0.4 on Unix and I want to add a plugin now.

I would like to Monitor a folder on shared path

\\servername\Intern\test.txt or
\\IPADDRESS\Intern\test.txt

and in case it exists, I would like to get a warning. In case it does not exists, the service should be green.

Any help would be appreciated.

Re: Monitor Remote Folder for files

Posted: Wed Jul 03, 2019 7:26 am
by scottwilkerson
These are generally Windows UNC paths, and they are mapped after the user logs in. This is almost always problematic, unless you are running the service for your agent as the user that has access to these paths.