Find Jobs
Hire Freelancers

Bash Script (Command to Query RRD file to return bandwidth usage

€30-250 EUR

Kansellert
Lagt ut over 6 år siden

€30-250 EUR

Betalt ved levering
Bash Script (Command to Query RRD file to return bandwidth usage I have some rrd database files that store counter stats from routers via snmp queries. I use these rrds to create graphs of traffic. Here is the command that creates the RRD files it will allow you see the RRD structure rrdtool create [$FILE] --step 30 DS:bytes-in:COUNTER:60:0:100000000000 DS:packets-in:COUNTER:60:0:100000000000 DS:bytes-out:COUNTER:60:0:100000000000 DS:packets-out:COUNTER:60:0:1000000000000000 RRA:AVERAGE:0.5:1:40320 RRA:AVERAGE:0.5:10:8640 RRA:AVERAGE:0.5:120:17520 RRA:MIN:0.5:10:8640 RRA:MIN:0.5:120:17520 RRA:MAX:0.5:10:8640 RRA:MAX:0.5:120:17520 Here is the RRD command that I use to enter Data into the rrd files snmpget -Oqv -v 2c -c xxxxxx $1 .1.3.6.1.2.1.2.2.1.{10,11,16,17}.2 | sed ':a;N;$!ba;s/\n/ /g' | awk '{print "N:"$1":"$2":"$3":"$4}') Here is the current graophing command that I use /usr/bin/rrdtool graph /var/www/html/ogmagraph/$FILEB --color BACK#FFFFFF --color SHADEA#FFFFFF --color SHADEB#FFFFFF -v "Bits Per Second" --start -30h --units=si --full-size-mode --no-gridfit --alt-autoscale -w 1100 -h 300 DEF:BytesOutMax=$RRDFILE:bytes-out:MAX CDEF:outbitsmax=BytesOutMax,8,* AREA:outbitsmax#009900:Upload DEF:BytesOut=$RRDFILE:bytes-out:MAX CDEF:outbits=BytesOut,8,* LINE:outbits#006600:Upload DEF:BytesInMax=$RRDFILE:bytes-in:MAX CDEF:inbitsmax=BytesInMax,-8,* AREA:inbitsmax#ff0000:Download DEF:BytesIn=$RRDFILE:bytes-in:AVERAGE CDEF:inbits=BytesIn,-8,* LINE:inbits#b30000:Download) I would like to be able to query these rrd files to as to ascertain the following Total traffic over past 1 hour, 4 hours, 24 hours, 1 week, 2weeks, the result would be in a text format. I would like this command as a sheel command that i can run.
Prosjekt-ID: 15726579

Om prosjektet

7 forslag
Eksternt prosjekt
Aktiv 6 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
7 freelancers are bidding on average €109 EUR for this job
Brukeravatar
As per understanding from your brief description, I think I can easily make your wish done with my skills level contact me once and I guarantee it that you will get the perfect solution for your need. Relevant Skills and Experience Linux, Python, Shell Script, UNIX Proposed Milestones €155 EUR - pay me once the all work will be done
€155 EUR om 3 dager
5,0 (20 omtaler)
4,2
4,2
Brukeravatar
Hello, I am full-time freelancer, I have gone through your project I can do it. I am a Software developer with having a good knowledge and 8 years of experience with Linux, Python,Shell Script, UNIX. Relevant Skills and Experience I am excellent with C, C++, C# programming,Linux, Python, Shell Script, UNIX ,Java, .Net, Software development, Software architecture. I have completed a lot of projects with 100% satisfaction . Proposed Milestones €30 EUR - initial Further discussion will be through chat. Thanks.
€30 EUR om 3 dager
5,0 (1 omtale)
2,4
2,4
Brukeravatar
Hi, I have 20+ years experience in linux and bash scripting, having done some work with rrd and graphs before, although long time ago, this should be simple task Regards Relevant Skills and Experience rrd, linux, bash, shell scripting Proposed Milestones €100 EUR - Document scope €144 EUR - Implement and deliver
€244 EUR om 3 dager
5,0 (4 omtaler)
2,5
2,5
Brukeravatar
Hey ! I'm SAYAN PROGRAMMER I've reviewed your complete job description, and I fulfill all the qualifications required for this project. I have more than 15 years of experience in this field. I am sure if you will respond me then I will be able to explain my skills as well. I always try to provide good quality work to my clients. My key skills are: Linux, Python, Shell Script, UNIX, programming ,JAVA, Software Architecture, PHP, Java script and much more. Looking forward to work with you on this project. THANKS Regards SAYAN PROGRAMMER
€39 EUR om 3 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hello! I am writing in response to your Project. After carefully reviewing the experience requirements and skills required for the job, I feel that I am a suitable match for the job.I am much willing to do this job and I ensure you that I can complete and make your project. My Skills are:- Linux, python, Unix, Java, Perl, JSon, web scraping,Shell Script, web crawling, Data mining. Looking forward to do work with you n this project. Thanks
€40 EUR om 4 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
A proposal has not yet been provided
€55 EUR om 3 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Good morning. I can do it. If you like send me a file and I'll send you a video as a proof of concept. Only then award the job (no risk!) Best regards, Ricardo Relevant Skills and Experience - Electronic engineer with vast experience in computing - C/C++ developer for mathematical models and field bus protocols. - University teacher Proposed Milestones €100 EUR - Analysis of alternatives (Bash, Pyhton) €100 EUR - Coding script and testing Could you consider any other language (Python, Perl)?
€200 EUR om 3 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

IRELANDs flagg
Dublin, Ireland
5,0
11
Betalingsmetode bekreftet
Medlem siden mar. 15, 2010

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.