Nagios Historical Data Question

Keith Bastin kbastin at mindspring.com
Mon Nov 15 13:14:27 CET 2010


Note that by default Nagios only retains a history of state changes - it
does NOT retain the results of service checks for trending, If you want to
maintain results for trending purposes You will need to modify your service
checks to write the relevant performance trend data to a database or file to
be processed by a trending tool (such as cacti).

Also if you are running SUSE 11 the default installation auto-archives the
"archive" folders with a cron job in the /etc/cron.weekly folder. This
basically bzip's each daily archive file which will prevent Nagios from
being able to read them when you run the state history trends.



-----Original Message-----
From: Korrawit Yindeeyoungyeon [mailto:skaaa.at0m at gmail.com] 
Sent: Monday, November 15, 2010 4:25 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios Historical Data Question

Thank Marc Powell

On Mon, Nov 15, 2010 at 3:21 PM, Marc Powell <lists at xodus.org> wrote:
>
> On Nov 15, 2010, at 2:06 AM, Korrawit Yindeeyoungyeon wrote:
>
>> Hi, I'm new with Nagios. I have questions.
>>
>> 1.) Can Nagios keeps the historical data ? How?
>
> Yes, it does this by default. Historical data is kept in the archive
directory, typically /usr/local/nagios/var/archives.
>
>> 2.) Now,I'm use flat file to keep the data.Can I get the historical data?
>
> Yes. Nagios only uses flat files for data. No special action is necessary
and the web interface is used to display that data or you can parse the
files and use the data on your own.
>
>> 3.) Can Nagios work with MySQL? How?
>
> Not directly but there are addons available at 
> http://exchange.nagios.org to tie nagios to MySQL for both 
> configuration (i.e. front ends that store their data in MySQL, then 
> generate the flat file with configuration data that nagios requires) 
> and data retention for parsing/presentation by other third party apps 
> (i.e. merlin or other alternative front end.)
>
> --
> Marc
>
> ----------------------------------------------------------------------
> -------- Centralized Desktop Delivery: Dell and VMware Reference 
> Architecture Simplifying enterprise desktop deployment and management 
> using Dell EqualLogic storage and VMware View: A highly scalable, 
> end-to-end client virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> 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
>

----------------------------------------------------------------------------
--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using Dell
EqualLogic storage and VMware View: A highly scalable, end-to-end client
virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
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


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
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