I will include the graph template "IP-Volume up to 32 Sources" , which includes a CDEF called "Combine up to 32 input sources, Turn Bytes into Bits".
In many situations you won't need to stack 32 sources but only 10 oder 20. To be able to use the template anyway, I set up a "Zero Counter". In fact this is fake, as it will count 1 but not zero. Once created you can use the Zero Counter as replacement for any data source missing, that means 22 times or 12 times in the examples above. The Zero Counter template include a data template and the corresponding data input method both called "Zero Counter".
Even considering, that you have 22 or 12 sources, each with value 1, this should not influence the stacked value of your real datasources that much as long as you graph IP volume or anything else with rather high values.
Zero Counter depends on a very basic perl script, that has to be uploaded as "zero.pl" into you scripts directory.
Code: Select all
#!/usr/bin/perl
print 1;
sbx
---
Attachments deleted. See posting below.
sbx