[rrd-users] Can I plot a value from a shell script variable (value not in rrd file)?
Ed Donahue
ed.donahue at mavenwire.com
Wed Apr 9 16:08:27 CEST 2014
Something like this?
CPU_LOAD=`snmpget -v 1 -c public ${HOST}
.1.3.6.1.4.1.2021.10.1.3.1|cut -d " " -f 4`
${RRD_TOOL} updatev ${DIRECTORY}/${HOST}_cpu_${MEASUREMENT}.rrd N:${CPU_LOAD}
Thanks,
-Ed Donahue III
610.290.8232
On Wed, Apr 9, 2014 at 10:01 AM, avonnieda <adam at vonnieda.org> wrote:
>
> Hi folks,
>
> Hopefully a simple one. I'm looking for a way to assign a shell variable
> to a variable that can then be plotted on the graph. Does anyone have a
> simple example of this?
>
> Thanks very much,
>
> -Adam
>
>
>
> --
> View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Can-I-plot-a-value-from-a-shell-script-variable-value-not-in-rrd-file-tp7581919.html
> Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
More information about the rrd-users
mailing list