Page 1 of 1

monitoring a public client behind firewall

Posted: Tue Mar 03, 2015 5:38 am
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

Re: monitoring a public client behind firewall

Posted: Tue Mar 03, 2015 9:58 am
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?

Re: monitoring a public client behind firewall

Posted: Tue Mar 03, 2015 10:02 am
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

Re: monitoring a public client behind firewall

Posted: Tue Mar 03, 2015 10:07 am
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.

Re: monitoring a public client behind firewall

Posted: Tue Mar 03, 2015 10:16 am
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

Re: monitoring a public client behind firewall

Posted: Tue Mar 03, 2015 10:50 am
by jdalrymple
You're very welcome, happy to help.

Locking this thread also.