Linux monitoring script(shell/python/perl)
- or -
Post a project like this3515
$250
- Posted:
- Proposals: 3
- Remote
- #555196
- Awarded
Description
Experience Level: Expert
Estimated project duration: less than 1 week
Hello,
I will need a script to automatically detected if hosts are alive, and what kind of measurement method supported. Then we will need to regularly fping/hping to monitor the host and put the result to MySQL database. It can be done either by shell, python or perl. Will need to monitor about 2000 hosts in a 3-5 minutes cycle. The detail requirement as below.
========================
Host Alive Detection Module
========================
1) Regularly(every 15 minutes) use fping/hping detected if host alive, and each host supported monitor method listed below.
- fping (1st priority)
- hping on port 80 (2nd priority)
- hping on port 3389 (3rd priority)
- hping on port 22 (4th priority)
(if all 4 method not reachable, then treat as down)
2) Put the alive host with supported monitor method record to a file called "hosts_alive.txt".
3) If the hosts in down status over 12 hours, then remove the host record from file "hosts_alive.txt"
http://www.hping.org
http://fping.org
========================
Host Monitoring Module
========================
1) Fetch host record one-by-one from "hosts_alive.txt" file, use a proper method(fping/hping) to measure the network statistics.
2) Put each host network statistics data to MySQL database. The network statistics data table should include below items.
- Node(the hostname of monitoring node)
- Host(IP address)
- Monitor method(fping/hping 80/22/3389)
- Date and time
- Average latency
- Min latency
- Max latency
- Packet loss
3) Support multiple threads, able to monitor multiple hosts at a same time to make sure it can monitor about 2000 hosts in a 3-5 minutes cycle.
Specific technologies required: shell, python, perl
OS requirements: Linux
Extra notes:
I will need a script to automatically detected if hosts are alive, and what kind of measurement method supported. Then we will need to regularly fping/hping to monitor the host and put the result to MySQL database. It can be done either by shell, python or perl. Will need to monitor about 2000 hosts in a 3-5 minutes cycle. The detail requirement as below.
========================
Host Alive Detection Module
========================
1) Regularly(every 15 minutes) use fping/hping detected if host alive, and each host supported monitor method listed below.
- fping (1st priority)
- hping on port 80 (2nd priority)
- hping on port 3389 (3rd priority)
- hping on port 22 (4th priority)
(if all 4 method not reachable, then treat as down)
2) Put the alive host with supported monitor method record to a file called "hosts_alive.txt".
3) If the hosts in down status over 12 hours, then remove the host record from file "hosts_alive.txt"
http://www.hping.org
http://fping.org
========================
Host Monitoring Module
========================
1) Fetch host record one-by-one from "hosts_alive.txt" file, use a proper method(fping/hping) to measure the network statistics.
2) Put each host network statistics data to MySQL database. The network statistics data table should include below items.
- Node(the hostname of monitoring node)
- Host(IP address)
- Monitor method(fping/hping 80/22/3389)
- Date and time
- Average latency
- Min latency
- Max latency
- Packet loss
3) Support multiple threads, able to monitor multiple hosts at a same time to make sure it can monitor about 2000 hosts in a 3-5 minutes cycle.
Specific technologies required: shell, python, perl
OS requirements: Linux
Extra notes:
Sam G.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
19 Aug 2014
Hong Kong
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies