Page 3 of 4

Re: ncpa error messages and bugs 1.0/1.1

Posted: Tue May 06, 2014 9:08 am
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.

Re: ncpa error messages and bugs 1.0/1.1

Posted: Tue May 06, 2014 10:05 am
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.

Re: ncpa error messages and bugs 1.0/1.1

Posted: Thu May 08, 2014 10:01 am
by questrad
Hello

Any update on having NCPA package for el5?

Re: ncpa error messages and bugs 1.0/1.1

Posted: Thu May 08, 2014 3:48 pm
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

Re: ncpa error messages and bugs 1.0/1.1

Posted: Fri May 09, 2014 6:19 am
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

Re: ncpa error messages and bugs 1.0/1.1

Posted: Fri May 09, 2014 8:18 am
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,

Re: ncpa error messages and bugs 1.0/1.1

Posted: Fri May 09, 2014 12:51 pm
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?

Re: ncpa error messages and bugs 1.0/1.1

Posted: Fri May 09, 2014 2:14 pm
by questrad
Maybe better you, because I cannot find NCPA project.

Thanks

Re: ncpa error messages and bugs 1.0/1.1

Posted: Mon May 12, 2014 10:54 am
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.

Re: ncpa error messages and bugs 1.0/1.1

Posted: Mon May 12, 2014 12:48 pm
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