Hello,
I am monitoring my linux/ubuntu servers with nagios XI, those are monitoring perfectly fine.
This time I have disabled the iptables/ufw in both Operating systems,
Can you suggest me a way to monitor these servers with firewall enabled on it.
What changes I will have to made in iptables to get this done.
Thanks
Enable firewall linux/Ubuntu for nagios XI
Re: Enable firewall linux/Ubuntu for nagios XI
This is beyond the scope of support we can provide. You'll need to have your network team open up the ports accordingly.
If you're using NRPE, then Nagios will use port 5666, and if you have other checks going on you'll need to see which ports you are checking.
If you're using NRPE, then Nagios will use port 5666, and if you have other checks going on you'll need to see which ports you are checking.
Former Nagios Employee
Re: Enable firewall linux/Ubuntu for nagios XI
Thanks,
I will add all respective ports, but my question was that where do we need to add these ports added in iptables.
on nagios server or linux clients...
I will add all respective ports, but my question was that where do we need to add these ports added in iptables.
on nagios server or linux clients...
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Enable firewall linux/Ubuntu for nagios XI
Are you running NRPE or NCPA?
Re: Enable firewall linux/Ubuntu for nagios XI
You need to add them on the client side, so that the port is OPEN incoming, that way Nagios can probe the machine on the port.
Former Nagios Employee
Re: Enable firewall linux/Ubuntu for nagios XI
I am using NRPE on both linux and Ubuntu
Thanks
Thanks
Re: Enable firewall linux/Ubuntu for nagios XI
Then the port is 5666 that Nagios will be accessing the client machines on.
Former Nagios Employee
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Enable firewall linux/Ubuntu for nagios XI
Did opening that port work for you?