NCPA Setup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
JoseLopez
Posts: 10
Joined: Thu Jul 17, 2014 2:33 pm

NCPA Setup

Post by JoseLopez »

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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: NCPA Setup

Post by sreinhardt »

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!
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.
JoseLopez
Posts: 10
Joined: Thu Jul 17, 2014 2:33 pm

Re: NCPA Setup

Post by JoseLopez »

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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA Setup

Post by lmiltchev »

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!
JoseLopez
Posts: 10
Joined: Thu Jul 17, 2014 2:33 pm

Re: NCPA Setup

Post by JoseLopez »

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
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

Post by slansing »

Hi Jose,

You should be able to find that log under the var directory in your installation folder.
JoseLopez
Posts: 10
Joined: Thu Jul 17, 2014 2:33 pm

Re: NCPA Setup

Post by JoseLopez »

Not sure how to fix this error, or even if it is one.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: NCPA Setup

Post by jomann »

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.
JoseLopez
Posts: 10
Joined: Thu Jul 17, 2014 2:33 pm

Re: NCPA Setup

Post by JoseLopez »

So, I can say that I was the cause of a change in Nagios?

Does that mean I can get an award?! :D
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: NCPA Setup

Post by jomann »

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked