Commit Graph

29 Commits

Author SHA1 Message Date
adf033318a Add systemd service file 2025-06-16 23:54:55 +02:00
6969e609c0 Fix golangci-lint issues 2025-06-16 23:36:36 +02:00
4fdd0769a5 go mod tidy 2025-06-11 00:27:06 +02:00
d408ec2867 move to untimestamped logs, tag the lots INFO and DEBUG. Update tests 2025-06-11 00:22:16 +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
467975b9d6 move agentx into its own directory, simplify main.go 2025-06-10 13:28:30 +02:00
458168e308 Add -vppcfg flag to set ifAlias from the 'description' fields in vppcfg.yaml 2025-06-09 19:12:05 +02:00
069b1b6fc2 Update README 2025-06-09 18:19:38 +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
a51efbf471 add ifEntry MIB also 2025-06-09 17:51:06 +02:00
396d2ace00 Trailing newline 2025-06-09 17:45:54 +02:00
3623c05f6e Add autogenerated README 2025-06-09 17:40:34 +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
6d6856d206 Remove mock OIDs and rename -addr to -agent-addr 2025-06-09 17:17:16 +02:00
771cc6ff48 Temporarily add go-agentx (w/ fixes to lexico ordering) 2025-06-09 17:14:28 +02:00
824496c402 Add a VppStatsRoutine() alongside main 2025-06-09 17:13:07 +02:00
fd645366b8 Add -addr flag, include ability to use unix path 2025-06-09 16:56:24 +02:00
363215eaab First stab, an empty main.go which comes from the go-agentx upstream module 2025-06-09 16:54:28 +02:00