Skip to content
/ Cirquit Public

SNMP client for convenient hub ports management in Go

License

Notifications You must be signed in to change notification settings

aeri/Cirquit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cirquit

SNMP client for convenient hub ports management

Cirquit is a small client written in Go for manage the ports of a hub using the SNMP protocol.

Abstraction of complex SNMP control commands and the ability to perform port management automatically and unattended.

Libraries

This program needs to build this external libraries with:

Those libraries can be installed by executing the next commands:

go get github.com/fatih/color
go get github.com/soniah/gosnmp

Executing

The management is very simple! The execution is automated and guided

There are two ways to execute this program:

  • Interactive mode

Just build using the Makefile and run it:

make
make run
  • Unattended mode

In order to do an automated and quiet management of your hub, there is a possibility to do this with the following sequence:

./Cirquit ip community optionMenu [gateway]

The second menu option can be used by loading the port configuration from a file ports.cfg, the included file by default has an example of the syntax.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details