TWSNMP For Container コンテナ版 TWSNMPマネージャー(ネットワーク管理)
10K+
TWSNMP FCはフリーの定番ネットワーク管理ソフトTWSNMPをDocker環境で使えるようにしたものです。
ソースコードをGitHUBで公開しています。
https://github.com/twsnmp/twsnmpfc
マニュアルはNoteに書いていきます。
https://note.com/twsnmp/m/meed0d0ddab5e
最初に
https://note.com/twsnmp/n/nc6e49c284afb?magazine_key=meed0d0ddab5e
をみてください。
#docker volume create twsnmpfc
#docker run --rm -d --net host -v twsnmpfc:/datastore twsnmp/twsnmpfc
のように起動できます。
WindowsやMac OS上のデスクトップ版Dockerの場合には分離されたネットワーク環境のため
ARP監視でデバイスのリストを作成できません。
次のように起動すればネットワーク監視できます。
#docker volume create twsnmpfc
#docker run --rm -d -p 8080:8080 -v twsnmpfc:/datastore twsnmp/twsnmpfc
起動できたらブラウザーから
http://<IPアドレス>:8080/
にアクセスしてください。
ユーザーIDパスワードの初期値は
twsnmp:twsnmp
です。
以下のポートを使用します。
8080/tcp WEBUI
514/udp syslog
514/tcp syslog
2055/udp NetFlow
162/udp snmptrap
起動パラメータは、
# /opt/twsnmp/twsnmpfc -h
Usage of /opt/twsnmp/twsnmpfc:
-cpuprofile file
write cpu profile to file
-datastore string
Path to Data Store directory (default "./datastore")
-host string
Host Name for TLS Cert
-ip string
IP Address for TLS Cert
-local
Local only
-memprofile file
write memory profile to file
-password string
Master Password (default "twsnmpfc!")
-ping string
ping mode icmp or udp
-port string
port (default "8080")
-restore string
Restore DB file name
-tls
Use TLS
です。
起動パラメータの名前を大文字にしてTWSNMPFC_を先頭につけた環境変数が利用できます。
TWSNMPFC_PASSWORDでパスワードを指定できます。
Content type
Image
Digest
sha256:b61ce3fe6…
Size
35.1 MB
Last updated
28 days ago
docker pull twsnmp/twsnmpfc