I would like to monitor a network device (a disarray) which is attached to a server with its own local network (10.0.0.x). The server is reachable from another private space (172.16.x.x).
I can do snmpwalk between my monitoring server and the machine in question. But I would also like to monitor the disk array attached to the server in question.
Some sort of SNMP proxying or NATing comes to mind. So this could be a question on how to enable NAT (which would allow udp) on MacOS
Thanks
If it's a mac... just enable routing traffic between the two networks. You can do this by enabling packet-forwarding.
Basically, this will make your mac into a simple ip router. You may want to enable firewall rules to limit traffic to/from/through your mac tho. Keep in mind, unless your "outside" machine (the one doing the snmpwalk) is using your mac as a router, you'll need to manually add a route to the 10. network using your mac as the gateway. i.e.
You can define a custom OID in the SNMP config on the server which will execute the required snmpwalk commands. Your monitoring server would then query these OIDs on the server, which would then query the disk array, and pass the results back. Kind of a hack, but no worse then setting up routing on the server.