diff --git a/reference/rrd/functions/rrd-last.xml b/reference/rrd/functions/rrd-last.xml new file mode 100644 index 000000000..074b10ac7 --- /dev/null +++ b/reference/rrd/functions/rrd-last.xml @@ -0,0 +1,64 @@ + + + + + + + rrd_last + 获取最后一个样本的 Unix 时间戳 + + + + &reftitle.description; + + intrrd_last + stringfilename + + + 返回 RRD 数据库最近更新的 UNIX 时间戳。 + + + + + &reftitle.parameters; + + + filename + + + RRD 数据库文件名。 + + + + + + + + &reftitle.returnvalues; + + RRD 数据库中最新的整数 Unix 时间戳。 + + + + + + diff --git a/reference/rrd/functions/rrd-lastupdate.xml b/reference/rrd/functions/rrd-lastupdate.xml new file mode 100644 index 000000000..288da9a2b --- /dev/null +++ b/reference/rrd/functions/rrd-lastupdate.xml @@ -0,0 +1,63 @@ + + + + + + + rrd_lastupdate + 获取有关上次更新数据的信息 + + + + &reftitle.description; + + arrayrrd_lastupdate + stringfilename + + + 从最近更新的 RRD 数据库文件中获取每个日期存储的 UNIX 时间戳和值的数组。 + + + + + &reftitle.parameters; + + + file + + + RRD 数据库文件名。 + + + + + + + + &reftitle.returnvalues; + + 最后更新的信息数组,&return.falseforfailure;。 + + + + + diff --git a/reference/rrd/functions/rrd-restore.xml b/reference/rrd/functions/rrd-restore.xml new file mode 100644 index 000000000..5195877da --- /dev/null +++ b/reference/rrd/functions/rrd-restore.xml @@ -0,0 +1,81 @@ + + + + + + + rrd_restore + 从 XML 转储中恢复 RRD 文件 + + + + &reftitle.description; + + boolrrd_restore + stringxml_file + stringrrd_file + arrayoptions + + + 从 XML 存储中恢复 RRD 文件。 + + + + + &reftitle.parameters; + + + xml_file + + + 带有原始 RRD 数据库文件转储的 XML 文件名。 + + + + + rrd_file + + + 要恢复的 RRD 数据库文件名称。 + + + + + options + + + 恢复的选项数组。详情见 rrd restore 手册页。 + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + diff --git a/reference/rrd/functions/rrd-tune.xml b/reference/rrd/functions/rrd-tune.xml new file mode 100644 index 000000000..50604780e --- /dev/null +++ b/reference/rrd/functions/rrd-tune.xml @@ -0,0 +1,73 @@ + + + + + + + rrd_tune + 调整 RRD 数据库文件头选项 + + + + &reftitle.description; + + boolrrd_tune + stringfilename + arrayoptions + + + 更改 RRD 数据库头文件中的一些选项,例如:重命名数据源等。 + + + + + &reftitle.parameters; + + + filename + + + RRD 数据库文件名。 + + + + + options + + + 要修改的 RRD 数据库文件属性选项。请参阅 rrd tune 手册页获取详细信息。 + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + +