netbox-sync icon indicating copy to clipboard operation
netbox-sync copied to clipboard

[FR] Change status of Orphaned VMs

Open peterbaumert opened this issue 8 months ago • 6 comments

Hi,

I would like to automatically change the status of Orphaned devices to "Decomissioning". Right now I do it in a second step, but i think it would be useful if this could be an additional flag in the config, to automatically do this?

KR Pete

peterbaumert avatar May 20 '25 10:05 peterbaumert

Hi @peterbaumert, is this a device/VM status which could be set in NetBox? Haven't had a look at it.

bb-Ricardo avatar May 27 '25 21:05 bb-Ricardo

Yes it is.

Image

rizlas avatar Jun 09 '25 13:06 rizlas

Yes sorry. Totally forgot to answer. There are predefined ones but its also possible to define own statuses. So if it would be possible to just specify the string which represents the status, all cases would be included.

peterbaumert avatar Jun 09 '25 16:06 peterbaumert

This would be a great enhancement. Because this is builtin

mat-ti avatar Jun 14 '25 08:06 mat-ti

Hi, so you proposing following config options host_orphaned_status = vm_orphaned_status =

bb-Ricardo avatar Jun 16 '25 07:06 bb-Ricardo

Hi, so you proposing following config options host_orphaned_status = vm_orphaned_status =

That would be amazing yes!

peterbaumert avatar Jun 16 '25 18:06 peterbaumert