Page 1 of 1

Cacti integration in Nagios XI

Posted: Thu Dec 15, 2011 6:39 am
by Mathieu91
Hi all !

I want some informations about cacti integration in Nagios XI. I would like to see for example for a server :

- Nagios graphs (CPU Load, Memory, ...)
- Cacti graphs (Network Bandwidth, ...)

I can't find any documentations about it on internet...

Thanks !

Re: Cacti integration in Nagios XI

Posted: Thu Dec 15, 2011 11:37 am
by scottwilkerson
We have the following documentation on installing Cacti Alongside Nagios XI
http://assets.nagios.com/downloads/nagi ... ide_XI.pdf

Additionally, you can find more information on the Nagios Exchange
http://exchange.nagios.org/index.php?op ... word=Cacti

Re: Cacti integration in Nagios XI

Posted: Fri Dec 16, 2011 4:02 am
by Mathieu91
Thanks for your answer !

Yes I have seen this documentation, but I doesn't explain who to integrate Cacti graphs into Nagios XI. Same thing for Nagios Exchange :roll: .. That's why I posted on this forum, I didn't find any solutions anywhere, and I don't have enough knowledge to develop something myself.

The problem is not Cacti installation, but cacti graphs integration into Nagios XI.

Re: Cacti integration in Nagios XI

Posted: Fri Dec 16, 2011 4:43 am
by Mathieu91
Maybe something is possible with RRDtool ? I don't really know how it works with Cacti or Nagios.

If I get Graph sources of Cacti, maybe I can use it in Nagios XI ?

Re: Cacti integration in Nagios XI

Posted: Fri Dec 16, 2011 9:15 am
by Mathieu91
I think I will use rrdtool. Is it possible to insert a graph generated by rrdtool on a host ?

Re: Cacti integration in Nagios XI

Posted: Fri Dec 16, 2011 12:40 pm
by lmiltchev
For more info on the rrdtool, you can check this link:

http://oss.oetiker.ch/rrdtool/doc/index.en.html

Re: Cacti integration in Nagios XI

Posted: Mon Dec 19, 2011 5:40 am
by Mathieu91
I can know generate Cacti's graph from Cacti's rrd files with rrdtool command. I want know to integrate the graph in Nagios XI. I saw that we can create graph templates (which are using rrd) on Nagios XI, but I don't know how it works, and don't find any documentation about it. Does anyone have more information about it ? If I create a template, how can I use It with a new Nagios Service ?

Thanks !

Re: Cacti integration in Nagios XI

Posted: Mon Dec 19, 2011 11:39 am
by lmiltchev
We don't really have any documentation on this, yet. Maybe this link can get you started:

http://docs.pnp4nagios.org/pnp-0.6/tpl

Re: Cacti integration in Nagios XI

Posted: Tue Dec 20, 2011 4:20 am
by Mathieu91
Ok thanks,
so as I understand it, for a service, pnp look for the template (.php) and for the xml file (which contain the variables and generated by perfdata.pl) to create the graph. The problem is now to generate the XML file with Cacti data.. Arf I don't know If I'll succeed ! :x

Re: Cacti integration in Nagios XI

Posted: Tue Dec 20, 2011 3:04 pm
by lmiltchev
I don't know how this can be done in Cacti but you can try something else. I am not sure if this is going to work - I haven't done it, but you can try:

Code: Select all

# rrdtool dump filename.rrd > filename.xml