Jump to content

Check file age


McHenry

Recommended Posts

We are currently assessing Pulseway and use Nagios presently for monitoring.

A core requirement is to be able to monitor files & folders, we have two requirements:

a) Monitor the files in a folder with the "abc" extension and alert if one exists with a "Created Date" greater than 2 hours ago

b) Monitor the folder "Modified date" and alert if less than 2 hours ago

Is this possible with Pulseway?

Link to comment
Share on other sites

  • 1 month later...
  • Staff

Hi McHenry,

You have two options here:

1. You will need to consider the possibility to create your own plugin to monitor the files. For more details on how to create plugins please check the following link.

2. In order to do this, you will need to create a small program which will check the Uptime and then if the uptime is greater than 90 days, then trigger the notification from the system using this plugin 'Notification Bridge'. Also please check the following article, it will explain to you how to install this plugin.
 

Please let me know how it goes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...