I am trying to monitor a router in a dmz. For some reason everything appears to communicate properly except for the bandwidth stats they all report back 0 in 0 out. I am wondering if this is from the router setup or could it be a firewall issue ? All of our internal routers report back proper stats. What port / protocol is need for this check ?
check_xi_service_mrtgtraf!xxx.xxx.xxx.xxx.rrd!500,500!800,800!M!!!!
Comm issue behind firewall
Comm issue behind firewall
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Comm issue behind firewall
This is snmp get requests, which are over port 161 generally, and use udp. It is entirely possible that mrtg is not getting data returned, so it fills zeros or nans, which the bandwidth check that looks at mrtg rrds is reporting 0 because of this. You can test snmp connectivity with:
Code: Select all
nmap -sU -p 161 [hostname\ip]Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Comm issue behind firewall
thank you I will further troubleshoot and get back
Re: Comm issue behind firewall
nmap results look good
You do not have the required permissions to view the files attached to this post.
Re: Comm issue behind firewall
Is the community correct? Can you walk the host?
or:
Code: Select all
snmpwalk -c <community> -v1 <ip of remote host>Code: Select all
snmpwalk -c <community> -v2c <ip of remote host>Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Comm issue behind firewall
What type of firewall is this? I know for a fact that bandwidth on a Cisco ASA uses a different OID than the router/switch. Can you do a SNMP get to see if the OID you are using is providing a value?
Re: Comm issue behind firewall
btemple, did you get a chance to look at abrist or dfmco's answers?
Former Nagios employee