monitoring a public client 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
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

monitoring a public client behind firewall

Post by ziedmahjoub »

Hi Nagios team,

Really thanks for all the support that you are provinding its really very helpful,

i need to monitor a distant machine with public address but behind a firewall box, i need to NAT traffic on Nagios listening TCP ports 12489 and 5666.
i've made a rule for the firewall to allow TCP traffic from WAN to LAN , but it seems that the services still
CRITICAL - Socket timeout after 10 seconds

did i forgot something ? or any solutions .

thanks
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: monitoring a public client behind firewall

Post by jdalrymple »

Hi ziedmahjoub, is this an extension of the configuration that we had before? I think we had you working on at least 1 host on 1 private network. Is this a new host on a new network, or maybe a new host on the same network?
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: monitoring a public client behind firewall

Post by ziedmahjoub »

hi jdalrymple,

yes , its a host in another new network , but this time its behind a firewall , i've contacted the firewall company and they gave me some tips , i need to try them before first .

thanks
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: monitoring a public client behind firewall

Post by jdalrymple »

It might be useful to just make sure that the port is listening on the nsclient host. You can use netstat on the Windows host or an even more thorough test would be to telnet port 5666 and port 12489 from a machine on the same network, not on the opposite side of the firewall. This way you can be certain it is the problem of the firewall and not the Windows configuration.
ziedmahjoub
Posts: 142
Joined: Fri Jan 16, 2015 5:22 am

Re: monitoring a public client behind firewall

Post by ziedmahjoub »

Its ok jdalrymple,

it worked :D , i'm happy , i just made a configuration from the firewall to NAT the traffic that's all
it was a bit difficult because i'm not used to configure Cyberoam firewalls but its ok now thank you jdalrymple .

You're always here for my questions thanks a lot
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: monitoring a public client behind firewall

Post by jdalrymple »

You're very welcome, happy to help.

Locking this thread also.
Locked