Comm issue behind firewall

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Comm issue behind firewall

Post by btemple »

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!!!!
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

Post by sreinhardt »

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.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Comm issue behind firewall

Post by btemple »

thank you I will further troubleshoot and get back
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Comm issue behind firewall

Post by btemple »

nmap results look good
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Comm issue behind firewall

Post by abrist »

Is the community correct? Can you walk the host?

Code: Select all

snmpwalk -c <community> -v1 <ip of remote host>
or:

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.
dfmco
Posts: 257
Joined: Wed Dec 04, 2013 11:05 am

Re: Comm issue behind firewall

Post by dfmco »

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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Comm issue behind firewall

Post by tmcdonald »

btemple, did you get a chance to look at abrist or dfmco's answers?
Former Nagios employee
Locked