Page 1 of 1

Installed Nagios and localhost is down

Posted: Wed Jun 08, 2016 4:11 pm
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!

Re: Installed Nagios and localhost is down

Posted: Wed Jun 08, 2016 4:36 pm
by bwallace
Was this a clean/minimal install of Cent OS 7?
Refer to https://assets.nagios.com/downloads/nag ... 1456514247

Re: Installed Nagios and localhost is down

Posted: Wed Jun 08, 2016 5:17 pm
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!

Re: Installed Nagios and localhost is down

Posted: Thu Jun 09, 2016 9:14 am
by mcapra
Did you need any additional assistance with your issue? Is it ok if we lock this thread?