Page 1 of 1

MKLivestatus No UNIX socket existing

Posted: Tue Dec 10, 2019 4:32 pm
by TechnicallyTrue
Hello,
I'm currently in the process of setting up NagVis, and one of the prerequisites is that mk-livestatus be up and running on your Nagios server. This is proving difficult.
The website for mk-livestatus doesn't have much in the way of installation instructions, so I went off of this guide here:
https://stackoverflow.com/questions/161 ... -on-nagios
I made the small adjustment that /usr/lib/nagios/mk-livestatus is now /usr/lib64/nagios/mk-livestatus.
Unfortunately, after getting to the end, I encounter a problem: running the test command

Code: Select all

echo 'GET hosts' | unixcat /usr/lib64/nagios/mk-livestatus/live
yields the error message

Code: Select all

No UNIX socket /usr/lib64/nagios/mk-livestatus/live existing
I've tried installing more recent versions of mk-livestatus, but every other version number I enter into the wget command just comes back with ERROR 404: Not Found.
I'm running Nagios 4.3.4 on a CentOS 7 server. Any advice would be greatly appreciated.
Thank you very much.

Re: MKLivestatus No UNIX socket existing

Posted: Tue Dec 10, 2019 8:03 pm
by Box293
It's hard to provide any support for this as it is not a product made by Nagios and thus we do not have guides on how to set this up or troubleshoot it. While Nagios products do leverage many open-source projects, we do not utilise this project in our enterprise products and hence we do not have much knowledge on it.

We suggest contacting the owner of the project for support.

Re: MKLivestatus No UNIX socket existing

Posted: Wed Dec 18, 2019 6:17 pm
by TechnicallyTrue
In the end, I changed /usr/lib64/nagios/mk-livestatus back to /usr/lib/nagios/mk-livestatus. I had to make the directories all the way down from /usr/lib and chown them, and there are some configuration options in NagVis that need to change, but it works now.
Thank you very much.

Re: MKLivestatus No UNIX socket existing

Posted: Thu Dec 19, 2019 9:17 am
by scottwilkerson
TechnicallyTrue wrote:In the end, I changed /usr/lib64/nagios/mk-livestatus back to /usr/lib/nagios/mk-livestatus. I had to make the directories all the way down from /usr/lib and chown them, and there are some configuration options in NagVis that need to change, but it works now.
Thank you very much.
Great!

Locking thread