Hi Nagios,
The remote service is running. NCPA returns it as unknown. I think this is related to the user? Is this a known thing? How would I go about troubleshooting this?
Thanks,
Max
NCPA Unknown
-
Maxwellb99
- Posts: 97
- Joined: Tue Jan 26, 2016 5:29 pm
-
Maxwellb99
- Posts: 97
- Joined: Tue Jan 26, 2016 5:29 pm
NCPA Unknown
Hi Nagios,
Not 100% sure if this is the space for this, but I'm sure you'll let me know.
My network Knowledge isn't great, my Linux knowledge isn't great either. I'm not really sure how I'm an admin. Ok, that aside.
I've got a host where previously we were getting check_NCPA results. I'll say "one day" (arbitrary day, not following patches or any changes as far as I know) it stopped working & check_tcp reveals port 5693 is connection refused. netstat doesn't show it listening on 5693. I uninstalled the agent & reinstalled it via yum including opening the firewall rules which says " Warning: ALREADY_ENABLED: '5693:tcp' already in 'public' "
5693 is still connection refused. What's the next step in troubleshooting this?
Thanks,
Max
Not 100% sure if this is the space for this, but I'm sure you'll let me know.
My network Knowledge isn't great, my Linux knowledge isn't great either. I'm not really sure how I'm an admin. Ok, that aside.
I've got a host where previously we were getting check_NCPA results. I'll say "one day" (arbitrary day, not following patches or any changes as far as I know) it stopped working & check_tcp reveals port 5693 is connection refused. netstat doesn't show it listening on 5693. I uninstalled the agent & reinstalled it via yum including opening the firewall rules which says " Warning: ALREADY_ENABLED: '5693:tcp' already in 'public' "
5693 is still connection refused. What's the next step in troubleshooting this?
Thanks,
Max
Re: NCPA Unknown
The first thing I would do is make sure that the NCPA listener service is running on that machine. The command you need to use to check or start the service will vary based on what operating system you are using, but it usually has ncpa_listener in the name.
Then you could probe that port with nmap to make sure that it is open and running said service.
If neither of those things are it, you could also have a look at the configuration file on the machine, just to make sure that the service was not assigned to another port or something. Oh, and be sure to double check that the community string is correct!
For more detailed instructions on how to setup NCPA, refer to the following documentation.
installing NCPA
Code: Select all
systemctl restart ncpa_listener.serviceCode: Select all
nmap -p 5693 <host IP>Code: Select all
/usr/local/ncpa/etc/ncpa.cfginstalling NCPA
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!