Active Host Check Are Disabled
Active Host Check Are Disabled
Dear Admin,
My machine installed
RHEL 5.5
Nagios XI 2011R1.7
After fresh installation I got thit error. Had tried to pressed the Process Start action button but still not running.
I cant find this similiar issue in this forum and please help me how to fix this issue.
Thanks, Hendri
My machine installed
RHEL 5.5
Nagios XI 2011R1.7
After fresh installation I got thit error. Had tried to pressed the Process Start action button but still not running.
I cant find this similiar issue in this forum and please help me how to fix this issue.
Thanks, Hendri
You do not have the required permissions to view the files attached to this post.
Re: Active Host Check Are Disabled
Are you running SSL, Proxy, or NAT on your system?
Can you access the Admin page and show us the status of the "XI System Component Status"?
Try running:
From the command-line and send us the output if you get an error.
Can you access the Admin page and show us the status of the "XI System Component Status"?
Try running:
Code: Select all
service nagios restart
Re: Active Host Check Are Disabled
No i dont used SSL,Proxy or NAT..mguthrie wrote:Are you running SSL, Proxy, or NAT on your system?
Can you access the Admin page and show us the status of the "XI System Component Status"?
Try running:From the command-line and send us the output if you get an error.Code: Select all
service nagios restart
no error for restart the nagios services.
heres capture of system status..
Thanks,Hendri
You do not have the required permissions to view the files attached to this post.
Re: Active Host Check Are Disabled
debrite,
Run in command line:
Click on "Home", then click on "Process Info" under the "Monitoring Process" from the left panel menu and send us a screenshot.
Run in command line:
Code: Select all
# killall -9 nagios
# service nagios start
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Active Host Check Are Disabled
I am sorry for late reply, I just upgrading to newer version Nagios XI 2011R1.8lmiltchev wrote:debrite,
Run in command line:
Click on "Home", then click on "Process Info" under the "Monitoring Process" from the left panel menu and send us a screenshot.Code: Select all
# killall -9 nagios # service nagios start
and executed those command also..and the Process Info still in Red status..
please see the screen capture..for detail.
thanks before hands..
You do not have the required permissions to view the files attached to this post.
Re: Active Host Check Are Disabled
hendri,
Is there a nagios.lock, ndo2db.lock in your /usr/local/nagios/var directory? Also what are the permissions set in that directory?
ll /usr/local/nagios/var
Also, whats the permissions on the nagios.cmd file?
ll /usr/local/nagios/var/rw
Is there a nagios.lock, ndo2db.lock in your /usr/local/nagios/var directory? Also what are the permissions set in that directory?
ll /usr/local/nagios/var
Also, whats the permissions on the nagios.cmd file?
ll /usr/local/nagios/var/rw
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Active Host Check Are Disabled
nscott,nscott wrote:hendri,
Is there a nagios.lock, ndo2db.lock in your /usr/local/nagios/var directory? Also what are the permissions set in that directory?
ll /usr/local/nagios/var
Also, whats the permissions on the nagios.cmd file?
ll /usr/local/nagios/var/rw
here's my capture file..
[root@ncsismon ~]# ll /usr/local/nagios/var
total 11308
drwxrwxr-x 2 nagios nagios 4096 Nov 1 00:00 archives
-rw-r--r-- 1 nagios nagios 6 Oct 31 10:23 nagios.lock
-rw-rw-r-- 1 nagios nagios 16581 Nov 1 07:53 nagios.log
-rw-r--r-- 1 nagios nagios 5 Oct 31 10:08 ndo2db.lock
srwxr-xr-x 1 nagios nagios 0 Oct 31 10:08 ndo.sock
-rw-r--r-- 1 nagios nagios 891112 Nov 1 08:31 npcd.log
-rw-r--r-- 1 nagios nagios 10485794 Oct 31 23:05 npcd.log.old
-rw-r--r-- 1 nagios nagios 32681 Oct 31 10:32 objects.cache
-rw------- 1 nagios nagios 47461 Nov 1 07:32 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Oct 31 10:32 rw
drwxrwxr-x 5 nagios nagios 4096 Oct 25 12:46 spool
drwxr-xr-x 2 nagios nagios 4096 Oct 25 12:48 stats
-rw-rw-r-- 1 nagios nagios 46976 Nov 1 08:31 status.dat
[root@ncsismon ~]#
[root@ncsismon ~]# ll /usr/local/nagios/var/rw
total 0
srw-rw---- 1 nagios nagcmd 0 Oct 31 10:32 live
[root@ncsismon ~]#
I thing I don't have nagios.cmd file

Re: Active Host Check Are Disabled
The nagios.cmd file does not exist if nagios isn't running.
What I'm curious about is that you have the nagios.lock file, but not the nagios.cmd file. Both should only exist when nagios is running. Can you do the following:
killall -9 nagios #You already did this, but this is just to make absolutely sure
rm /usr/local/nagios/var/nagios.lock -f
service nagios start
Now can you check and see if you have the nagios.cmd and nagios.lock file?
What I'm curious about is that you have the nagios.lock file, but not the nagios.cmd file. Both should only exist when nagios is running. Can you do the following:
killall -9 nagios #You already did this, but this is just to make absolutely sure
rm /usr/local/nagios/var/nagios.lock -f
service nagios start
Now can you check and see if you have the nagios.cmd and nagios.lock file?
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Active Host Check Are Disabled
morning,nscott wrote:The nagios.cmd file does not exist if nagios isn't running.
What I'm curious about is that you have the nagios.lock file, but not the nagios.cmd file. Both should only exist when nagios is running. Can you do the following:
killall -9 nagios #You already did this, but this is just to make absolutely sure
rm /usr/local/nagios/var/nagios.lock -f
service nagios start
Now can you check and see if you have the nagios.cmd and nagios.lock file?
nscott , I just did what you suggest..and I got nagios.cmd now.. but in Monitoring Engine Process on Precess State values still Red alert..
I thing I found the problem, I had Nagios Core and Nagvis running in my machine also, after I did those command Nagvis graph showing error said " maybe your nagios didnt running and so on ".. so I reload nagios once again .. then nagios.cmd is gone..
fyi: nagvis is stand alone installation.. not using script from nagiosxi .
[root@ncsismon ~]# killall -9 nagios
You have new mail in /var/spool/mail/root
[root@ncsismon ~]# rm /usr/local/nagios/var/nagios.lock -f
[root@ncsismon ~]# service nagios start
Starting nagios: done.
[root@ncsismon ~]# ll /usr/local/nagios/var/rw
total 0
srw-rw---- 1 nagios nagcmd 0 Nov 3 08:56 live
prw-rw---- 1 nagios nagcmd 0 Nov 3 08:56 nagios.cmd
[root@ncsismon ~]# ll /usr/local/nagios/var
total 15780
drwxrwxr-x 2 nagios nagios 4096 Nov 3 00:00 archives
-rw-r--r-- 1 nagios nagios 6 Nov 3 08:57 nagios.lock
-rw-rw-r-- 1 nagios nagios 17336 Nov 3 08:57 nagios.log
-rw-r--r-- 1 nagios nagios 5 Oct 31 10:08 ndo2db.lock
srwxr-xr-x 1 nagios nagios 0 Oct 31 10:08 ndo.sock
-rw-r--r-- 1 nagios nagios 5460130 Nov 3 08:58 npcd.log
-rw-r--r-- 1 nagios nagios 10485794 Oct 31 23:05 npcd.log.old
-rw-r--r-- 1 nagios nagios 32681 Nov 3 08:57 objects.cache
-rw------- 1 nagios nagios 47459 Nov 3 08:57 retention.dat
drwxrwsr-x 2 nagios nagcmd 4096 Nov 3 08:57 rw
drwxrwxr-x 5 nagios nagios 4096 Oct 25 12:46 spool
drwxr-xr-x 2 nagios nagios 4096 Oct 25 12:48 stats
-rw-rw-r-- 1 nagios nagios 46943 Nov 3 08:58 status.dat
You have new mail in /var/spool/mail/root
[root@ncsismon ~]#
Re: Active Host Check Are Disabled
Ok, I have a feeling that this is being caused either by DB table corruption or a permissions issue somewhere on the system. Can you run the following procedure:
http://assets.nagios.com/downloads/nagi ... p#fixperms
And then also run the DB repair procedure:
http://assets.nagios.com/downloads/nagi ... irdatabase
Also make sure your system time is up to date, having that off can cause unpredictable results.
http://assets.nagios.com/downloads/nagi ... p#fixperms
And then also run the DB repair procedure:
http://assets.nagios.com/downloads/nagi ... irdatabase
Also make sure your system time is up to date, having that off can cause unpredictable results.