Monitor multiple SNMP hosts behind firewall

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Atrolon
Posts: 2
Joined: Wed Aug 03, 2011 7:12 am

Monitor multiple SNMP hosts behind firewall

Post by Atrolon »

I have Nagios running on Ubuntu, and I did the install following the "quick start guide", and it is monitoring multiple clients with NSClient and the NRPE protocol. This part works fine.

Now I want to add some SNMP checks, for switches, UPS and maybe some ESX(i) servers.
I have multiple locations, with multiple WAN addresses. I have no p2p or VPN between the locations. I am able to setup the firewall/Nat to get SNMP information from the main WAN device, but the problem starts when I want to monitor devices behind the firewall.

My Quieten:
Is it possible to get multiple device information, from 1 WAN, using deferent community strings?

Code: Select all

./check_snmp -H 172.16.0.1 -P 2c -C public_device1 -o .1.3.6.1.2.1.15.3.1.2
./check_snmp -H 172.16.0.1 -P 2c -C public_device2 -o .1.3.6.1.2.1.15.3.1.2
Or is the solution to setup a proxy client (maybe using the NSClient?) to send the information to nagios!?

Hope some one can help
Thanks :)
Locked