You are here

OPSView+MKLiveStatus

5 posts / 0 new
Last post
leeswit
leeswit's picture
OPSView+MKLiveStatus

Good Afternoon,

May seem a bit of a strange combo but was wondering if anyone has successfully installed OPSView along with the MKLiveStatus module:

http://mathias-kettner.de/checkmk_livestatus.html

The OPSView instance where I work is constantly having issues with the DB getting out of date where as the Core nagios CGI's are showing the correct details. I believe this is down to NDO taking far too long to import the data into the database.

What I was thinking is that we could use MKLiveStatus along with MKMultiSite to present an internal view whilst the problem fixes itself whilst still allowing external customers to see there (out-of-date) viewports. MKLiveStatus reads the data straight from Nagios so wouldn't suffer from the problems associated with NDO.

Thanks in advance

Lee

emisca
emisca's picture
Re: OPSView+MKLiveStatus

Since opsview is now based on nagios 4, and mklivestatus is not compatible to it (as I know, maybe someone ported it), you can't use it.

With older opsview that uses nagios 3.x, loading mklivestatus library as event broker causes segfault of nagios daemon.

I tried to use it in order to use latest nagvis version.

 

You should first fix your db if it' possible and you can think about using Opsview API to get data from it. It's supported and works.

leeswit
leeswit's picture
Re: OPSView+MKLiveStatus

Thanks, do you know what version of OPSView changed to Nagios 4?  We're currently running something in the 3.2.x series.

I've got a standalone version of Nagios 3 running with Mklivestatus perfectly fine, maybe OPSView patched it and it broke something.  NagVis was also on my list to try out.

Whilst I agree that we should fix the DB issues, I was looking to try and set this up for when the OPSView and DB inevitably have another arugment.

Unfortunately I've had OPSView forced on me by others even though Nagios was perfectly fine for the primary job of monitoring. Having the database is great for long term reporting along with Jasper and the ODW but for day-to-day monitoring the database is just another thing to go wrong.

emisca
emisca's picture
Re: OPSView+MKLiveStatus

Db usage is fundamental for opsview architecture. Follow the requirements page on wiki and the mysql tuning guide they provide and you will be able to fix it.

pcmerc
pcmerc's picture
I do use check_mk and check

I do use check_mk and check_mk_agent in my opsview core deployments.
I've customized it a bit though, I use check_mk checks for passive checks as well as disk space checks when needed.