In this case, there's no difference whether you're going to use an already existing host or the kind of host we generated in the previous chapter.Now select the Data Template from above: and Create.
For sake of easiness, I'll assume the file to be located in cacti's default ./rra/ directory. rrdtool info ./rra/filename = "/var/www/html/cacti/rra/external.rrd" rrd_version = "0003" step = 300 last_update = 1140957748 ds[external_ds1]= "GAUGE" ds[external_ds1].minimal_heartbeat = 600 ds[external_ds1]= 0.0000000000e 00 ds[external_ds1]= 5.0000000000e 02 ds[external_ds1].last_ds = "UNKN" ds[external_ds1].value = 4.4510209500e 02 ds[external_ds1].unknown_sec = 0 ds[external_ds2]= "GAUGE" ds[external_ds2].minimal_heartbeat = 600 ds[external_ds2]= 0.0000000000e 00 ds[external_ds2]= 5.0000000000e 02 ds[external_ds2].last_ds = "UNKN" ds[external_ds2].value = 7.4183682500e 02 ds[external_ds2].unknown_sec = 0 ds[external_ds3]= "GAUGE" ds[external_ds3].minimal_heartbeat = 600 ds[external_ds3]= 0.0000000000e 00 ds[external_ds3]= 5.0000000000e 02 ds[external_ds3].last_ds = "UNKN" ds[external_ds3].value = 1.0385715550e 03 ds[external_ds3].unknown_sec = 0 rra= "AVERAGE" rra= 600 rra.pdp_per_row = 1 (... While this is not that a meaningful name, it should show you the principles when dealing with multi-ds rrds.
Alongside with this, it is good to know the ds[…].type, ds[…]and ds[…]for correct definition of the data sources. This will not affect data gathering nor graphing, but to me it seems to be advantageous to create the correct data sources.
This procdure allows for repeated tests without waiting for the next polling interval.
And there's no need to manually search for the failing host between hundreds of lines of output.
Sometimes people call this feature “Importing external rrds” to cacti.
But what I'm going to explain is not an automated function. Of course, the webserver must have at least read access to the required rrd file(s).
You will be prompted to fill in the full path to your file.
If this resides in cacti's default ./rra directory, you may use Let's create a new Graph from Graph Management now.
Some agent's don't have the horsepower to deliver that many OID's at a time.
Therefore, we can reduce the number for those older/underpowered devices.
As this file is updated externally, you must set the Data Input Method to None.