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
how to monitor the total number of processes in windows
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: how to monitor the total number of processes in windows
Re: how to monitor the total number of processes in windows
after executing the command the following appeared in the logscottwilkerson 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
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)
execution by console
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: how to monitor the total number of processes in windows
@ 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: how to monitor the total number of processes in windows
problem persistsnpolovenko 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
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
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
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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 6
- Joined: Tue Apr 22, 2014 8:39 am
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: how to monitor the total number of processes in windows
Thanks for adding the link to the BR