Can I monitor the local port via ncpa

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
vtcedu
Posts: 16
Joined: Wed Mar 11, 2015 9:07 pm

Can I monitor the local port via ncpa

Post by vtcedu »

Hi, My old nagios server use NRPE its works to monitor local port but NCPA not, any solution. Thanks.
cdietsch
Posts: 55
Joined: Wed Aug 06, 2025 9:12 am

Re: Can I monitor the local port via ncpa

Post 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
Cheers,
- Cole
vtcedu
Posts: 16
Joined: Wed Mar 11, 2015 9:07 pm

Re: Can I monitor the local port via ncpa

Post 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?"
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: Can I monitor the local port via ncpa

Post by kg2857 »

Try check_open_port
User avatar
lgute
Posts: 410
Joined: Mon Apr 06, 2020 2:49 pm

Re: Can I monitor the local port via ncpa

Post 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.
Please let us know if you have any other questions or concerns.

-Laura
vtcedu
Posts: 16
Joined: Wed Mar 11, 2015 9:07 pm

Re: Can I monitor the local port via ncpa

Post 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.
vtcedu
Posts: 16
Joined: Wed Mar 11, 2015 9:07 pm

Re: Can I monitor the local port via ncpa

Post 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 ?
User avatar
lgute
Posts: 410
Joined: Mon Apr 06, 2020 2:49 pm

Re: Can I monitor the local port via ncpa

Post 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.
Please let us know if you have any other questions or concerns.

-Laura
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: Can I monitor the local port via ncpa

Post 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.
Post Reply