Installed Nagios and localhost is down

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
clab
Posts: 5
Joined: Wed Jun 08, 2016 4:05 pm

Installed Nagios and localhost is down

Post by clab »

Hello,

I've tried a few fixes I found through articles online with no luck but i'm running into a problem with Nagios alerting that localhost is down, when in fact it is up and running nagios.

Running on:
CentOS 7
Nagios 4.1.1
Nagios Plugin 2.0.3

Nagios alert:
ocalhost
Current Load
CRITICAL 06-08-2016 14:03:25 0d 0h 22m 58s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_load, ...) failed. errno is 2: No such file or directory
Current Users
CRITICAL 06-08-2016 14:04:03 0d 0h 22m 20s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_users, ...) failed. errno is 2: No such file or directory
HTTP
Notifications for this service have been disabled
CRITICAL 06-08-2016 14:04:40 0d 0h 21m 43s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_http, ...) failed. errno is 2: No such file or directory
PING
CRITICAL 06-08-2016 14:05:18 0d 0h 21m 5s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_ping, ...) failed. errno is 2: No such file or directory
Root Partition
CRITICAL 06-08-2016 14:05:55 0d 0h 20m 28s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_disk, ...) failed. errno is 2: No such file or directory
SSH
Notifications for this service have been disabled
CRITICAL 06-08-2016 14:06:33 0d 0h 19m 50s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_ssh, ...) failed. errno is 2: No such file or directory
Swap Usage
CRITICAL 06-08-2016 14:07:10 0d 0h 19m 13s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_swap, ...) failed. errno is 2: No such file or directory
Total Processes
CRITICAL 06-08-2016 14:07:48 0d 0h 18m 35s 4/4 (No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_procs, ...) failed. errno is 2: No such file or directory


Any help would be greatly appreciated, thanks!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Installed Nagios and localhost is down

Post by bwallace »

Was this a clean/minimal install of Cent OS 7?
Refer to https://assets.nagios.com/downloads/nag ... 1456514247
Be sure to check out the Knowledgebase for helpful articles and solutions!
clab
Posts: 5
Joined: Wed Jun 08, 2016 4:05 pm

Re: Installed Nagios and localhost is down

Post by clab »

I've done all of those steps in that documentation already BUT it looks like I installed the wrong nagios-plugin version.

Went ahead and installed the correct one indicated in the document you shared, didn't seem resolved until I rebooted CentOS and we're looking great now!

Thank you for your help!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Installed Nagios and localhost is down

Post by mcapra »

Did you need any additional assistance with your issue? Is it ok if we lock this thread?
Former Nagios employee
https://www.mcapra.com/
Locked