Can we write a script to send an email when resource disk reaches 90% of usage ?
If so Wat is the logic?
can any one share your ideas?
resource disk is 90% used
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: resource disk is 90% used
Nope, Wat is a temple.peep wrote:If so Wat is the logic?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Maybe this is just me, but to me that is... backwards. My admins are not gonna want some ETL knucklehead like me sending them email alerts about diskspace that we control the usage of. Right now, they come the other way - they monitor the usage and notify the 'owners' when thresholds are hit.
I'm curious, what is the goal here? They rush in and nuke files from your resource disks while jobs are running? Better in my opinion to send emails to yourself if you need to start making a case for needing more diskspace. Perhaps not even worry about thresholds but instead just cron something to report or accumulate (write to a file) usage statistics every x minutes over time so you can start trending it.
Anywho, as Arnd notes, the details of what you'll need to do will vary based on your UNIX variant.
I'm curious, what is the goal here? They rush in and nuke files from your resource disks while jobs are running? Better in my opinion to send emails to yourself if you need to start making a case for needing more diskspace. Perhaps not even worry about thresholds but instead just cron something to report or accumulate (write to a file) usage statistics every x minutes over time so you can start trending it.
Anywho, as Arnd notes, the details of what you'll need to do will vary based on your UNIX variant.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers