Hello !!
I'm trying to get windows Active Directory counters from 'Security System-Wide Statistics' on NCPA agent and cannot get any counters from that. I tough it was some special charactere issue.
Others counters works like :
'windowscounters/DirectoryServices(*)/LDAP Bind Time'
'windowscounters/DirectoryServices(*)/LDAP Client Sessions'
...
Config of the service in question:
Check command:
check_xi_ncpa_agent
Command view:
$USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
$ARG1$:
-t 'apikey' -P 5693 -M 'windowscounters/Security System-Wide Statistics/Kerberos Authentications' -w 3 -c 4
Sorry for my poor english writting !!
Thank you
windowscounter problem 'Security System-Wide Statistics'
Re: windowscounter problem 'Security System-Wide Statistics'
Hi PowerDom,
If you run the command manually you see performance metric ??
If you run the command manually you see performance metric ??
Re: windowscounter problem 'Security System-Wide Statistics'
Hi BennyBoy,
It's not a script ! I'm using the API windowscounter direct from the NCPA Agent !!!
It's not a script ! I'm using the API windowscounter direct from the NCPA Agent !!!
Re: windowscounter problem 'Security System-Wide Statistics'
Hi BennyBoy,
All other counters works, but not that specific one: "Security System-Wide Statistics" !!! I don't know if the hyphen could be the problem !!!
All other counters works, but not that specific one: "Security System-Wide Statistics" !!! I don't know if the hyphen could be the problem !!!
Re: windowscounter problem 'Security System-Wide Statistics'
Can you publish the output of the check_ncpa command please.
-
kyang
Re: windowscounter problem 'Security System-Wide Statistics'
Thanks @bennyboy,
Along with bennyboy's information on using it with check_ncpa.py
Could you take a screenshot of what it looks like in the UI for NCPA?
What version of the NCPA agent do you have?
Along with bennyboy's information on using it with check_ncpa.py
Could you take a screenshot of what it looks like in the UI for NCPA?
What version of the NCPA agent do you have?
Re: windowscounter problem 'Security System-Wide Statistics'
The NCPA agent version is 2.0.5
There are some screenshot :
The problem counter in windows perfmon with result: The problem counter contain 0 result: Another counter working with NCPA API containing hyphen: So, my hyphen theory is wrong !!!
There are some screenshot :
The problem counter in windows perfmon with result: The problem counter contain 0 result: Another counter working with NCPA API containing hyphen: So, my hyphen theory is wrong !!!
You do not have the required permissions to view the files attached to this post.
-
kyang
Re: windowscounter problem 'Security System-Wide Statistics'
You could try upgrading to the newest version of the agent 2.0.6?
Otherwise, since you opened an issue on Github. The NCPA developer could give you better insight on this.
Are we okay to lock this up?
Otherwise, since you opened an issue on Github. The NCPA developer could give you better insight on this.
Are we okay to lock this up?
Re: windowscounter problem 'Security System-Wide Statistics'
OK !! the problem is solved !
This counter is a 'per sec' counter. So i have to put a 'sleep' time in the command URL like &sleep=1. The URL look something like this:https://WinServerX:5693/api/windowscounters/Security System-Wide Statistics/Kerberos Authentications?sleep=1&check=true
So , for the service configuration in Nagios XI, I add at the end of $ARG1$ -q 'sleep=1'
It work fine after that !!
Thank you for your help.
This counter is a 'per sec' counter. So i have to put a 'sleep' time in the command URL like &sleep=1. The URL look something like this:https://WinServerX:5693/api/windowscounters/Security System-Wide Statistics/Kerberos Authentications?sleep=1&check=true
So , for the service configuration in Nagios XI, I add at the end of $ARG1$ -q 'sleep=1'
It work fine after that !!
Thank you for your help.