Search found 11 matches
- Tue Nov 07, 2017 11:04 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
- Tue Nov 07, 2017 3:38 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
Ok so when I run that it gives me the list of options and then at the bottom says:
Code: Select all
check_ncpa.py: error: Hostname is required for use.
- Mon Nov 06, 2017 4:27 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
- Tue Oct 31, 2017 4:49 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
Ok so I found that the path to python was
I changed it in the check_ncpa.py file and tried to run it
i'm now getting
Code: Select all
/usr/bin/python3.5m
i'm now getting
Code: Select all
File "./check_ncpa.py", line 282
except Exception, e:
^
SyntaxError: invalid syntax
- Fri Oct 27, 2017 5:04 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
when I run it tells me
/usr/bin/env: 'python' : No such file or directory
Code: Select all
./check_ncpa.py
/usr/bin/env: 'python' : No such file or directory
- Wed Oct 25, 2017 2:26 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
Hi, I'm back from my holiday and have tried your suggestion however i'm still getting (Return code of 127 is out of bounds - plugin may be missing : (No output on stdout) stderr: /usr/bin/env: ‘python’: No such file or directory)) The check_ncpa.py file was already there and had all of what you sent...
- Wed Oct 18, 2017 4:36 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
Hiya, Thanks for all your help. I've got the commands file uploaded and the service restarted with no errors. I have the NCPA installed on a windows server and that's now displaying under hosts which is great! Only problem is it's displaying a new error now: (Return code of 127 is out of bounds - pl...
- Fri Oct 13, 2017 9:50 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
Hiya,
Added as suggested.
When I tried to restart I got this:
So I ran again and got this:
Added as suggested.
When I tried to restart I got this:
So I ran
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
- Fri Oct 13, 2017 2:54 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
Hiya, I can't seem to copy and paste so instead I've taken screenshots I hope it comes out OK. For security I've blanked out any IP addresses or passwords. The forum will only allow me to upload a max of 20 URL's and unfortunately there are a few more than that so instead I have uploaded them to my ...
- Thu Oct 12, 2017 3:21 am
- Forum: Open Source Nagios Projects
- Topic: Monitored host not displaying
- Replies: 24
- Views: 12866
Re: Monitored host not displaying
Morning, Thanks for the info. I have followed your steps and when I try to start the nagios service again I get this error saying that it failed to start the service with this reason: Check your configuration file(s) to ensure that they contain valid directives and data definitions. If you are upgra...