[Check_mk (english)] Help troubleshooting livestatus

William Kwan potatok at yahoo.com
Mon Dec 1 22:19:24 CET 2014


Dhawal,
Thanks. I was blind.  The installation worked fine on CentOS*. The new deployed slave is Suse and the xinetd file was not there.  It is fixed now. Thanks.
W
 

     On Monday, December 1, 2014 1:35 PM, Dhawal Doshy <dhawal.doshy at gmail.com> wrote:
   

 Livestatus is a socket by default (except on OMD i think), to enable
the TCP part, you'll need to configure it via xinetd.

http://mathias-kettner.com/checkmk_livestatus.html#H1:Remote access to
Livestatus via SSH or xinetd



On Mon, Dec 1, 2014 at 11:03 PM, William Kwan <potatok at yahoo.com> wrote:
> Hi all,
>
> I setup check_mk and livestatus was compiled from source.  Apache and nagios
> started up fine, but I don't see any process listening on port 6557.
>
> I turned on debug=1 in nagios.cfg, but I don't see much info on what's
> wrong.  I'm able to setup Distributed monitoring to this slave, but the
> master can't get data through livestatus. Whatelse I can do to troubleshoot
> this situation?
>
> I'm running 1.2.5i5p4 on the Master and 1.2.5i6p3 on the slave.  The master
> is working fine with 2 other slaves with earlier versions.  This particular
> new slave is a new deployment.
>
> nagios.cfg:
> broker_module=/usr/lib/check_mk/livestatus.o /usr/local/nagios/var/rw/live
> debug=1
> event_broker_options=-1
>
> /usr/local/nagios/var/rw # ls -l
> total 0
> srw-rw---- 1 nagios nagios 0 Dec  1 12:28 live
> prw-rw---- 1 nagios nagios 0 Dec  1 12:28 nagios.cmd
> /usr/local/nagios/var/rw # netstat -an|grep 6557
> /usr/local/nagios/var/rw # pgrep nagios
> 34838
>
> nagios log:
> [1417454928] Nagios 3.5.1 starting... (PID=34837)
> [1417454928] Local time is Mon Dec 01 12:28:48 EST 2014
> [1417454928] LOG VERSION: 2.0
> [1417454928] livestatus: Livestatus 1.2.5i6p3 by Mathias Kettner. Socket:
> '/usr/local/nagios/var/rw/live'
> [1417454928] livestatus: Please visit us at http://mathias-kettner.de/
> [1417454928] livestatus: Hint: please try out OMD - the Open Monitoring
> Distribution
> [1417454928] livestatus: Please visit OMD at http://omdistro.org
> [1417454928] livestatus: Opened UNIX socket /usr/local/nagios/var/rw/live
> [1417454928] livestatus: Your event_broker_options are sufficient for
> livestatus..
> [1417454928] livestatus: Finished initialization. Further log messages go to
> /usr/local/nagios/var/livestatus.log
> [1417454928] Event broker module '/usr/lib/check_mk/livestatus.o'
> initialized successfully.
> [1417454928] Finished daemonizing... (New PID=34838)
>
> Thanks
> W
>
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20141201/8fff1deb/attachment.html>


More information about the checkmk-en mailing list