Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_share

Rating
0 votes
Favoured:
0
Current Version
2.5
Last Release Date
2012-05-20
Compatible With
  • Nagios 3.x
Hits
103985
Files:
FileDescription
bin.zipcontains the binaries
source.zipcontains the source file
pnp4nagios.ziptemplate for pnp4nagios
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
check_share
This plug-in allows Nagios to check if a network share works well simulating user's behavior. It is ideal to monitor shares in a Windows enviornment (with a domain account) easily.
This plug-in allows Nagios to check if a network share works well simulating user's behavior. To do that this plug-in uses an embedded smb client.

The package bin.zip contains the binaries (jar files), the package source.zip contains the source code and the package pnp4nagios.zip contains the template for pnp4nagios 0.6.x

To function properly it needs java (7 or higher). It also needs the Java library jcifs (http://jcifs.samba.org/) that contains the embedded smb client. I included it in the packages.


How it works:

The plug-in creates a text file into the remote share, it writes a string (with the current date time) into that file and finally It deletes the file from the remote share. The size of the text file is about 40 Bytes.
The plug-in returns the performance data with the transfer time. If something goes wrong the plug-in returns a critical state, otherwise it returns ok, warning or critical state according to the thresholds that you have set.

This plug-in is ideal to monitor shares in a Windows enviornment (with a domain account) easily.

You can find instructions on how to install the plug-in (and how to configure Nagios) in the README.txt (included in the packages).

EDIT ON 05/20/2011: Now I use the Jcifs 1.3.17 that solves the socket timeout bug. I've add warning and critical thresholds. I redesigned the file transfer. I've added a template for pnp4nagios.

For any questions or concerns please contact me: http://www.alan-pipitone.com/contact.php

---

Alan Pipitone.