- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: shell scriptf for ping
Operating System - Linux
1752815
Members
5742
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-27-2005 02:15 AM
тАО09-27-2005 02:15 AM
Re: shell scriptf for ping
Hi Shiv ,
Here is a ping script attached , please run that in cron , and it will check your servers always...and you will have a good sleep. For any system down , it will page you.
copy to a directory and put the path there.
Add in crontab :
------------------------------------------
10,20,30,40,50,59 * * * * /home/shiv/upstat > /dev/null 2>&1
--------------------------------------------
Put all server names, one by one , in servers.list
Enjoy,
Cheers,
Raj.
Here is a ping script attached , please run that in cron , and it will check your servers always...and you will have a good sleep. For any system down , it will page you.
copy to a directory and put the path there.
Add in crontab :
------------------------------------------
10,20,30,40,50,59 * * * * /home/shiv/upstat > /dev/null 2>&1
--------------------------------------------
Put all server names, one by one , in servers.list
Enjoy,
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 02:46 AM
тАО09-27-2005 02:46 AM
Re: shell scriptf for ping
Hi,
Try instead the fping program. It is much better for this kind of tests.
http://3d2f.com/programs/2-515-fping-download.shtml
Try instead the fping program. It is much better for this kind of tests.
http://3d2f.com/programs/2-515-fping-download.shtml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2005 06:40 AM
тАО09-27-2005 06:40 AM
Re: shell scriptf for ping
Shiv,
You should be running the ping script from a server , which not in your server list. So ir will monitor all server.
The command to be use :
# ping -c n servername
[ n is number of ping counts , servername is = SERVER ]
ex:
# ping -c 3 dbserver
Cheers,
Raj.
You should be running the ping script from a server , which not in your server list. So ir will monitor all server.
The command to be use :
# ping -c n servername
[ n is number of ping counts , servername is = SERVER ]
ex:
# ping -c 3 dbserver
Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP