Re: NCPA Check see only one result instead of 3.
Posted: Fri May 05, 2017 1:18 pm
I use mod_gearmanlmiltchev wrote:Are you using modgearman or livestatus?
lmiltchev wrote:I am sure you updated your plugin as the output in the CLI that you showed us is correct. Also, your service definition is valid. I would assume that you haven't changed the default command definition for the "check_xi_ncpa" command, have you? Can you show it, along with the output of the command below?Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -V
Code: Select all
[root@servername ~]# /usr/local/nagios/libexec/check_ncpa.py -V
check_ncpa.py, Version 1.1.1That the solution... I don't remember that particularity.lmiltchev wrote:If you are using modgearman, it is possible that the job is picked up by the worker, but the NCPA plugin hasn't been updated on the worker machine.
Before updating all worker...
Code: Select all
[root@worker1 libexec]# ./check_ncpa.py -V
check_ncpa.py, Version 1.0.2Code: Select all
[root@worker1 libexec]# ./check_ncpa.py -V
check_ncpa.py, Version 1.0.2
Now I see all the services