Monitor Remote Folder for files

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
masanperunovic
Posts: 1
Joined: Wed Jul 03, 2019 7:12 am

Monitor Remote Folder for files

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitor Remote Folder for files

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked