Page 3 of 3
Re: how to monitor the total number of processes in windows
Posted: Wed Feb 28, 2018 2:35 pm
by scottwilkerson
scottwilkerson wrote:Also when it is in this state, can you run the command from the command line adding the --verbose flag and chech the /usr/local/ncpa/var/log/ncpa_listener.log on the remote machine
Thanks
Re: how to monitor the total number of processes in windows
Posted: Fri Mar 02, 2018 8:45 am
by h4doukeeN
scottwilkerson wrote:scottwilkerson wrote:Also when it is in this state, can you run the command from the command line adding the --verbose flag and chech the /usr/local/ncpa/var/log/ncpa_listener.log on the remote machine
Thanks
after executing the command the following appeared in the log
Code: Select all
File "C:\Users\jomann\Documents\ncpa\agent\listener\processes.py", line 422, in run_check
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf1 in position 3028: ordinal not in range(128)
2018-03-02 10:42:36,075:ERROR:app:Exception on /api/processes/ [GET]
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\flask\app.py", line 1817, in wsgi_app
File "C:\Python27\lib\site-packages\flask\app.py", line 1477, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1381, in handle_user_exception
File "C:\Python27\lib\site-packages\flask\app.py", line 1475, in full_dispatch_request
File "C:\Python27\lib\site-packages\flask\app.py", line 1461, in dispatch_request
File "C:\Users\jomann\Documents\ncpa\agent\listener\server.py", line 168, in token_auth_decoration
File "C:\Users\jomann\Documents\ncpa\agent\listener\server.py", line 911, in api
File "C:\Users\jomann\Documents\ncpa\agent\listener\processes.py", line 422, in run_check
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf1 in position 3027: ordinal not in range(128)
VersiĆ³n NCPA 2.1.1
execution by console
Re: how to monitor the total number of processes in windows
Posted: Fri Mar 02, 2018 4:40 pm
by npolovenko
@ h4doukeeN, Would you be able to upgrade your NCPA agent to the latest version? Seems like there were quite a few bug fixes in recent releases. Also, please run the following command to find out the check_ncpa.py version:
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -V
Re: how to monitor the total number of processes in windows
Posted: Mon Mar 05, 2018 3:19 pm
by h4doukeeN
npolovenko wrote:@ h4doukeeN, Would you be able to upgrade your NCPA agent to the latest version? Seems like there were quite a few bug fixes in recent releases. Also, please run the following command to find out the check_ncpa.py version:
Code: Select all
/usr/local/nagios/libexec/check_ncpa.py -V
problem persists
NCPA agent version is updated
plugin is updated from version 1.1.1
a 1.1.3
Re: how to monitor the total number of processes in windows
Posted: Wed Mar 07, 2018 2:57 pm
by h4doukeeN
it's weird what happens after a reboot in the servers now I have problems with the server 69 that has only 621 processes and the 68 that has 880 is running without problems ... the 71 has never presented problems, but I can not identify what it is due that the failure of one to another passes being more persistent in the 68
Re: how to monitor the total number of processes in windows
Posted: Wed Mar 07, 2018 5:17 pm
by cdienger
Greetings,
I've been able to reproduce this and it appears to have something to do with the handling of processes with characters outside of the standard ascii range. I will be filing a bug with our dev team to have a closer look at this.
Re: how to monitor the total number of processes in windows
Posted: Wed Apr 11, 2018 6:26 pm
by nagiosnl_jorgen
Re: how to monitor the total number of processes in windows
Posted: Thu Apr 12, 2018 8:25 am
by scottwilkerson
Thanks for adding the link to the BR