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

Posted on 2011-05-12
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

    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

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    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.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now