XI and check_mk

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mariusp
Posts: 21
Joined: Sun Dec 13, 2009 10:44 am
Location: Bucharest, Romania

XI and check_mk

Post by mariusp »

Hi guys,

Im playing around with the check_mk add-on which seems to be working fine except for one issue: graphs are being created but not visible via the XI interface. here are the errors we are able to catch via apache error logs:

RROR: opening '': No such file or directory
ERROR: opening 'u': No such file or directory
ERROR: opening 'u': No such file or directory
ERROR: opening 'u': No such file or directory
ERROR: opening 'u': No such file or directory
[Wed Nov 09 13:23:49 2011] [error] [client 80.86.127.98] PHP Notice: Undefined variable: RRDFILE in /usr/local/nagios/share/pnp/templates/check-mk-ping.php on line 28, referer: http://xxxxx/nagiosxi/perfgraphs/index. ... ice_id=358
[Wed Nov 09 13:23:49 2011] [error] [client 80.86.127.98] PHP Notice: Undefined variable: RRDFILE in /usr/local/nagios/share/pnp/templates/check-mk-ping.php on line 29, referer: http://xxxx/nagiosxi/perfgraphs/index.p ... ice_id=358
ERROR: opening '': No such file or directory
[Wed Nov 09 13:23:50 2011] [error] [client 80.86.127.98] PHP Notice: Undefined variable: RRDFILE in /usr/local/nagios/share/pnp/templates/check_mk-kernel.util.php on line 28, referer: http://xxxxx/nagiosxi/perfgraphs/index. ... ice_id=358

Permissions are fine and changing the variable $RRDFILE to $rrdfile does not resolve the issue.

Any ideas?

Regards
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: XI and check_mk

Post by mguthrie »

Currently we don't support the check_mk addon, although some users have made it work, and we have our own graph API that calls rrdtool directly and handles the templating. Based on what I'm seeing, the check-mk-ping.php template file has some things in it that differ from the other PNP templates that are being used.
mariusp
Posts: 21
Joined: Sun Dec 13, 2009 10:44 am
Location: Bucharest, Romania

Re: XI and check_mk

Post by mariusp »

Thanks for your reply. Its not just the ping graphs, its all graphs generated by check_mk. Ill have to look a little deeper to see why and where the issues crop up. This would definitely be nice to have though in the final product.

Any ideas on how the other users managed to get graphs working? Was it something they modified in check_mk or nagiosxi graphing?

Many thanks,
Marius
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: XI and check_mk

Post by mguthrie »

To be honest it was quite a while ago. Since we currently don't have it listed as a supported addon I think people either muscled their way through it or disabled check_mk from handling performance graphing. It's something we need to document how to integrate with, but so far we haven't gotten there.
mariusp
Posts: 21
Joined: Sun Dec 13, 2009 10:44 am
Location: Bucharest, Romania

Re: XI and check_mk

Post by mariusp »

Hi Guys,

Just curious if there is any update on this? check_mk is used extensively in telco and it is a PITA to try and win any XI business here :| ...

Regards,
Marius
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: XI and check_mk

Post by mguthrie »

The 2011R2.2 release has a fix that *should* fix the graphs for the check_mk checks. Try the upgrade and let us know if it fixes the issue:

http://library.nagios.com/library/produ ... loads/main
mariusp
Posts: 21
Joined: Sun Dec 13, 2009 10:44 am
Location: Bucharest, Romania

Re: XI and check_mk

Post by mariusp »

Hi,

Just upgraded to 2012.R2.2 and while the situations seems better, the graphs load, they are empty. We recreated the entire config as well, let it simmer for a while but still no info. Anything we can do to help troubleshoot this further?

Regards,
Marius
mariusp
Posts: 21
Joined: Sun Dec 13, 2009 10:44 am
Location: Bucharest, Romania

Re: XI and check_mk

Post by mariusp »

False alarm, my apologies.

I had about 50000 perfata files backed up that needed to be processed. I noticed that these are now being processed and graphs are coming into place.

Good job guys!