Skip to main content
Solved

Device group members via E-mail

  • July 5, 2023
  • 1 reply
  • 36 views

Hello!
Is there a way to periodically send a list of the members of a device group via e-mail? I’m using a QApp that puts non-compliant devices in a device group.
Thank you

Best answer by Carsten.Schmidt

Hi @laurd 

I am not aware that NB is capable of doing that internally, maybe there is. But you can use the “Get devices of device group API” to do that. Code examples in Python and cURL are provided here: https://github.com/NetBrainAPI/NetBrain-REST-API-R11/blob/main/REST%20APIs%20Documentation/Device%20Group%20Management/Get%20Devices%20of%20Group.md

You could crontab a Python script to do that.

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+1

Hi @laurd 

I am not aware that NB is capable of doing that internally, maybe there is. But you can use the “Get devices of device group API” to do that. Code examples in Python and cURL are provided here: https://github.com/NetBrainAPI/NetBrain-REST-API-R11/blob/main/REST%20APIs%20Documentation/Device%20Group%20Management/Get%20Devices%20of%20Group.md

You could crontab a Python script to do that.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings