Is your livestatus set and xinetd restarted? Disable = yes may be the
default…can’t remember.
# cat /etc/xinetd.d/livestatus
service livestatus
{
type = UNLISTED
port = 6557
socket_type = stream
protocol = tcp
wait = no
# limit to 100 connections per second. Disable 3 secs if above.
cps = 100 3
# set the number of maximum allowed parallel instances of unixcat.
# Please make sure that this values is at least as high as
# the number of threads defined with num_client_threads in
# etc/mk-livestatus/nagios.cfg
instances = 500
# limit the maximum number of simultaneous connections from
# one source IP address
per_source = 250
# Disable TCP delay, makes connection more responsive
flags = NODELAY
user = lab
server = /omd/sites/lab/bin/unixcat
server_args = /omd/sites/lab/tmp/run/live
# configure the IP address(es) of your Nagios server here:
# only_from = 127.0.0.1 10.0.20.1 10.0.20.2
disable = no
}
From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Shankland
Sent: Thursday, May 07, 2015 8:42 AM
To: [email protected]
Subject: [omd-users] Fresh Install of OMD 1.20 on CentOS 6.6 64Bit - Livestatus
Not Running
Hi all,
As the subject suggests, I have created two new CentOS 6.6 64Bit servers and
installed OMD 1.20 on them ready to use one as a master and the other as a
slave. The installations appear to have gone fine and I have managed to
configure the distributed monitoring and the config has gone from the master to
the slave.
The issue I have is with Livestatus as nothing is getting reported back to the
master. Also, when I run netstat -ln|grep 6557 on both machines, nothing is
reporting.
My nagios.log shows the following:
[1431005132] livestatus: Finished initialization. Further log messages go to
/omd/sites/SlaveRPLS/var/nagios/livestatus.log
[1431005132] Event broker module
'/omd/sites/SlaveRPLS/lib/mk-livestatus/livestatus.o' initialized successfully.
[1431005132] Finished daemonizing... (New PID=1444)
[1431005132] TIMEPERIOD TRANSITION: 24X7;-1;1
[1431005132] TIMEPERIOD TRANSITION: 24x7;-1;1
[1431005132] TIMEPERIOD TRANSITION: none;-1;0
[1431005132] TIMEPERIOD TRANSITION: thruk_24x7;-1;1
[1431005132] logging initial states
and my livestatus.log shows this:
2015-05-07 14:25:15 deinitializing
2015-05-07 14:25:15 Waiting for main to terminate...
2015-05-07 14:25:17 Waiting for client threads to terminate...
2015-05-07 14:25:17 Logfile cache: flushing complete cache.
The above is happening on both machines.
So, I can see that livestatus is not running but not sure how to start
debugging the issue from here as first time using it and OMD - any suggestions
would be useful.
Thanks.
---------------------------------------------------------------------------
The information transmitted in this e-mail and in any replies and forwards are
for the sole use of the above individual(s) or entities and may contain
proprietary, privileged and/or highly confidential information. Any
unauthorized dissemination, review, distribution or copying of these
communications is strictly prohibited. If this e-mail has been transmitted to
you in error, please notify and return the original message to the sender
immediately at the above listed address. Thank you for your cooperation.
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users