using mysql with nagios

Bryan Irvine bryan.irvine at kingcountyjournal.com
Mon Jul 21 20:25:01 CEST 2003


I might recommend against this.  I was considering using using a
postgresql db to maintain a cluster of nagios systems that we have
running on multiple networks and have them all report to the same
system, but when you read the nagios 2 doc's, db support is going to be
pulled out.  So if I ever upgrade to 2.0 I will have to ditch the db
anyway.  I might recommend just staying with the text files method.

just my 2 cents...

--Bryan

On Mon, 2003-07-21 at 09:57, Luis Muñoz wrote:
> Godd mornig, 
> i am trying to use mysql to maintain nagios comments status etc, but ,
> for example ,     when i create the tables into the database mysql
> complains because i dont know what names are for each column for
> example
>  
>  
> mysql>use nagios
> Database changed
> mysql> create table servicedowntime;
> ERROR 1113: A table must have at least 1 column
> mysql>
>  
> then  i supose to guess 
>  
> mysql> create table servicedowntime(servicedowntime   varchar(20) not
> null);
> 
> but i didnt find anything related to because i configured cgi.cfg and
> resource.cfg and compiled nagios with mysql support 
>  
> tanks



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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