nagios windows directory monitroing question
Hendrik Baecker
b00mer at gmx.net
Thu Apr 7 22:50:09 CEST 2005
Rusty Hall schrieb:
> Quick question I need to monitor a directory on a windows
> server and get notification if there are any files in that directory.
> Currently with NSclient I cant accompish this, does anyone have any
> ideas on how to accomplish this?
>
>
>
> Thanks In Advance
>
> Rusty
>
Hi Rusty,
is it possilbe for you to write a Windoze Script to check if there ist
something in your dir? CMD, Perl, whatever...
Then you can use the NRPE (http://www.nagiosexchange.org/NRPE.77.0.html)
for NT (AFAIK not only NT) for you.
Nagios connect to the NRPE_NT, NRPE executes some local Scripts and
gives the results back to Nagios.
Your self-made check has to answer correctly, read more about writing
own plugins under:
http://nagiosplug.sourceforge.net/developer-guidelines.html
Special:
http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT
http://nagiosplug.sourceforge.net/developer-guidelines.html#RETURNCODES
Hope this helps
Hendrik
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list