netfishers-onl / Netshot

Network Configuration and Compliance Management
http://www.netfishers.onl/netshot
240 stars 57 forks source link

Question: use script option in netshot to get adhoc information from device #308

Open Rikharms1972 opened 3 months ago

Rikharms1972 commented 3 months ago

Hello,

Is it posisble to run a show command on one device on demand, without using diagnostic? I want some kind of flexible way to show certain information, like the mac address or route for one prefix. I want to use netshot so I don`t need to give users direct cli access to my devices.

Hope I make clear what my goal is.

momolemo commented 3 days ago

Hello, you can create a script to execute on the device. It is possible now to make the script ask for parameters if needed. https://github.com/netfishers-onl/Netshot/wiki/User-Guide:-Devices#running-scripts-on-devices

Another options can be to create your drivers and get more information to store in general or in general panel, and a snapshot will update this data