Let me first explain what I’m doing, maybe there is a better way to do it.
On a linux server, I need to log ping response times from different interfaces on that server.
serverA-int0 ping 1.1.1.1 30ms
sererrA-int1 ping 1.1.1.1 120ms
and so on
I added a bash script that takes care of this and then added some snmpd extends.
I then went to the server and added the custom OID. Data shows up correctly and the graphs are good. The issue is that I need to replicate adding the custom OIDs to several other servers. I would do this with the API but I didn’t see any end points that would allow for this.
- Can I do this with the API?
- Is there another way to automate this?
- Should I rework what I’m doing?