Cacti integration in Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
Mathieu91
Posts: 6
Joined: Wed Dec 14, 2011 4:57 am

Cacti integration in Nagios xi

Post 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 !
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Cacti integration in Nagios xi

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Mathieu91
Posts: 6
Joined: Wed Dec 14, 2011 4:57 am

Re: Cacti integration in Nagios xi

Post 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.
Mathieu91
Posts: 6
Joined: Wed Dec 14, 2011 4:57 am

Re: Cacti integration in Nagios xi

Post 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 ?
Mathieu91
Posts: 6
Joined: Wed Dec 14, 2011 4:57 am

Re: Cacti integration in Nagios xi

Post by Mathieu91 »

I think I will use rrdtool. Is it possible to insert a graph generated by rrdtool on a host ?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cacti integration in Nagios xi

Post by lmiltchev »

For more info on the rrdtool, you can check this link:

http://oss.oetiker.ch/rrdtool/doc/index.en.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Mathieu91
Posts: 6
Joined: Wed Dec 14, 2011 4:57 am

Re: Cacti integration in Nagios xi

Post 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 !
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cacti integration in Nagios xi

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Mathieu91
Posts: 6
Joined: Wed Dec 14, 2011 4:57 am

Re: Cacti integration in Nagios xi

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cacti integration in Nagios xi

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!