- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Monitoring script
Operating System - HP-UX
1752233
Members
4882
Online
108785
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
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
тАО07-22-2010 07:48 PM
тАО07-22-2010 07:48 PM
Monitoring script
Hi Folks,
I am in need of a perl script which simultaneously connects to multiple hosts and ports and checks there availability based on the success or failure of making a connection on a port.
Though I have a bare bone script which does check for the health of the port on A host but I need something which checks for 50+ ports on 50+ hosts in parallel.
I want to have a script which checks for this in parallel and returns success or failure immediately for a single host/port.
Want to have a config file which keeps the information about ports and hosts separately.
The goal is to integrate this into Xymon(aka Hobbit) so that each port/host combination can be shown separately.
Going forward I want to scale this script so it can also do a POST/GET on URLs to check for the health of the applications. If this is something which you already have and can share that would be great along with the port-checker.
The other way I am thinking is to use the current script I have which checks for a single port/host to reference multiple config files each one having a combination of host/port so that if a new host/port needs to be added then I dont have to change the script.
Any new design ideas are welcome and how it can be utilized into Xymon so that the each host/port combination's status can be shown real time.
Thanks,
Allan.
I am in need of a perl script which simultaneously connects to multiple hosts and ports and checks there availability based on the success or failure of making a connection on a port.
Though I have a bare bone script which does check for the health of the port on A host but I need something which checks for 50+ ports on 50+ hosts in parallel.
I want to have a script which checks for this in parallel and returns success or failure immediately for a single host/port.
Want to have a config file which keeps the information about ports and hosts separately.
The goal is to integrate this into Xymon(aka Hobbit) so that each port/host combination can be shown separately.
Going forward I want to scale this script so it can also do a POST/GET on URLs to check for the health of the applications. If this is something which you already have and can share that would be great along with the port-checker.
The other way I am thinking is to use the current script I have which checks for a single port/host to reference multiple config files each one having a combination of host/port so that if a new host/port needs to be added then I dont have to change the script.
Any new design ideas are welcome and how it can be utilized into Xymon so that the each host/port combination's status can be shown real time.
Thanks,
Allan.
- Tags:
- Perl
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2010 02:29 AM
тАО07-23-2010 02:29 AM
Re: Monitoring script
Hello,
You could use an application called Nagios. Check this link:
http://www.nagios.org/download/
It very easy to check services/hosts availability.
Best regards,
Horia.
You could use an application called Nagios. Check this link:
http://www.nagios.org/download/
It very easy to check services/hosts availability.
Best regards,
Horia.
Best regards from Romania,
Horia.
Horia.
- Tags:
- nagios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2010 05:31 PM
тАО07-23-2010 05:31 PM
Re: Monitoring script
Hi Allan:
And you are offering to pay how much?
You might look to leveraging Net::Telnet as a connection vehicle for various ports. Of course, Perl fork()s might be helpful in performing your parallel operations.
Regards!
...JRF...
And you are offering to pay how much?
You might look to leveraging Net::Telnet as a connection vehicle for various ports. Of course, Perl fork()s might be helpful in performing your parallel operations.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2010 08:00 PM
тАО07-23-2010 08:00 PM
Re: Monitoring script
You might want to use perl threads.
Please see perlthrtut man.
Please see perlthrtut man.
abandon all hope, ye who enter here..
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