Find freelancers. Lose those costly delays.

With 1.7 million freelancers, we'll match you with the perfect talent.

or, Register with Elance »

Packets Analysis: Add Packet Error Response
Sign in to Add to Watch List

IT & Programming > System Administration

View Change History

The client has made the following changes to the job.


Job Description

  |  Change History >>


  • Posted: Mon, Aug 06, 2012
  • Time Left: Closed
  • Location: Anywhere
  • Client prefers freelancers from:

    You are still able to submit a proposal for this job.

    The client prefers freelancers from
    a different location.

    You're still able to submit a proposal for this job, regardless of your location.
  • Start: Immediately
  • Budget: $30 - $40
  • Fixed Price Job
  • Elance Escrow Protection
  • U.S. freelancers must have W9
Sign in to view client's details

I need to modify the script to add an additional feature to it.

The ethstat.sh script will return this output which works fine:

./ethstat.sh venet0
Col 0 Err 0 OutDis 0 InDis 0 OutErr 0 InErr 0

Now I need to add an additional featue that will do 3 levels of checks:

1. If all fields are 0 then return --returncode=0

2. If any of the fields if they are greater than 0 and less than 50 have --returncode=1

3. If any field is greater than 100 have a --returncode=2

The output (--returncode=) must determine the line to use for reporting to another system.

Below you can see that the --returncode= must coordinate with the errors discovered.

if [ "$etherr" = "$errors" ]
/usr//bin/send_gearman --server= --encryption=yes --key=Modlinux23 --host=xigear --service=Ethernet_Stats --message="$eth" --returncode=0
/usr//bin/send_gearman --server= --encryption=yes --key=Modlinux23 --host=xigear --service=Ethernet_Stats --message="$eth" --returncode=1

Sign in or Register to see more

Job ID: 32534998
Avg $ | High $ | Low $ — Show Pricing
  • Submit Date (Latest)

Frederic L.      
Frederic L.'s identity has been verified.  Learn More
I have been a Windows and Unix administrator for 5 years (1998-2003), then *Nix system and network engineer since 2006 (Unix, Linux, Mac OS X)...
 0.0   |  Private   |  0 Jobs   |  1 verified credential(s)
Bid ID: 32540646  |  Submitted: Aug 7, 2012 01:15 ET 
Within 1 day
Elance is now an Upwork company.
Upwork is the choice of 4M+ clients. Get started working on Upwork today.
Are you ready to post a job like this one?
Post a Similar Job »