Search found 6 matches
- Thu Mar 08, 2018 6:29 pm
- Forum: Open Source Nagios Projects
- Topic: check_ncpa.py plugin no longer working
- Replies: 11
- Views: 7205
Re: check_ncpa.py plugin no longer working
I'm glad we found it, thanks for your assistance in the process. As annoying as it is, at least it's easy to work around and easy to fix!
- Thu Mar 08, 2018 5:49 am
- Forum: Open Source Nagios Projects
- Topic: check_ncpa.py plugin no longer working
- Replies: 11
- Views: 7205
Re: check_ncpa.py plugin no longer working
I used the Ansible unarchive command, which downloads the file from assets.nagios.com directly to the target server and uncompresses it there. My Ansible control machine is also a MacBook so there were no Windows machines involved. Perhaps the packaged file itself has Windows line endings in it? Bot...
- Wed Mar 07, 2018 6:37 pm
- Forum: Open Source Nagios Projects
- Topic: check_ncpa.py plugin no longer working
- Replies: 11
- Views: 7205
Re: check_ncpa.py plugin no longer working
G'Day Scott, Thanks again for the reply. Output of your requests below: [libexec]$ head -n 3 check_ncpa.py #!/usr/bin/python """ SYNOPSIS [libexec]$ ./check_ncpa.py -bash: ./check_ncpa.py: /usr/bin/python^M: bad interpreter: No such file or directory [libexec]$ /usr/bin/python Python ...
- Tue Mar 06, 2018 5:36 pm
- Forum: Open Source Nagios Projects
- Topic: check_ncpa.py plugin no longer working
- Replies: 11
- Views: 7205
Re: check_ncpa.py plugin no longer working
Seems like we're narrowing it down... [libexec]$ ls -al /usr/bin/env -rwxr-xr-x. 1 root root 28992 Nov 6 2016 /usr/bin/env [libexec]$ which python /usr/bin/python [libexec]$ python check_ncpa.py Usage: check_ncpa.py [options] ... To add a bit more info: I have two separate environments, UAT and PROD...
- Mon Mar 05, 2018 5:29 pm
- Forum: Open Source Nagios Projects
- Topic: check_ncpa.py plugin no longer working
- Replies: 11
- Views: 7205
Re: check_ncpa.py plugin no longer working
I did include that info in my original post, though maybe I didn't present it clearly enough (probably should have formatted it better and included a pwd ) [~]$ sudo find / -name check_ncpa.py /usr/local/nagios/libexec/check_ncpa.py [~]$ /usr/local/nagios/libexec/check_ncpa.py : No such file or dire...
- Sun Mar 04, 2018 9:45 pm
- Forum: Open Source Nagios Projects
- Topic: check_ncpa.py plugin no longer working
- Replies: 11
- Views: 7205
check_ncpa.py plugin no longer working
G'day all, I have a Nagios v4.3.4 instance running on CentOS 7 that includes usage of the check_ncpa.py plugin to monitor Windows hosts. This has been running fine for a while. We ran an update on Friday that pulled the latest NCPA plugin script from https://assets.nagios.com/downloads/ncpa/check_nc...