VMware Cloud Community
Sharantyr3
Enthusiast
Enthusiast

Create an alarm when a TAG is assigned or unassigned on a VM

Hello,

I would like to get a tracking of TAG assign/unassign done by users, so I was thinking using alarms with send mail action.

But I can't find a trigger with the GUI corresponding to that, any ideas ?

Thanks

Reply
0 Kudos
3 Replies
scott28tt
VMware Employee
VMware Employee

If it's possible, this should help: https://www.virtuallyghetto.com/2019/02/creating-vcenter-alarms-based-on-task-events-such-as-folder-...


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
Sharantyr3
Enthusiast
Enthusiast

The problem is tag assign / unassign is not loggued in get-vievent Smiley Sad Smiley Sad Smiley Sad

edit:

Even nothing the the vcenter logs !

So I think it's not possible Smiley Sad

But I don't understand why this action does not appear anywhere.

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

I guess that answers your question then.

If executing a script looking for tags will do you, post a question in the PowerCLI forum area: VMware PowerCLI

These are the cmdlets: Using Tags with PowerCLI - VMware PowerCLI Blog


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos