- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Script to monitor IP's
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
тАО09-08-2009 09:57 PM
тАО09-08-2009 09:57 PM
Is there any script????
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 10:03 PM
тАО09-08-2009 10:03 PM
Re: Script to monitor IP's
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 10:07 PM
тАО09-08-2009 10:07 PM
Re: Script to monitor IP's
http://docs.hp.com/en/5992-6213/ch07s01.html#d0e5593
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 10:12 PM
тАО09-08-2009 10:12 PM
Solutionhttp://www.unix.com/attachments/shell-programming-scripting/66d1106788731-help-ping-host-alive-not-pingnodes.doc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 04:38 AM
тАО09-10-2009 04:38 AM
Re: Script to monitor IP's
You can have a lot of solution and need some scripting. I hope you can use command as awk, cat, .... but in any way you have to adapt this example to match your needs.
An simple example with use a file wich contains ip adresses (/etc/hosts will be a good idea but need more scripting command to extract good values) :
while read i
do
ping $i -n 1 -m 1 > /dev/null
if [ $? -ne 0 ]
then
echo $i
fi
done < list_ip | mailx -s "Ip timeout" email_addr
Where list_ip is a filename wich contains ip or hostname values and email_addr is the recipient address of the destination.
I tested under HP-UX 11.31
Regards,
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 05:05 AM
тАО09-10-2009 05:05 AM
Re: Script to monitor IP's
If you are trying to come up with uptime charts, you might want to look into using SNMP monitoring, provided by HP OpenView (NNM product comes to mind straight away) and many other monitoring platforms.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 12:38 AM
тАО09-11-2009 12:38 AM
Re: Script to monitor IP's
Thanks again!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2009 12:38 AM
тАО09-11-2009 12:38 AM