cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
861
Views
0
Helpful
1
Replies

LMS2.6 new device notification/automation

hello, wondering what is the best way to be notified and eventually fire a script when a new device is discovered? I can see the RME Change Audit Automated Action has email and script actions. Unsure what the Application, Category and Mode settings refer to. Which combination gives me new devices only?

If I call a script, what parameters (if any) are passed into it?

Or maybe I'm heading done the wrong path?

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Unfortunately, this is not possible. You cannot trigger an action when a new device is added to DCR

Instead, you would need to write some code that uses dcrcli (for example) to continually poll the device list, and check for changes. When you find one, you can then pull out the device attributes, and fire off your event.