Problem with check_ncpa.py and multiple services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Problem with check_ncpa.py and multiple services

Post by bennyboy »

Hi,

I try to monitor multiple service in 1 check with NCPA. I read the doc but the command not working.

Code: Select all

https://servername:5693/api/services?service=MSSQLSERVER&service=SQLSERVERAGENT&check=true&status=running

{ "returncode": 0, "stdout": "OK: MSSQLSERVER is running, SQLSERVERAGENT is running" }
But….

Code: Select all

./check_ncpa.py -H servername -t 'our token' -M 'service' -q 'service=MSSQLSERVER,service=SQLSERVERAGENT,status=running' 
Return only one service status

Code: Select all

OK: SQLSERVERAGENT is running
Please help!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Problem with check_ncpa.py and multiple services

Post by cdienger »

Our dev team is aware of this and looking into it. You can track the issue at https://github.com/NagiosEnterprises/ncpa/issues/332.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: Problem with check_ncpa.py and multiple services

Post by bennyboy »

cdienger wrote:Our dev team is aware of this and looking into it. You can track the issue at https://github.com/NagiosEnterprises/ncpa/issues/332.
Nice work :)

https://github.com/NagiosEnterprises/nc ... 6b57226be0

I will test it in couple minutes :)
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Problem with check_ncpa.py and multiple services

Post by cdienger »

Sounds good!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: Problem with check_ncpa.py and multiple services

Post by bennyboy »

Working fine for us.

Thank you !
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Problem with check_ncpa.py and multiple services

Post by cdienger »

Glad to hear. Any additional questions or are we good to lock this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bennyboy
Posts: 157
Joined: Thu Oct 29, 2015 9:42 am

Re: Problem with check_ncpa.py and multiple services

Post by bennyboy »

No more question for the moment. Thank you!
Locked