Nagios + Check_MK + Nagvis

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
greg85
Posts: 3
Joined: Wed Apr 26, 2017 8:34 am

Nagios + Check_MK + Nagvis

Post by greg85 »

Hello Everyone,
I installed Nagios with Check_MK and Nagvis to draw my IT environment. All work, service status is ok, but hosts state is down. Paste status detail :
(No output on stdout) stderr: execvp(/usr/local/libexec/check_icmp, ...) failed. errno is 2: No such file or directory

Please help me :(
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios + Check_MK + Nagvis

Post by mcapra »

Can you share the output of:

Code: Select all

ls -al /usr/local/libexec/
It looks like Nagios is trying to run /usr/local/libexec/check_icmp, but is unable to find that file. You may need to adjust your paths if the plugin isn't installed there.
Former Nagios employee
https://www.mcapra.com/
greg85
Posts: 3
Joined: Wed Apr 26, 2017 8:34 am

Re: Nagios + Check_MK + Nagvis

Post by greg85 »

Output is an attachment - problem.png.
Path in resource.cfg is correctly.
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios + Check_MK + Nagvis

Post by tmcdonald »

Former Nagios employee
greg85
Posts: 3
Joined: Wed Apr 26, 2017 8:34 am

Re: Nagios + Check_MK + Nagvis

Post by greg85 »

I think it is not it. See my next attachment.
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios + Check_MK + Nagvis

Post by dwhitfield »

My permissions look like:
-rwsrwxr-x 1 root nagios 213856 Feb 17 13:57 /usr/local/nagios/libexec/check_icmp

At the very lest, it looks like you need to chown root.nagios /usr/local/libexec/check_icmp

I'm curious, why are you checks in /usr/local/libexec/ rather than /usr/local/nagios/libexec? I have this feeling there's something else going on other than this one issue. Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the Download Profile button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
Locked