Commit Graph

16 Commits

Author SHA1 Message Date
6969e609c0 Fix golangci-lint issues 2025-06-16 23:36:36 +02:00
0a0e3e7055 Add tests. They are quite basic ... 2025-06-11 00:02:04 +02:00
cb8acc4c13 Add LICENSE, add copyright to all files 2025-06-10 23:52:49 +02:00
cc08a0218a Simplify - only use queryInterfaceStats() and always do liveness check within it 2025-06-10 14:39:15 +02:00
8d9aef2f99 Add flag -vppstats.api.addr and rename -vppstats.addr to -vppstats.stats.addr; Update README 2025-06-10 14:16:05 +02:00
87327658b2 Add a VPP API liveness check before reading the stats segment. 2025-06-10 14:12:55 +02:00
478168584d Rename from govpp-snmp-exmaple to govpp-snmp-agentx; Also rename the binary + README 2025-06-10 13:41:14 +02:00
b6cdcd16ba Move flags to their own modules 2025-06-09 18:18:38 +02:00
fb3c545e11 Make -debug a global config flag, clean up logger.Debugf() callsites 2025-06-09 18:10:44 +02:00
29d0417452 Add a logger that auto-includes file+callsite 2025-06-09 18:06:59 +02:00
6371e8eee2 Add -debug flag 2025-06-09 18:00:59 +02:00
a96b853d06 Remove spurious logline. Add .gitignore 2025-06-09 17:55:18 +02:00
daac2ffbd1 Add -vpp-ifindex-offset flag 2025-06-09 17:38:27 +02:00
fdd6406855 Query the stats on startup 2025-06-09 17:21:48 +02:00
d4769d6cdb add -period flag 2025-06-09 17:20:58 +02:00
824496c402 Add a VppStatsRoutine() alongside main 2025-06-09 17:13:07 +02:00