Nagios and Cacti

Daniel Emmanuel Feinsmith daniel at danielemmanuelfeinsmith.com
Wed Apr 8 17:36:32 CEST 2009


If you move your mysql instance to another server, you can get much  
better performance on a nagios/cacti server. Check top while cacti is  
running a large install and you will see that mysql is hoarding CPU  
and memory resources not leaving much for nagios.

=====================
Daniel Feinsmith
=====================
{sent from iPhone}

On Apr 8, 2009, at 8:03 AM, Andrew Davis <nccomp at gmail.com> wrote:

> And just an FYI from my own experience... putting Nagios & Cacti on  
> the same server has been somewhat problematic for us. We have over  
> 400 network devices between switches, routers, WAPs, etc. We also  
> have about 300 monitored servers. Initially I had Nagios and Cacti  
> both on one server with Cacti running via cron every 5 minutes.  
> About every 5 minutes, my shells would become unresponsive for  
> roughly 30 to 90 seconds. Turning off either Nagios or Cacti  
> resolved the issue. Running both seems to have hammered the server a  
> bit (4Gb of RAM, 2 x dual core 2.x Ghz CPUs). We don't integrate  
> Cacti and Nagios, however. Nagios does both trending and alerts of  
> all servers. Cacti does trending only of all network devices/ports.  
> Once I moved Cacti to its own server, all was fine as far as load/ 
> latency went.
>   A. Davis
>   Email:     nccomp at gmail.com
>
>   "There is no limit to what a man can accomplish
>    if he doesn't care who gets the credit." - Ronald Reagan
>
>
> Marco Tirado wrote:
>>
>> Hello:
>>
>> There are a couple of examples in the nagios exchange page of  
>> different approachs for integrating nagios and cacti. You should  
>> check that out.
>>
>> I believe the synchronization is going to cost you time and money,  
>> a better approach is to use nagios + pnp4naigos (this generates  
>> nice graphs) + check_snmp_int.pl (this for bandwidth tests). That  
>> way you have only one place to place your configuration.  There are  
>> tons of other snmp plugins you can use for other tests (CPU,  
>> Memory, etc),
>>
>> //Marco
>>
>> On Wed, Apr 8, 2009 at 11:15 AM, Christopher McAtackney <cristoir at gmail.com 
>> > wrote:
>> Hi all,
>>
>> I've been looking into making use of Cacti to act as an SNMP
>> management tool which runs alongside my Nagios instance.
>>
>> Ideally, what I would like to do is have Cacti monitor various
>> SNMP-exposed metrics on my hosts, and then have a service check in
>> Nagios which parses Cacti's results (which I believe are RRD files)
>> and send alerts etc.
>>
>> Nagios itself will still be used for running directly checks for
>> services running, errors in log files etc.
>>
>> Does this approach make sense?
>>
>> One issue that I can think of is the difficulty in keeping the config
>> files of Nagios and Cacti synchronised.  I was planning on using  
>> Lilac
>> Platform to act as my Nagios config file management tool, but how  
>> that
>> is kept in synch with Cacti is a problem. Has anyone ever set up an
>> arrangement like this before?
>>
>> Cheers,
>> Chris
>>
>> --- 
>> --- 
>> --- 
>> ---------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> High Quality Requirements in a Collaborative Environment.
>> Download a free trial of Rational Requirements Composer Now!
>> http://p.sf.net/sfu/www-ibm-com
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when  
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/ 
>> null
>>
>>
>> --- 
>> --- 
>> --- 
>> ---------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> High Quality Requirements in a Collaborative Environment.
>> Download a free trial of Rational Requirements Composer Now!
>> http://p.sf.net/sfu/www-ibm-com
>>
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when  
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/ 
>> null
>
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when  
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090408/7c75bd2f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list