Search found 73 matches

Return to advanced search

Re: Checking Docker Container with NCPA/NRDP

Thanks guys for the help. I'll keep an eye on the repo and the change log.
by cybergene
Wed Jan 24, 2018 8:52 am
 
Forum: Nagios Core
Topic: Checking Docker Container with NCPA/NRDP
Replies: 12
Views: 961

Re: Checking Docker Container with NCPA/NRDP

Hi @swolf,

Thank you for the input. I can't use NRPE on our servers but I can wait for the bug to be fixed.

@cdienger, is there a notification for the forum or some way I can get notified about this bug so I can update when it get fixed?

Thanks everyone!
by cybergene
Mon Jan 22, 2018 8:11 am
 
Forum: Nagios Core
Topic: Checking Docker Container with NCPA/NRDP
Replies: 12
Views: 961

Re: Checking Docker Container with NCPA/NRDP

I added nagios user to docker usergroup as in https://docs.docker.com/engine/installation/linux/linux-postinstall/#manage-docker-as-a-non-root-user but it didn't work either.
It does work locally on the remote host but the response to Nagios Core is not working.
by cybergene
Fri Jan 19, 2018 3:58 pm
 
Forum: Nagios Core
Topic: Checking Docker Container with NCPA/NRDP
Replies: 12
Views: 961

Re: Checking Docker Container with NCPA/NRDP

Hi dwhitfield , No, it didn't work. I'm still getting the the same error "Unable to talk to the docker daemon". I tried reverting the script, i.e. removing the sudo from the docker commands. Now, it doesn't work with the nagios user in command line and I get "Unable to talk to the doc...
by cybergene
Thu Jan 18, 2018 9:57 am
 
Forum: Nagios Core
Topic: Checking Docker Container with NCPA/NRDP
Replies: 12
Views: 961

Checking Docker Container with NCPA/NRDP

I installed NCPA on a remote host that have Docker installed. I want to check if one of the containers is running . I'm using this https://gist.github.com/ekristen/11254304 that work on the remote host: ./docker_container.sh <container_id> OK - <container_id> is running. IP: xxx.xx.x.x, StartedAt: 2...
by cybergene
Wed Jan 17, 2018 12:58 pm
 
Forum: Nagios Core
Topic: Checking Docker Container with NCPA/NRDP
Replies: 12
Views: 961

Re: Passive Alerts With NSCA not working

Thanks a lot @tgriep.

I have another question but would be in different thread.

We can close this one.
by cybergene
Wed Jan 17, 2018 12:00 pm
 
Forum: Nagios Core
Topic: Passive Alerts With NSCA not working
Replies: 51
Views: 5474

Re: Passive Alerts With NSCA not working

Before we close this, I'm wondering how to use custom plugins with NCPA. If I have a script that check if a service is running (e.g. nginx), where should I place the scripts? Here : /usr/local/ncpa/etc/ncpa.cfg.d/ Or /usr/local/ncpa/plugins ? And when I st up the commands; is it the same as NRPE? (p...
by cybergene
Mon Jan 15, 2018 2:09 pm
 
Forum: Nagios Core
Topic: Passive Alerts With NSCA not working
Replies: 51
Views: 5474

Re: Passive Alerts With NSCA not working

Nope. All I did was restarting ncpa_passive and nagios service.Would be the xml that fixed it? It has been working over the weekend, the Disk Usage service has been updating properly. I'm not sure what exactly fix the problem. But since the last re-install we did together and installing the xml, it ...
by cybergene
Mon Jan 15, 2018 7:59 am
 
Forum: Nagios Core
Topic: Passive Alerts With NSCA not working
Replies: 51
Views: 5474

Re: Passive Alerts With NSCA not working

Hi tgriep , Thanks for all the help. I came in this morning and the commands seems to work somehow... Nagios Core logs are showing the passive checks: [1515762271] PASSIVE SERVICE CHECK: hanjin;Disk Usage;2;CRITICAL: Used_percent was 90.60 % [1515762271] PASSIVE SERVICE CHECK: hanjin;Process Count;0...
by cybergene
Fri Jan 12, 2018 8:55 am
 
Forum: Nagios Core
Topic: Passive Alerts With NSCA not working
Replies: 51
Views: 5474

Re: Passive Alerts With NSCA not working

Installed the following sudo apt-get install php7.0-xml as this is the latest versions ,on the remote and the Nagios core and restarted ncpa_passive and the error persists and no checks are going to Nagios Core: 2018-01-11 12:02:52,435 20542 INFO stopped 2018-01-11 12:02:53,115 28578 INFO started 20...
by cybergene
Thu Jan 11, 2018 12:06 pm
 
Forum: Nagios Core
Topic: Passive Alerts With NSCA not working
Replies: 51
Views: 5474
Next

Return to advanced search