We have a number of cases where being able to monitor a directory for the number of files and alerting if over certain thresholds would be very very useful...
Extensions on this basic idea could include:
a) number of files matching an reg expression filter
setting the polling interval (x minutes, or hours)
c) set a 'low' threshold, and 'elevated' threshold, and a 'critical' threshold
e) set actions against thresholds
f) monitor multiple directories each with their own criteria
If anyone know how this could be done with the existing Pulseway agent.. please let me know (and I'm not a programmer so rolling my own isn't really an option I'm afraid..)