Search found 26 matches

by emarmonti
Mon Oct 21, 2019 8:36 am
Forum: Nagios Log Server
Topic: Nagios XI alerts via check_nagioslogserver.php
Replies: 3
Views: 806

Re: Nagios XI alerts via check_nagioslogserver.php

Thank you. Is it possible to submit a feature request for this?
by emarmonti
Thu Oct 17, 2019 2:59 pm
Forum: Nagios Log Server
Topic: Nagios XI alerts via check_nagioslogserver.php
Replies: 3
Views: 806

Nagios XI alerts via check_nagioslogserver.php

Hello, I'm using the Nagios Log Server wizard in my Nagios XI installation. It's great at alerting us when a specific condition is met, however the problem is that it doesn't send us the log entries. For example, I have a saved query that pings us if the number of events found in the query is > X. T...
by emarmonti
Tue Jun 11, 2019 1:58 pm
Forum: Nagios XI
Topic: Error when using check_docker.py
Replies: 19
Views: 6559

Re: Error when using check_docker.py

Hello, I tried running it manually and it fails to connect: [nagios@ma1p-nagiosxi libexec]$ /usr/local/nagios/libexec/check_docker.py -H http://ma1p-docker01:5693/ --check-type 'containers_cpu' UNKNOWN: cURL call failed [nagios@ma1p-nagiosxi libexec]$ telnet ma1p-docker01 5693 Trying 10.1.12.170... ...
by emarmonti
Mon Jun 10, 2019 11:24 am
Forum: Nagios XI
Topic: Error when using check_docker.py
Replies: 19
Views: 6559

Re: Error when using check_docker.py

Hello, Thank you for providing an updated/patched check_docker.py file. Unfortunately I'm still having the problem. I also tried running the check manually (based off the arguments the Docker Wizard put into the service check. [nagios@ma1p-nagiosxi libexec]$ ./check_ncpa.py -H ma1p-dock02 -t 'XXXX-k...
by emarmonti
Wed Jun 05, 2019 2:25 pm
Forum: Nagios Log Server
Topic: Unable to apply config in Nagios Log Server
Replies: 3
Views: 824

Re: Unable to apply config in Nagios Log Server

Hello!

I've removed the input and tried to apply the config. Unfortunately I'm still getting this error: The apply command hasn't started yet. The instance may not be online or is unreachable
by emarmonti
Wed Jun 05, 2019 2:23 pm
Forum: Nagios XI
Topic: Error when using check_docker.py
Replies: 19
Views: 6559

Re: Error when using check_docker.py

Hello! Docker wasn't actually installed on the Nagios XI Server. Given the fact that the Docker wizard was already installed, I kind of assumed all dependencies would exist to use it. I went ahead and installed docker-ce. The check is still failing. Here are the version numbers you were asking for. ...
by emarmonti
Fri May 31, 2019 8:10 am
Forum: Nagios XI
Topic: Error when using check_docker.py
Replies: 19
Views: 6559

Re: Error when using check_docker.py

Unfortunately running that command manually and then forcing a check on my "Docker - Container *" checks yields the same error. I can see that check_docker.py already is importing all of these modules. Here is the error: File "/usr/local/ncpa/plugins/check_docker.py", line 988, i...
by emarmonti
Thu May 30, 2019 8:39 pm
Forum: Nagios Log Server
Topic: Unable to apply config in Nagios Log Server
Replies: 3
Views: 824

Unable to apply config in Nagios Log Server

Hello, I'm having trouble applying the NLS config after adding a new input. I looked at this thread here (https://support.nagios.com/forum/viewtopic.php?f=37&t=51970&start=10), as my problem is similar, however that solution is not my solution. :) I've confirmed that the nagios password is n...
by emarmonti
Thu May 30, 2019 9:53 am
Forum: Nagios XI
Topic: Error when using check_docker.py
Replies: 19
Views: 6559

Re: Error when using check_docker.py

Hello, I am receiving the same error. I ran the commands you suggested. They error out with: [root@ma1p-nagiosxi ~]# su nagios -c 'from copy import copy"' bash: -c: line 0: unexpected EOF while looking for matching `"' bash: -c: line 1: syntax error: unexpected end of file [root@ma1p-nagio...
by emarmonti
Tue Sep 18, 2018 12:52 pm
Forum: Nagios XI
Topic: Reporting help
Replies: 1
Views: 452

Reporting help

Hello, I have a need to generate a report that will tell me which contact is alerted given a service and/or a host. I'm not sure what the best method would be to retrieve this information. Considering that: - Our Nagios XI implementation is complicated, in that there are many different service and h...