我找到了一个用于 DISK IO 统计的 SAR 模板。我已将sarparse_cpuparse.php
、、复制到。 并导入了 sar文件。sarparse_iostat.php
当我们在 cacti 中创建新主机时。但我们收到以下错误sarparse.p1
./scripts/
template.xml
Running data query [10].
+ Found type = '4' [Script Query].
+ Found data query XML file at '/ebsvol/cacti/resource/script_queries/host_disk_stats.xml'
+ XML file parsed ok.
+ <arg_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting arg_index entries
+ Executing script for list of indexes '/usr/bin/php -q /ebsvol/cacti/scripts/sarparse_iostat.php 172.16.200.220 index' Index Count: 0
+ Executing script query '/usr/bin/php -q /ebsvol/cacti/scripts/sarparse_iostat.php 172.16.200.220 query index'
+ Executing script query '/usr/bin/php -q /ebsvol/cacti/scripts/sarparse_iostat.php 172.16.200.220 query name'
请找出附件错误。