Monitor multiple SNMP hosts behind firewall
Posted: Fri Aug 19, 2011 5:05 am
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?
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
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.2Hope some one can help
Thanks