NCPA 2.1.1 Service Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
twalters2
Posts: 6
Joined: Wed Sep 06, 2017 10:08 am

NCPA 2.1.1 Service Error

Post by twalters2 »

NCPA client has been working fine on our CentOS servers until we upgraded the client to 2.1.1. Now when monitoring the services the NCPA XI wizard the services monitored return the following error. This worked before the upgrade but now it doesn't. Is this a bug in the new NCPA client?

The node (service) requested does not exist. You may be trying to access the 'services' node.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NCPA 2.1.1 Service Error

Post by npolovenko »

Hello, @twalters2. Can you upload service definitions from the XI server?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sm00thindian
Posts: 10
Joined: Thu Dec 18, 2014 1:27 pm

Re: NCPA 2.1.1 Service Error

Post by sm00thindian »

I have the same issue:
Item in << >> are obfuscated intentionally:

it's a check_xi_ncpa

Command View: $USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
$ARG1$ -t '<<ACTIVE-TOKEN>>' -P <<PORT>> -M 'service/<<SERVICE_NAME>>/running'
Crecelius
Posts: 2
Joined: Tue Jun 27, 2017 1:07 pm

Re: NCPA 2.1.1 Service Error

Post by Crecelius »

I'm seeing this problem too using NCPA 2.1.1. Is there any resolution?? I get the "The node (service) requested does not exist. You may be trying to access the 'services' node." with the status as being "Unknown"

I've updated the check_ncpa.py in the plugins, still same issue...here is a part of the service config that I'm seeing this on...

define service {
host_name dja-tst-ecap9.ct.er.lcl
service_description Service Status: ncpalistener
use xiwizard_ncpa_service
check_command check_xi_ncpa!-t '(removedtoprotecttheinnocent)' -P 5693 -M 'service/ncpalistener/running'
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts crecelp
_xiwizard ncpa
register 1
}
dgannon
Posts: 4
Joined: Tue Mar 10, 2015 8:44 am

Re: NCPA 2.1.1 Service Error

Post by dgannon »

Just adding to the chorus. We just started seeing this same issue yesterday. In addition, monitoring of disk usage returns just "The node (". And that's it.
kyang

Re: NCPA 2.1.1 Service Error

Post by kyang »

Crecelius try changing the check to something like this and see if it works after you apply config and force an immediate recheck on that service.

Code: Select all

 -t 'yourtoken' -P 5693 -M 'services' -q 'service=ncpalistener,status=running'
Breaking up the -M

@dgannon, Do you have a check_command for the disk usage check we could see? Or are you going to open a new thread on that issue?
It may be easier, so we aren't answering two questions even though they may be related.

Crecelius, let us know if that works.
dgannon
Posts: 4
Joined: Tue Mar 10, 2015 8:44 am

Re: NCPA 2.1.1 Service Error

Post by dgannon »

Apologies. I should have included this in my previous post.

This is the command as it was generated by the ncpa wizard (with the thresholds bumped up):

Code: Select all

check_xi_ncpa!-t <redacted> -P 5693 -M 'disk/logical/|mnt|miui/used_percent' -w 96 -c 98
And for the record, this is the command for the service checks; in this case httpd:

Code: Select all

check_xi_ncpa!-t <redacted> -P 5693 -M 'service/httpd/running'
dgannon
Posts: 4
Joined: Tue Mar 10, 2015 8:44 am

Re: NCPA 2.1.1 Service Error

Post by dgannon »

Just tried this for the service check:

Code: Select all

check_xi_ncpa!-t <REDACTED> -P 5693 -M 'services' -q 'service=httpd,status=running'
And it works.
Crecelius
Posts: 2
Joined: Tue Jun 27, 2017 1:07 pm

Re: NCPA 2.1.1 Service Error

Post by Crecelius »

@kyang, thanks a lot, that fixed my check...since It originally came from the NCPA wizard, I looked into why...turns out my wizard wasn't updated...the updated version now specifies these checks correctly.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: NCPA 2.1.1 Service Error

Post by dwhitfield »

@twalters2, did @kyang's suggestion resolve this for you?
Locked