Search found 11 matches

by Explodistan
Mon Aug 12, 2019 5:13 pm
Forum: Open Source Nagios Projects
Topic: Remote Host Service Monitoring Trouble
Replies: 9
Views: 2059

Re: Remote Host Service Monitoring Trouble

So I went and reconfigured the configuration on the Nagios server and the plugin is working fine now. I'll write down this change. The only other question I have is is there a document for what commands are supported with NCPA? Like what checks it can do?
by Explodistan
Mon Aug 12, 2019 5:07 pm
Forum: Open Source Nagios Projects
Topic: Remote Host Service Monitoring Trouble
Replies: 9
Views: 2059

Re: Remote Host Service Monitoring Trouble

ok I did that and the fix seems to have worked

./check_ncpa.py -H XXX.XXX.XXX.XXX -t 'XXXXXX' -M 'services' -q 'service=AdobeARMservice,status=running'
OK: AdobeARMservice is running

So it seems like the plugin is now running correctly. Should I restart any of the services on my Nagios server?
by Explodistan
Mon Aug 12, 2019 3:05 pm
Forum: Open Source Nagios Projects
Topic: Remote Host Service Monitoring Trouble
Replies: 9
Views: 2059

Re: Remote Host Service Monitoring Trouble

Also, when I try to run it from under the libexec directory it returns

sudo ./check_ncpa.py -H 'XXXXXXXX' -t 'XXXXXXXX' -M 'cpu/percent' -w 20 -c 40 -q 'aggregate=avg' -V
/usr/bin/env: ‘python\r’: No such file or directory
by Explodistan
Mon Aug 12, 2019 3:00 pm
Forum: Open Source Nagios Projects
Topic: Remote Host Service Monitoring Trouble
Replies: 9
Views: 2059

Re: Remote Host Service Monitoring Trouble

Ah, so we have a problem. When I input the code, this is what happens. sudo ./check_ncpa.py -H 'XXX.XXX.XXX.XXX' -t 'XXXXXX' -M 'cpu/percent' -w 20 -c 40 -q 'aggregate=avg' -v sudo: ./check_ncpa.py: command not found and this happens with all the ./check_ncpa.py commands. This command does exist and...
by Explodistan
Mon Aug 12, 2019 2:49 pm
Forum: Open Source Nagios Projects
Topic: Monitoring Remote Server
Replies: 3
Views: 874

Re: Monitoring Remote Server

This post can be closed. I decided to not go with NSClient++ and instead went with NCPA. I got it working on NCPA just fine.
by Explodistan
Sat Aug 10, 2019 5:01 pm
Forum: Open Source Nagios Projects
Topic: Remote Host Service Monitoring Trouble
Replies: 9
Views: 2059

Re: Remote Host Service Monitoring Trouble

ok, so one more issue. I am testing out monitoring a specific service over NCPA. Everything is set now as the initial configuration commands all work. I input a service through check_ncpa.py to monitor a random service that is running on my test machine, but it is returning the same frustrating 127 ...
by Explodistan
Sat Aug 10, 2019 4:27 pm
Forum: Open Source Nagios Projects
Topic: Remote Host Service Monitoring Trouble
Replies: 9
Views: 2059

Re: Remote Host Service Monitoring Trouble

Issue solved. It ended up being a problem in the ncpa.conf file on the windows machine. The url was set to XXX.XXX.XXX.XXX instead of XXX.XXX.XXX.XXX/nagios which ended up in the program not being able to find the server. I had looked in the .log file and saw that it was having trouble finding the s...
by Explodistan
Sat Aug 10, 2019 3:54 pm
Forum: Open Source Nagios Projects
Topic: Remote Host Service Monitoring Trouble
Replies: 9
Views: 2059

Remote Host Service Monitoring Trouble

So I installed NCPA on a windows server to monitor critical services and cpu percentages. After I configured everything on the Nagios server end to look at the computer I set up, the services still show the return code of "Return code of 127 is out of bounds. Check if plugin exists". It is...
by Explodistan
Wed Aug 07, 2019 2:07 pm
Forum: Open Source Nagios Projects
Topic: Monitoring Remote Server
Replies: 3
Views: 874

Monitoring Remote Server

Hello again! This time I have a question on monitoring services on a remote host. I made sure to install the NRPE plugin for Nagios, and I'm pretty sure that I have the local .cfg file set up right on the Nagios server. I installed the NSclient++ for the server and edited the nsclient.ini to allow t...
by Explodistan
Wed Aug 07, 2019 1:42 pm
Forum: Open Source Nagios Projects
Topic: Nagios Network Map
Replies: 3
Views: 829

Re: Nagios Network Map

Thank you very much for pointing me towards that resource. I figured it was something simple in the configuration file because I know the network map is automatic, not doing any checks on its own. I have been looking for almost a day now for this :D so now my map is being built out correctly. Thank ...