Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
nozlaf
Posts: 172 Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia
Post
by nozlaf » Wed Jul 04, 2018 7:46 pm
so I had hoped to run an active check to return the agent version of the ncpa agent and windows version to co-ordinate upgrades
Code: Select all
./check_ncpa.py -H servername -t 'token' -M 'system/release'
seemed to work great! (does work great using ncpa 2.1.4)
however I found that the older ncpa client (1.8.1) returned
is there an easy way around this that I am not aware of? or do I need to have different checks for different ncpa versions ?
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
lmiltchev
Former Nagios Staff
Posts: 13587 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Thu Jul 05, 2018 11:22 am
The latest plugin is supposed to handle this for you.
https://github.com/NagiosEnterprises/nc ... ck_ncpa.py
Try it with:
Code: Select all
./check_ncpa.py -H servername -t 'token' -M 'system/release'
and
Code: Select all
./check_ncpa.py -H servername -t 'token' -M 'system/agent_version'
run against machines with 2.1.4 and 1.8.1 againt installed, and let us know if it worked for you.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
nozlaf
Posts: 172 Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia
Post
by nozlaf » Thu Jul 05, 2018 1:52 pm
lmiltchev wrote: The latest plugin is supposed to handle this for you.
yeah I thought this was the case but I was already running the latest
I just double checked that there wasn't an issue with the tar.gz version from your website so grabbed the github version and both are the same version number and yield same result
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
nozlaf
Posts: 172 Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia
Post
by nozlaf » Sat Jul 07, 2018 12:09 am
lmiltchev wrote: Can you try upgrading your plugin to ver. 1.1.4 and see if this is going to fix your issue?
Yep fixed the issue
thanks for fixing this
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
tmcdonald
Posts: 9117 Joined: Mon Sep 23, 2013 8:40 am
Post
by tmcdonald » Mon Jul 09, 2018 10:45 am
Great to hear! Did you have further (related) questions or are we good to lock this up?
Former Nagios employee
nozlaf
Posts: 172 Joined: Sun Nov 09, 2014 9:50 pm
Location: Victoria, Australia
Post
by nozlaf » Wed Jul 11, 2018 6:27 pm
lock it up
Looking forward to seeing you all at #NagiosCon2019?
-Dedicated Lover of Nconf,PNP4Nagios and Nagvis
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Thu Jul 12, 2018 7:16 am
nozlaf wrote: lock it up
Locking