Ideas (#2) - SNMP Proxy (#149) - Message List
Is it possible for NSClient to act as a "proxy" for SNMP requests? I have my Nagios server on one subnet and an SNMP device (i.e. UPS, printer) on another.
The routers here filter out SNMP across subnets and instead of going to the effort of getting each and every SNMP device setup to filter through the router I figured it would be useful (and faster) to have an NSClient++ device poll an SNMP device and then pass them on itself (whether it says it's from itself or actually forwards on the originator's details is neither here nor there for my purpose).
theoretically yes, NSClient++ does not have any snmp functions at all but it can be extended with external scripts and such so you could write a script that polls your SNMP hosts and query that via NSClient++.
The drawback I would say is that the "server" in NSClient++ is not a high performance server so if you have many hosts it will not work. But since it is subnet I am assuming you are talking about a limited number of checks. And if you want to submit them passively it would probably not be a problem since then you don't use the server-socket.
Michael Medinmickem05/13/08 08:21:47 (5 years ago)
Perhaps this is better for the support forum? I'm not familiar with Nagios' passive checks -- would they be a more useful tool?
If NSClient++ is not up to the task I found a SNMP Proxy tool for Microsoft's SNMP but I wanted to avoid installing more onto the server (as they don't have SNMP yet) but if I must, I must.anonymous05/13/08 08:39:32 (5 years ago)
I did a bit more digging and it looks like using VBScript to parse the results of the Windows port of SNMPGET might do the trick here...anonymous05/13/08 08:43:18 (5 years ago)