Hi,
I don't seem to be able to find it in the doco - how can I check version of NCPA agent running on the host . I tried check_ncpa.py -H <hostname> -V
It returns 1.1.1 which I presume is the version of check_ncpa.py command, not NCPA agent itself
Thanks
Genna
How to check NCPA agent version
Re: How to check NCPA agent version
Here's an example of checking the NCPA agent version:
Let us know if you have any more questions.
Code: Select all
[root@main-nagios-xi ~]# /usr/local/nagios/libexec/check_ncpa.py -H <remote ip> -t 'mytoken' -P 5693 -M system/agent_version
OK: Agent_version was ['2.1.1']Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: How to check NCPA agent version
Hello,
Thanks for your reply.
That works. I wondered if there is a way to do so on the host itself, not from Nagios Server (for Puppet automation for example) But will do for now.
Thanks again,
Genna
Thanks for your reply.
That works. I wondered if there is a way to do so on the host itself, not from Nagios Server (for Puppet automation for example) But will do for now.
Thanks again,
Genna
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: How to check NCPA agent version
@genna, You could run a curl command on a host to get the ncpa version:
Code: Select all
curl -k -XGET "https://localhost:5693/api/system/agent_version?token=mytoken"As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: How to check NCPA agent version
Thanks,
That will do the trick
That will do the trick
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: How to check NCPA agent version
@genna, No problem. I'll go ahead and lock this topic for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.