Database Used By Nagios

Marc Powell marc at ena.com
Wed Mar 8 16:12:51 CET 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Tony John
> Sent: Tuesday, March 07, 2006 11:56 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Database Used By Nagios
> 
> Dear all,
> 
>           I am a newbie to nagios. I have configured nagios to monitor
> our intranet. Now i have a doubt, how nagios stores the information.
> Whether it is in a Database or filesystem. If it is in a database then
> which one is that. Where can I find the Db Or files related to my
> installation directory.

For a standard install/configuration of nagios-1.x or 2.0 from source,
nagios uses flat files to store status information. They are located in
the path specified by 'status_file' in nagios.cfg. Archived status files
are stored in 'log_archive_path'. Typically /usr/local/nagios/var/ and
/usr/local/nagios/var/archives respectively.

Nagios-1.x natively supported mysql and pgsql databases for status
information. Nagios-2.0 requires an external module. In both cases
special actions are required on your part to activate those and you
would know if you did it.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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