- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Re : Can Someone advice ??
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
10-25-2002 01:45 AM
10-25-2002 01:45 AM
Re : Can Someone advice ??
Can someone tell me how can I sendup a unix server to do the following :
1. inform administrator that disk space is low
2. inform administrator that power supply is down
basically is what have I to send up on the server so that this function can be perform.
Thanks in advance !!
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:03 AM
10-25-2002 02:03 AM
Re: Re : Can Someone advice ??
1. Can be done by monitoring a volume constantly
2. Can only be done by pinging from a different system - unless your power systems in your comms room are intelligent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:12 AM
10-25-2002 02:12 AM
Re: Re : Can Someone advice ??
Vantage point operations can do great things more than the things you have mentioned.
The other way is to write scripts and use sendmail to send mails.
check this link.
http://bizforums.itrc.hp.com/cm/QuestionAnswer/1,,0x10294b3ef09fd611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:13 AM
10-25-2002 02:13 AM
Re: Re : Can Someone advice ??
One simple way, will be to setup cron jobs to execute the monitoring scripts.
E.g.
crontab -l
#*******************************************************************************
# min|hour |day |month|day |script
# | |of mo| |of wk|
#----|-----|-----|-----|-----|--------------------------------------------------
#*******************************************************************************
5 * * * * /scripts/check.sh 1>/tmp/output.log 2>error.log
The check script should contain all the desired commands.
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:18 AM
10-25-2002 02:18 AM
Re: Re : Can Someone advice ??
you can use EMS (Event Monitoring System) to handle some triggy situation. With EMS there are several pre-configured monitors for your HW Subsystem...
for monitoring disk space : use HP OpenView if you have or write a shell script...
there are many threads in the forum..just search for "monitoring disk space" or something similar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 02:22 AM
10-25-2002 02:22 AM
Re: Re : Can Someone advice ??
A basic principle of security. *never* put privileged user owned files in shared writable areas. This is a way to have any file trashed on you system by malicious users.
A better suggestions would be to have a private log area; eg:
mkdir -p /var/opt/admin/logs
chown -R root:admins /var/opt/admin
chmod -R 755 /var/opt/admin
Then have a cron like:
5 * * * * /scripts/check.sh 1>/var/opt/admin/logs/check.$(date +%Y%m%d%H%M) 2>error.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2002 03:42 AM
10-25-2002 03:42 AM
Re: Re : Can Someone advice ??
It's just a lot of shell scripts, but it works for us.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2002 10:26 AM
10-28-2002 10:26 AM