Good Afternoon All,
I installed the NCPA Agent (ncpa-1.7.1) on a server (Windows 2008 R2) everything went smooth following the How-To Guide (http://assets.nagios.com/downloads/ncpa ... ation.html). Doing both Active and Passive checks all defaults setup but the NCPA Wizard. We are using Nagios version 2014R1.4
Some of the checks come back OK however are not reporting anything those being:
Outbound Bandwidth - OK: bytes_sent was 0M/sec
Inbound Bandwidth - OK: bytes_recv was 0M/sec
This server has multiple (100's) of users accessing it at all times, very unlikely to always not sending even 1MB all day. There are multiple of these as there is more than 1 NIC.
Even worse however, all of the following come back as Down "Critical":
Swap Usage - CRITICAL: percent was 15%
Main Memory Usage - CRITICAL: percent was 36%
Disk Usage on C:_ - CRITICAL: used_percent was 70%
Disk Usage on D:_ - CRITICAL: used_percent was 58%
Disk Usage on E: - CRITICAL: used_percent was 100%
CPU Usage - CRITICAL: percent was 27%,0%,7%,0%,0%,0%,0%,0%,0%,0%,27%,0%,26%,20%,0%,0%,34%,0%,73%,0%,7%,0%,3%,0%,3%,0%,0%,0%,0%,20%,0%,0%
When I went to "https://<ipaddress>:5693/api/disk/logical/%7C/used_percent" and downloaded the API file it provides me with the following information:
{
"value": {
"NodeDoesNotExist": {}
}
}
When I just goto the https://<ipaddress>:5693 site and enter the Token, I get the server name and OS installed and generic info like that. But in "See Live Stats" I get:
cpu/percent
Current None
Min Inf
Max -Inf
Average None
And the same info across the board for all the checks. Except Network Interfaces which gives me a blank page.
I looked around and didn't find anything on the forum which is why I created this post. If there is another post I am sorry. Your help is greatly appreciated. Thank you.
NCPA Setup
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: NCPA Setup
Could you show the current settings you have on these checks, it seems like you might have set the warning and critical a little low. This would also help with the network usage check, as my guess is that you accidentally selected an isatap interface or something of that nature.
As for the disk url, you want to use: [drive letter:| so I would use D:| to see the d:\ drives usage. This can't really be changed due to the url formatting.
No worries on the post, we'd much rather have feedback to make things better!
As for the disk url, you want to use: [drive letter:| so I would use D:| to see the d:\ drives usage. This can't really be changed due to the url formatting.
No worries on the post, we'd much rather have feedback to make things better!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: NCPA Setup
The Critical Setup is what is there by default for example for the C it's:
check_xi_ncpa_agent!-t '<PASSWORD>' -P 5693 -M 'disk/logical/C:|/used_percent' -w 70 -c 90
As for the network interface being ISATAP I don't think so.
The Drive URL is the same for any of the drives I have I just used the C for the example. But, regardless of the drive the information is not correct. Also, on the server itself if I "manually" check the percentages and things of the like they are all well below 50% or what would be marked a critical or even as a warning. So, this is most definately a false positive.
check_xi_ncpa_agent!-t '<PASSWORD>' -P 5693 -M 'disk/logical/C:|/used_percent' -w 70 -c 90
As for the network interface being ISATAP I don't think so.
The Drive URL is the same for any of the drives I have I just used the C for the example. But, regardless of the drive the information is not correct. Also, on the server itself if I "manually" check the percentages and things of the like they are all well below 50% or what would be marked a critical or even as a warning. So, this is most definately a false positive.
Re: NCPA Setup
Can you post the "ncpa_listener.log", so that we can take a look at it?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA Setup
ncpa_listener.log
[09196] 2014/08/20 23:06:45.808 starting logging at level ERROR
ncpa_passive.log
[15884] 2014/08/20 23:06:46.547 starting logging at level ERROR
[09196] 2014/08/20 23:06:45.808 starting logging at level ERROR
ncpa_passive.log
[15884] 2014/08/20 23:06:46.547 starting logging at level ERROR
Last edited by JoseLopez on Mon Aug 25, 2014 12:53 pm, edited 1 time in total.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: NCPA Setup
Hi Jose,
You should be able to find that log under the var directory in your installation folder.
You should be able to find that log under the var directory in your installation folder.
Re: NCPA Setup
Not sure how to fix this error, or even if it is one.
Re: NCPA Setup
There is going to be a 1.7.2 release shortly (within the next 2 hours) to fix the bug you're currently having. Your checks are probably set up correctly but the Warning/Critical values are getting truncated at the 1st character.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NCPA Setup
So, I can say that I was the cause of a change in Nagios?
Does that mean I can get an award?!
Does that mean I can get an award?!
Re: NCPA Setup
Definitely a change in NCPA! You were one of two people who had mentioned this issue yesterday and we wanted to get this fixed ASAP.
The 1.7.2 version is out if you didn't see the release last night, it's updated on our downloads page here: http://assets.nagios.com/downloads/ncpa/download.php
The 1.7.2 version is out if you didn't see the release last night, it's updated on our downloads page here: http://assets.nagios.com/downloads/ncpa/download.php
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.