NCPA 2.1.1 Service Error
NCPA 2.1.1 Service Error
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.
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
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
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'
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'
Re: NCPA 2.1.1 Service Error
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
}
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
}
Re: NCPA 2.1.1 Service Error
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
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.
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.
Code: Select all
-t 'yourtoken' -P 5693 -M 'services' -q 'service=ncpalistener,status=running'@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.
Re: NCPA 2.1.1 Service Error
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):
And for the record, this is the command for the service checks; in this case httpd:
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 98Code: Select all
check_xi_ncpa!-t <redacted> -P 5693 -M 'service/httpd/running'Re: NCPA 2.1.1 Service Error
Just tried this for the service check:
And it works.
Code: Select all
check_xi_ncpa!-t <REDACTED> -P 5693 -M 'services' -q 'service=httpd,status=running'Re: NCPA 2.1.1 Service Error
@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
@twalters2, did @kyang's suggestion resolve this for you?