Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Miscelaneous

Samba file stat

Author: troy Create in: 07/28/2011 Update in: 11/07/2014
Rating:
Module type : Server plugin


This plugin allows you to determine various properties of a file on a Windows shared drive:
- Existence
- Days since last modified
- Days since last changed (probably not what you want)
- Size in bytes

This can be used, for example, to check that backup jobs have run recently, and that log files are a reasonable size.

Requires perl > 5.10 (or you can rewrite it to use Switch) and the following modules from CPAN:
Getopt::Long
Date::Calc

Included files

  •  
    File: smbstat.pspz Size: 2KiB
    Uploaded in: 03/01/2017
    Description:
  •  
    File: smbstat.pspz2 Size: 2KiB
    Uploaded in: 03/01/2017
    Description: This is the PSPZ2 plugin for the Pandora 5.1SP1 or upper.