SNMP check through a port foward
Posted: Fri Aug 24, 2012 1:34 pm
I'm running Nagios XI (trial) on VMware player. I downloaded and installed the VM from the Nagios website.
I'm having some issues with setting up monitoring a device behind a port forward. (i.e. I port forwarded port 161 [snmp] to a device behind a firewall).
I used the "SNMP Monitor Wizard" to create the device and added the services I wanted to monitor, however it doesn't work.
I looked into the service detail for one of the MIBs i'm trying to capture and found this:
CMD: /usr/bin/snmpget -t 1 -r 5 -m RFC1213-MIB -v 2c [authpriv] ipvegas.hotelwifi.com:64161:161 ifOperStatus.3
As you can see, it's adding port 161 (:161) after the port forward which I'm guessing is the reason it is not working.
Can someone help me with this?
Best,
Rafael
I'm having some issues with setting up monitoring a device behind a port forward. (i.e. I port forwarded port 161 [snmp] to a device behind a firewall).
I used the "SNMP Monitor Wizard" to create the device and added the services I wanted to monitor, however it doesn't work.
I looked into the service detail for one of the MIBs i'm trying to capture and found this:
CMD: /usr/bin/snmpget -t 1 -r 5 -m RFC1213-MIB -v 2c [authpriv] ipvegas.hotelwifi.com:64161:161 ifOperStatus.3
As you can see, it's adding port 161 (:161) after the port forward which I'm guessing is the reason it is not working.
Can someone help me with this?
Best,
Rafael