rrdupdate.pl - update/create RRDs on the fly using Spread
rrdupdate -c `pwd`/rrdupdate.cfg
It is a example OK!
You send it lines of input via the 'polling-rrd' group/mbox
Each line looks like
hostname:epochtime:state:pl:rtta:rttm
where: hostname is the name of a host epochtime is the oupit of time() state is some number from 0 -> 15 pl is a packet loss 0 -> 100 rtta is a round-trip ping time rttm is the max round-trip time
Like this:
zz-2468-OP-0805-02:1145857074:15:0:158:160 zz-2640-OP-0805-05:1145857074:15:0:153:185 zz-2556-GG-2924-01:1145857074:15:0:53.4:86.6 zz-2191-GG-2924-01:1145857074:15:0:14.7:47.5 zz-48GE-02-2924-01:1145857074:15:0:8.45:37.2 zz-6519-GG-2924-01:1145857074:15:0:89.0:124 zz-2247O-GG-2924-01:1145857074:15:0:20.2:57.7 zz-3627-GG-2924-01:1145857074:15:0:38.0:72.3 zz-3262-GG-2924-01:1145857074:15:0:37.3:42.7 zz-4114-GG-2924-01:1145857074:15:0:29.2:51.8
Spread and Spread::Message
cheers markp
Mon Jul 14 15:20:47 EST 2003
Copyright 2003-2006, Mark Pfeiffer
This code may be copied only under the terms of the Artistic License which may be found in the Perl 5 source kit.
Use 'perldoc perlartistic' to see the Artistic License.
Complete documentation for Perl, including FAQ lists, should be found on this system using `man perl' or `perldoc perl'. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.
To install Spread::Message, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Spread::Message
CPAN shell
perl -MCPAN -e shell install Spread::Message
For more information on module installation, please visit the detailed CPAN module installation guide.