Page 1 of 1

XI and check_mk

Posted: Wed Nov 09, 2011 6:31 am
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

Re: XI and check_mk

Posted: Mon Nov 14, 2011 10:44 am
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.

Re: XI and check_mk

Posted: Mon Nov 14, 2011 10:58 am
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

Re: XI and check_mk

Posted: Mon Nov 14, 2011 1:16 pm
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.

Re: XI and check_mk

Posted: Mon Mar 05, 2012 11:43 am
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

Re: XI and check_mk

Posted: Tue Mar 06, 2012 10:29 am
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

Re: XI and check_mk

Posted: Wed Mar 07, 2012 5:03 am
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

Re: XI and check_mk

Posted: Wed Mar 07, 2012 8:34 am
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!