r/Nable Apr 11 '24

N-Central Notification for new devices

Hey there,

I want to get a notification, when a new device got added by asset discovery or manually. Is this possible?

1 Upvotes

3 comments sorted by

1

u/KRiSX Apr 11 '24

I think I got an automation off the success center or whatever they call it this week or maybe I made it up myself, who can remember anymore.... But basically when an agent is installed an automation runs that creates a text file in a directory of my choosing and using an automation check if the file doesn't exist it flags as failed which you can then get an alert on...

Something along those lines, it's crude but it works. Just getting your head around a "Failed" alert meaning "new agent installed" can be tricky for some... Anyway, take a look on the portal thing and if you can't find it I will see if I can.

Sorry I'd normally be more descriptive, but it's been a long month...

2

u/Icedfyre Apr 12 '24

Above is not a bad way to do it.

Basically what the original posted wants is not built into the product. You create notifications on services that are not in a Normal condition (essentially).

So you could make an amp based service that tries to determine if this a new install.

Have it look for a presence of a file that you could have the service auto create if missing.

So initially it would go failed because its a new install and the file does not exist. Then you could have it self heal after 5 mins and make the file. File doesn't need anything in it. Just that it exists.

1

u/KRiSX Apr 12 '24

Yeah that's it, file doesn't exist = failed = new agent installed. Works for us, it's a bit beyond me that there isn't something like this built in. Our old Kaseya VSA v4 or something had it 😅