[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Use nagios to check if a file exists on a Windows server

Posted on 2011-05-12
Medium Priority
Last Modified: 2012-05-11
I am trying to find out how to get Nagios to monitor a directory on a Windows server and alert if a particular file appears there.  I need it to continue to alert until some removes the file.

What I've looked at so far is either over complicated, or linux only.  

I'd be grateful for advice on the best way to achieve this.

Question by:Interlink_IT
LVL 38

Accepted Solution

wesly_chen earned 375 total points
ID: 35747821
There are a couple existing plugin in nagios exchange, here is one of them:

This plugin is written in VB and run on Windows machine. Then report to the Nagios server via NRPE.
Most of system resource check like CPU, memory usage, swap usage, disk usage are run locally (same on Unix/Linux machines) and report via NRPE.

Here is winrpe package
or NSCLient++ from

Author Closing Comment

ID: 35794570
I had seen that, so I work with that.  I was hoping there was a more specific plugin for the job.
Thank you.

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question