- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File systems notification on HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2009 11:40 PM
тАО02-15-2009 11:40 PM
I would like to implement automatic e-mail notification on HP-UX Servers when any file system in the HP-UX Servers reach 97 %. Please let me know how can I do that and send me if you have any script for the same and the procedure.
Thanks in advance
Gab
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2009 11:46 PM
тАО02-15-2009 11:46 PM
Re: File systems notification on HP-UX
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1234770374985+28353475&threadId=5827
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 09:07 AM
тАО02-19-2009 09:07 AM
Re: File systems notification on HP-UX
If you have installed openview in your box you should configure MWA because you can monitoring a lot of items in your system and it has an historical DB from you could get information to make performance reports and it sends emails too.
CH2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 09:25 AM
тАО02-19-2009 09:25 AM
Re: File systems notification on HP-UX
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1124262&admit=109447626+1235063735077+28353475
In your script run that w/ -P 97 (I believe) and parse out the filesystem names using whatever tool you like ("cut" and "awk" come to mind) dumping that to a file. you can then do something like:
cat Your_File | mailx -s "Disk Use" -r des@some.domain
to send it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 09:41 AM
тАО02-19-2009 09:41 AM
Re: File systems notification on HP-UX
# bdfmegs -P 97
will give you all filesystems that are 97% capacity or greater.
No need to do it in 2 steps though.
# bdfmegs -P 97 | mailx -s "Filesystems greater than 97%" you@somedomain.com
will work just fine.
You can schedule that to run from cron every few minutes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 12:22 PM
тАО02-19-2009 12:22 PM
Re: File systems notification on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 01:00 PM
тАО02-19-2009 01:00 PM
Solution>>*aren't* any and skip the email step.
Good point.
I might do something like this:
# cat bdfg-monitor.sh
#!/usr/bin/sh
bdfg -P 97 -q > /var/tmp/bdfg-monitor
if [[ -s /var/tmp/bdfg-monitor ]] ; then
mailx -s "Files systems over 97%" you@yourdomain.com < /var/tmp/bdfg-monitor
fi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 03:23 AM
тАО02-24-2009 03:23 AM
Re: File systems notification on HP-UX
From where I can get the 'bdfmegs' utlity ?
Thanks
Gab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 03:34 AM
тАО02-24-2009 03:34 AM
Re: File systems notification on HP-UX
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2009 03:37 AM
тАО02-24-2009 03:37 AM
Re: File systems notification on HP-UX
Thanks for the reply.
I checked the link which u sent but didn't get any script there to download.
Pls tell me.. from where and how to download the script.
Thanks in advance
Gab