ncpa error messages and bugs 1.0/1.1

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
danieloo
Posts: 27
Joined: Mon Feb 13, 2012 11:12 am

Re: ncpa error messages and bugs 1.0/1.1

Post by danieloo »

My issues with ncpa debian:
- both init.d files

Code: Select all

status() {
        if [ -f /usr/local/ncpa/var/ncpa_posix_listener.pid ]; 
        then
            pid=`cat /usr/local/ncpa/var/ncpa_posix_listener.pid`
changes to:

Code: Select all

status() {
        if [ -f /usr/local/ncpa/var/ncpa_passive.pid ];
        then
            pid=`cat /usr/local/ncpa/var/ncpa_passive.pid`
posix removed and a space is added before the closing bracket in the if statement
further there seems to be a problem with capital config variables being used in /usr/local/ncpa/passive/nrds.py
Please use either lowercase or uppercase throughout the software.. i changed them to all lowercase as the listener and web uses lowercase.

When using nrds and all above is correctly configured it downlaods the new config but completely overwrites the current config of ncpa rendering ithe config completely useless.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: ncpa error messages and bugs 1.0/1.1

Post by sreinhardt »

Could you please open your own thread, even though these are issues with the same agent, we like to be sure that the OPs issue is resolved, and will lock the thread once that is done. Also these sound like issues that might be best presented as an issue posted to the ncpa github page so that it may be properly tracked, but it's hard to say without further details.
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.
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: ncpa error messages and bugs 1.0/1.1

Post by questrad »

Hello

Any update on having NCPA package for el5?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: ncpa error messages and bugs 1.0/1.1

Post by nscott »

As far as the el5 package for NCPA, we are getting some game breakers fixed, and then we'll release a 1.7 (yes there have been a lot of internal changes prompting a massive jump in versioning) release for all platforms.

In regards to the NRDS issue, this should also be fixed, but it should also be noted that this is also due in part to the NRDS config manager for XI does not have the NCPA portion exposed. This will be fixed, but just as a foresight reminder, the NRDS config manager component on the XI server will have to be updated as well.

/Nick
Nicholas Scott
Former Nagios employee
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: ncpa error messages and bugs 1.0/1.1

Post by questrad »

Thanks Nicholas for update.
Just any ETA when it will be done, because we are redesigning our whole NagiosXI server and want to implemented NCPA from the beginning.


Thanks

/Vardan
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: ncpa error messages and bugs 1.0/1.1

Post by questrad »

Hello Nicholas,

I don't know if you know this issue or not, I have installed ncpa 1.5 on Windows for testing and found issue using delta.

1. https://dtqtg011563.tor.quest.com:5693/ ... =M&delta=1
This does not show me the delta
{
"value": {
"bytes_recv": [
992055037,
"b"
]
}
}

2. https://dtqtg011563.tor.quest.com:5693/ ... =1&check=1
Have this error:
Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

3. https://dtqtg011563.tor.quest.com:5693/ ... =M&check=1
Works as expected:

{
"value": {
"returncode": 2,
"stdout": "CRITICAL: Bytes_recv was 993.526Mb|'bytes_recv_0'=993.526Mb;10;100"
}
}

Regards,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: ncpa error messages and bugs 1.0/1.1

Post by tmcdonald »

We don't have an ETA currently for NCPA, unfortunately. Nick is working on it however, and I can talk to him later about it.

As for the issue, would you want to open a bug report for that at tracker.nagios.com or should I?
Former Nagios employee
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: ncpa error messages and bugs 1.0/1.1

Post by questrad »

Maybe better you, because I cannot find NCPA project.

Thanks
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: ncpa error messages and bugs 1.0/1.1

Post by sreinhardt »

Any bug reports for ncpa would actually be pointed at github not tracker.nagios.com. The specific account you are looking for is:
https://github.com/NagiosEnterprises/ncpa
We would welcome any bugs reported, that you might find.
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.
questrad
Posts: 160
Joined: Wed Mar 21, 2012 3:08 pm
Location: Toronto
Contact:

Re: ncpa error messages and bugs 1.0/1.1

Post by questrad »

Thanks for pointing in to correct place for bug reporting
It is done: https://github.com/NagiosEnterprises/ncpa/issues/4

Question about ETA for new version of NCPA for Windows, el5, el6?

Regards
Locked