Page 1 of 1

Can I monitor the local port via ncpa

Posted: Wed Jan 21, 2026 2:31 am
by vtcedu
Hi, My old nagios server use NRPE its works to monitor local port but NCPA not, any solution. Thanks.

Re: Can I monitor the local port via ncpa

Posted: Wed Jan 21, 2026 10:19 am
by cdietsch
Hi @vtcedu,

You can actually monitor TCP/UDP ports directly in Nagios XI without the need for NRPE or NCPA using the TCP/UDP Port Wizard in XI.

The following document should be helpful to you: https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Can I monitor the local port via ncpa

Posted: Thu Jan 22, 2026 12:45 am
by vtcedu
I tried your suggestion but failed, my site firewall is blocking the Nagios server's port 22 to client. Is there any method to monitor the local open port?"

Re: Can I monitor the local port via ncpa

Posted: Thu Jan 22, 2026 1:04 am
by kg2857
Try check_open_port

Re: Can I monitor the local port via ncpa

Posted: Thu Jan 22, 2026 9:38 am
by lgute
Hi @vtcedu,

If the functionality you are looking for from NCPA is missing, you can add plugins to the NCPA plugins directory, for example, /usr/local/ncpa/plugins.

Re: Can I monitor the local port via ncpa

Posted: Fri Jan 23, 2026 6:13 am
by vtcedu
kg2857 wrote: Thu Jan 22, 2026 1:04 am Try check_open_port
would you provide more inforamtion such as the check_opern_port path.

Re: Can I monitor the local port via ncpa

Posted: Fri Jan 23, 2026 6:14 am
by vtcedu
lgute wrote: Thu Jan 22, 2026 9:38 am Hi @vtcedu,

If the functionality you are looking for from NCPA is missing, you can add plugins to the NCPA plugins directory, for example, /usr/local/ncpa/plugins.
would you share any step to add NCPA plugins ?

Re: Can I monitor the local port via ncpa

Posted: Fri Jan 23, 2026 10:06 am
by lgute
@vtcedu,

You can find additional Nagios plugins or "checks" on the Nagios Exchange and GitHub.

Repositories for plugins NCPA Docs You can also search this forum for more information.

Re: Can I monitor the local port via ncpa

Posted: Fri Jan 23, 2026 1:58 pm
by kg2857
I'm curious about what you mean by local open port. The nagios server can check for an open port on some other server. That other server can check if a local port is open, but that doesn't indicate that the port is open to a third server.