I am trying to use the ChangeLog plugin. But it does not seem to be working. Saw this in the logs
2023-11-27T16:30:55Z WRN changelog/change_log.go:157 > missing uuid. ChangeLog is not supported Poller=flc1-lab-lon-storage key=ec01f533-3c1e-11ee-bd68-00a098e3a067 object=volume plugin=Rest:ChangeLog
Our Haverst version is 23.11.0 and Ontap is 10.1.9P14
Thanks!
#ChangeLog plugin
1 messages · Page 1 of 1 (latest)
hi @dapper tulip can you share which template and line number you uncommented? When I uncomment line 108 in conf/rest/9.12.0/volume.yaml I don't see any warnings about missing uuids
Here is my custom_volume.yml. we'd like to see junction_path change
thanks! the shape of your template is quite different than the out of the box one. Would it be possible to clone conf/rest/9.12.0/volume.yaml and apply your changes to the clone? At a minimum, your template will need to use uuid instead of instance_uuid
will do and keep you posted
updated volume template but got this error
│ ield \"fields\" (<field,...>), Code: 262197, Target: fields, API: /api/private/cli/volume?fields=clone_parent_name%2Cphysical_used_percent%2Cused%2Coverwrite_reserve_used%2Cp │
│ ercent_used%2Csnapshot_reserve_available%2Cis_encrypted%2Csnapshot_count%2Csize_available_for_snapshots%2Clogical_used_by_afs%2Clogical_used_percent%2Csize%2Ctotal%2Cvserver% │
│ 2Csnaplock_type%2Cphysical_used%2Cstate%2Cvolume_style_extended%2Cfiles_used%2Clogical_used_by_snapshots%2Cclone_parent_vserver%2Cclone_volume%2Csis_space_saved%2Csize_used_b │
│ y_snapshots%2Caggr_list%2Cautosize_grow_threshold_percent%2Cuuid%2Cexpected_available%2Clogical_used%2Cmax_autosize%2Csis_space_saved_percent%2Cjunction_path%2Cvolume%2Csnaps │
│ hot_policy%2Cpercent_snapshot_space%2Cvsroot%2Cavailable%2Ccompression_space_saved_percent%2Cdedupe_space_saved%2Cfiles%2Csnapshot_space_used%2Cnodes%2Cdedupe_space_saved_per │
│ cent%2Ctype%2Cis_sis_volume%2Ccompression_space_saved%2Cautosize.mode%2Csnapshot_reserve_size%2Cfilesystem_size%2Coverwrite_reserve&is_constituent=%2A&return_records=true" Po │
│ ller=flc1-noprod-ash-storage collector=Rest:Volume task=data```
Here is my updated volume template
junction_path is already included in the template - line 18 and 140 in the file you sent. The error implies that autosize.mode is the wrong CLI arg. Let me check what that should be
using the CLI's command completion I see this
try changing your template from autosize.mode to autosize_mode
will do
It's working now! Thanks!
thanks for letting us know
Hi @mossy dawn, is it possible to monitori volume size change with ChangeLog plugin? Such as auto grow/shrink?
@dapper tulip ChangeLog plugin currently doesn't detect changes in metric values, such as volume size. Could you please open a feature request for this.
https://netapp.github.io/harvest/23.11/plugins/#changelog
Done. Thanks! https://github.com/NetApp/harvest/issues/2516