***MUST be network engineer or someone who understands basic TCP/IP***
Script kiddies NOT welcome and waste both out time.
Need bash script which logs only the pertinent results of ongoing test.
Script will send results to php using curl. Php will store results into mysql.
I will share functions only so if you are asking for full software, don't bother responding as I do not give such things out!
-When network outage occurs, run test continuously while checking for target IP.
-End immediately once target IP is reachable again.
Example scenario;
-An outage occurs, cannot reach the target IP anymore
-Hop 6 goes down but then comes back
-Hop 5 goes down but then comes back
-Hop 7 goes down but then comes back
-Target IP is back, outage is over, end of function/script
How function should work;
Output should look as follows.
-id1 timestamp - outage start
-id2 timestamp - 5. [login to view URL] (last hop reachable) or hop 6 down and/or loss%
-id3 timestamp - 4. [login to view URL] (last hop reachable) or hop 5 down and/or loss%
-id4 timestamp - 6. [login to view URL] (last hop reachable) or hop 7 down and/or loss%
-id5 timestamp -end of outage
Do not use %loss as basis to determine if hop is unreachable as that is not accurate.
If hop 7 cannot be reached, then we know hop 7 is unreachable because we can reach hop 6.
Script should strip everything but the most pertinent information as above, deleting everything else as not needed.
You CANNOT write to a large file but you can use a small file for temporary means, to store data, format then output log.
I have ping, traceroute and mtr available on the OS so solution can only use one of these.
Hi !
I am senior systems/network admin with more than 15 years of experience,
i can write you script needed for this task in 1-3 days.
Please consider me for this project
BR ,
Konstantin
I could do it using bash script - I am not good at php. I could store results in mysql using bash script itself.
Next - How will we check for script once done (probably some test system)
I include full documentation on all my changes if chosen for the project.
Would like to work with you on this. I've been a full-time system and network engineer for over a decade and will have no trouble assisting with your script requirements.
Look forward to working with you.
Thanks.