6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1319] RRDTool Graphing
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ ._..___. ..__ [__) | _/ |[__) | \_|_./__.\__|[__)
Comment
> Here's my patchset to allow for using RRDTool to graph SNMPCustom data. > > > > Of course, I don't expect it to be perfect, but since there is no > standard PHP module for RRDTool (besides the contrib one) and due to > RRDTool's highly customizability, I had to try and make it as generic > as possible. > > > > I do need to add some explanation of the $rrdtool parameters in the > devices.php, so here it is: > > The actual index is the data source name that's referenced in rrdtool > > -file: The filename of the .rrd to use > > -name: The legend name on the graph for that data > > -color: The color of the data on the graph > > -line: The type of line to use while graphing, can be LINE{1|2|3}, > AREA, STACK, > > -unit: The unit to use in the legend > > -calc: Any extra calculations to the data to format it correctly, in > RPN format. For now, if you want to use a calc, you have to start it > with a comma. A todo could make this not the case. > > > > To start, setup all the necessary items in devices.php, and then run > scripts/createRRDFiles.php to setup and create the .rrd files > according to what was specified earlier. > > > > After that, just cron the statusmonitor.php script and enjoy. > > > > Of course, let me know if there's something that could be done > better, or if there's a problem with something I wrote. I'd be more > than happy to fix it! > > > > Thanks. > > > > -Mike
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers