- Introduced InterfaceInfo class to encapsulate interface details. - Modified CiscoMacTableParser to gather and store interface information. - Updated ZabbixLLDFormatter to include interface status and descriptions in the output. - Adjusted test_new_format.py to validate new interface information integration. - Enhanced run.sh for improved container management.
11 lines
228 B
Bash
Executable File
11 lines
228 B
Bash
Executable File
#!/bin/bash
|
|
|
|
docker stop cisco-friends
|
|
|
|
docker rm cisco-friends
|
|
|
|
docker run -d --platform linux/amd64 \
|
|
--restart unless-stopped \
|
|
-p 127.0.0.1:8443:8443 \
|
|
--name cisco-friends \
|
|
localhost/cisco-friends:$(date +%Y%m%d%H) |