[omd-users] Why is xinetd showing as not running?

JB Segal jailbait at gmail.com
Thu Mar 1 00:32:08 CET 2012


That was it. Thank you.

(I don't think I saw the 2nd xinetd mentioned anyplace in the omd
docs. Did I miss it, or should it be added?)

JB

On Wed, Feb 29, 2012 at 6:08 AM, Giacomo Montagner <gmontagner at sorint.it> wrote:
> Hi JB,
> the xinetd omd is taking into account is not that of the system, but the
> one it starts when you configure "Distributed Monitoring" via the "omd
> config" command.
>
> I have a similar testing setup, on the monitoring machine I see:
>
> # netstat -antp | grep xinetd
> tcp        0      0 :::6556     :::*     LISTEN   1582/xinetd
> tcp        0      0 :::6557     :::*     LISTEN   12606/xinetd
>
> # ps -o user,pid,cmd -p 1582
> USER       PID CMD
> root      1582 xinetd
> # ps -o user,pid,cmd -p 12606
> USER       PID CMD
> central  12606 /omd/sites/central/var/tmp/xinetd
>
> the first (PID 1582) run as root and it's the system's xinetd (the one
> managed by chkconfig) - I configured it to launch check_mk_agent (port
> 6556) to monitor the monitoring machine itself.
> The second one runs as the OMD user ("central", in my case) and it's the
> one automatically configured by OMD; it handles the access to OMD's
> livestatus socket.
>
> Try disabling the livestatus support from the system's xinetd and use
> "omd config" to enable "Distributed Monitoring":
>
> # su - seattle
> $ omd config
>
>
> OMD should display xinetd as running, then.
>
>
> Bye,
> Giacomo
>
>
> On mar, 2012-02-28 at 19:12 -0500, JB Segal wrote:
>> I have no idea if this should go to the check_mk list or here, but
>> I'll start here... by talking about check_mk...
>>
>> I'm setting up a new multisite installation of OMD and I was trying to
>> get my cross-site test working - not multisite and livestatus, that's
>> fine, but testing a host (my omd-running nagios host in the remote
>> datacenter) from my main datacenter.
>>
>> Ever since I set up that check, BOTH sides of the world seem to think
>> that xinetd isn't running on my remote nagios host, however, it is:
>>
>> Highlights of: chkconfig --list
>> xinetd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
>>
>> xinetd based services:
>>         check_mk:       on
>>         mk-livestatus:  on
>>         nrpe:           on
>>
>> [root at ops-auth02 ~]# /etc/init.d/xinetd status
>> xinetd (pid  4954) is running...
>>  = = = = =
>> looks good, right?
>> But...
>>  = = = = =
>> [root at ops-auth02 ~]# su - seattle
>> OMD[seattle]:~$
>> OMD[seattle]:~$ omd status
>> apache:         running
>> gearmand:       running
>> rrdcached:      running
>> gearman_worker: running
>> npcd:           running
>> nagios:         running
>> xinetd:         stopped
>> crontab:        running
>> -----------------------
>> Overall state:  partially running
>>  = = = = = =
>>
>> I have no idea what's going on here.
>>
>> Any pointers anyone?
>>
>> Thanks!
>> JB
>> _______________________________________________
>> omd-users mailing list
>> omd-users at lists.mathias-kettner.de
>> http://lists.mathias-kettner.de/mailman/listinfo/omd-users
>
>
>


More information about the omd-users mailing list