Thank you very much, and by the way awesome support on your site over the weekend getting that download link fixed +1
I will have some templates to shoot your in the next week, one thing I noticed is the Cacti device "description" does not appear to be sent to influxdb. I updated the following in setup.php but I know very little of php, wanted to make sure this isnt doing anything silly:
Before (Starting on Line 336):
Code: Select all
$ds_info[ $ds_id ][ 'hostname' ] = $ds[ 'hostname' ];
$host = CereusTransporter_cleanTag( $db_type, CereusTransporter_host( $ds[ "hostname" ], $ds[ "description" ] ) );
$ds_info[ $ds_id ][ 'host' ] = strlen( $host ) > 0 ? $host : $ds[ 'hostname' ];
After (Starting on Line 336):
Code: Select all
$ds_info[ $ds_id ][ 'hostname' ] = $ds[ 'hostname' ];
$ds_info[ $ds_id ][ 'description' ] = $ds[ 'description' ];
$host = CereusTransporter_cleanTag( $db_type, CereusTransporter_host( $ds[ "hostname" ], $ds[ "description" ] ) );
$ds_info[ $ds_id ][ 'host' ] = strlen( $host ) > 0 ? $host : $ds[ 'hostname' ];
I am now seeing it in test queries
> show series limit 1
key
host.mib.cpu.utilization,cacti_data_id=207,hostname=192.168.200.6,
description=sc-wap-ac66u,host=192.168.200.6,host_type=Generic\ SNMP-enabled\ Host,metric_text=Host\ MIB\ -\ CPU\ Utilization,rate=gauge,namecache=sc-wap-ac66u\ -\ CPU\ Utilization\ -\ CPU0,type=cpu,units=percent