Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Rikharms1972 opened this issue May 30, 2024 · 1 comment
Labels

Comments

@Rikharms1972
Copy link
Contributor

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
Copy link
Contributor

momolemo commented Sep 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants