Search found 10 matches

by marypoppins
Thu May 31, 2018 9:07 am
Forum: Open Source Nagios Projects
Topic: Windows NCPA UnicodeDecodeError
Replies: 2
Views: 1116

Re: Windows NCPA UnicodeDecodeError

I'm sorry, i have just found the github solution which suggest switching to python3...
i'm trying...

thank you
by marypoppins
Thu May 31, 2018 8:41 am
Forum: Open Source Nagios Projects
Topic: Windows NCPA UnicodeDecodeError
Replies: 2
Views: 1116

Windows NCPA UnicodeDecodeError

Dear All, I installed the ncpa (ncpa-2.1.4.exe) on a windows server and its log az error related in UnicodeDecodeError. I tried with ncpa-2.1.1, ncpa-2.1.2 as well. I can not find solution on the net. If is there any could you please help me. Thank you very much 2018-05-31 14:32:11,252:ERROR:app:Exc...
by marypoppins
Thu May 31, 2018 3:30 am
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Re: Passive check struggle

There is no such package installed. Now as you said I remember there was an error when first time installed ncpa. :roll: This page https://support.nagios.com/kb/article/ncpa-how-to-build-ncpa-from-source-521.html#FreeBSD said: The following packages need to be installed: pkg install -y wget git bash...
by marypoppins
Wed May 30, 2018 6:15 pm
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Re: Passive check struggle

No, There is no OK message after the submit. Only the warning message (from php, display_error=on)
There is nothing in the nagios.log
:(
by marypoppins
Wed May 30, 2018 4:40 pm
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Re: Passive check struggle

I took a step. I reinstall the whole nrdp from the source. Now there is only one warning: Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods ...
by marypoppins
Wed May 30, 2018 8:39 am
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Re: Passive check struggle

As you suggested: display_errors = On log_errors = On error_log = /var/log/php-errors.log and make this: touch /var/log/php-errors.log chown www:www /var/log/php-errors.log And when I submit the the test, below the page appears a blue line, but there is no text in it. After 2-3 seconds it dissapear....
by marypoppins
Wed May 30, 2018 4:46 am
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Re: Passive check struggle

# ls -al /var/spool/nagios/checkresults total 8 drwxrwsr-x 2 nagios nagios 512 May 29 22:42 . drwxrwxr-x 5 nagios nagios 512 May 30 11:41 .. As I know there is no selinux. It a freebsd version 11.1 Does the "...POST /nrdp/ HTTP/1.1" 500 -' means an error? I'm trying to search about that, b...
by marypoppins
Tue May 29, 2018 4:41 pm
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Re: Passive check struggle

The httpd-access.log shows: 192.168.11.100 - - [29/May/2018:23:24:11 +0200] "POST /nrdp/ HTTP/1.1" 500 - The httpd-error.log shows nothing when I send "submit json check result", however when I restart the apache24 the log shows this: [Tue May 29 23:23:55.714631 2018] [mpm_prefor...
by marypoppins
Tue May 29, 2018 9:30 am
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Re: Passive check struggle

Thank you for answering. The page itself works, however if I try to submit the bellow, nothing happen. <?xml version='1.0'?> <checkresults> <checkresult type='host'> <hostname>Apollonia</hostname> <state>0</state> <output>Everything looks okay! | perfdata=1;</output> </checkresult> <checkresult type...
by marypoppins
Tue May 29, 2018 4:12 am
Forum: Open Source Nagios Projects
Topic: Passive check struggle
Replies: 15
Views: 4032

Passive check struggle

Dear All, I have a windows server on which I installed the ncpa package. Tried to use the passive checks, but in the log I found the following: 2018-05-28 16:11:49,403:ERROR:nrdp:no element found: line 1, column 0 Traceback (most recent call last): File "C:\ncpa\agent\passive\nrdp.py", lin...