Monitoring file system and cleanup with puppet

41 views
Skip to first unread message

moons...@gmail.com

unread,
Feb 17, 2016, 7:59:29 AM2/17/16
to Puppet Users
Hi All,

Is there any way we can monitor the file system (disk usage percentage) and if it cross >90% run a particular script to purge it without using nagios in puppet?



Thanks,

Lowe Schmidt

unread,
Feb 17, 2016, 8:22:52 AM2/17/16
to puppet...@googlegroups.com
No, and you should probably not use Puppet to try and solve that kind of problem.

You could probably write a script and run it from cron if you need a quick ad hoc solution.

--
Lowe Schmidt | +46 723 867 157

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/128d712f-fad5-4eb7-86f9-89c9f3e64c79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

moons...@gmail.com

unread,
Feb 17, 2016, 10:37:07 AM2/17/16
to Puppet Users
Please let me know what all the things we can monitor with puppet. Other than automation of deployments.


Thanks,

Peter Kristolaitis

unread,
Feb 17, 2016, 11:00:38 AM2/17/16
to puppet...@googlegroups.com
Puppet is not a monitoring tool, it's a configuration tool.

It can do some things that might, at first glance, look like monitoring (i.e. check current system state), but this is only as a side effect of that information being necessary to confirm that the configuration is correct.
Reply all
Reply to author
Forward
0 new messages