NDOUTILS installation (database not supported?)

nadia kheffache nadiakheffache at yahoo.fr
Fri Jul 17 15:56:06 CEST 2009


Hi Nathalie,

do you have created the database 'ndo' before the installation?

# mysqladmin -u root -p create ndo

# mysql -u root -p mysql

# mysql> GRANT ALL ON ndo.* TO ndouser at localhost IDENTIFIED BY “ndopassword”;

# mysql> FLUSH PRIVILEGES;



Nadia



--- En date de : Ven 17.7.09, Natalie Aloi <naloi at experisdatacenters.com> a écrit :

> De: Natalie Aloi <naloi at experisdatacenters.com>
> Objet: [Nagios-users] NDOUTILS installation (database not supported?)
> À: "Nagios Users Mail-list" <nagios-users at lists.sourceforge.net>
> Date: Vendredi 17 Juillet 2009, 15h12
> 
> does anyone know what
> this means?
>  
> [root at dns /]#
> /usr/local/nagios/bin/ndo2db -c
> /usr/local/nagios/etc/ndo2db.cfg
> Support for the specified database server is either not yet
> supported, or was not found on your system.
> [root at dns /]#
> But you can see it's installed I have also included the
> output from my compile
> mysql> use nagios
> Reading table information for completion of table and
> column names
> You can turn off this feature to get a quicker startup with
> -A
> Database changed
> mysql> show tables;
> +----------------------------------------+
> |
> Tables_in_nagios                      
> |
> +----------------------------------------+
> |
> nagios_acknowledgements               
> |
> |
> nagios_commands                       
> |
> |
> nagios_commenthistory                 
> |
> |
> nagios_comments                       
> |
> |
> nagios_configfiles                    
> |
> |
> nagios_configfilevariables            
> |
> |
> nagios_conninfo                       
> |
> |
> nagios_contact_addresses              
> |
> | nagios_contact_notificationcommands    |
> |
> nagios_contactgroup_members           
> |
> |
> nagios_contactgroups                  
> |
> |
> nagios_contactnotificationmethods     
> |
> |
> nagios_contactnotifications           
> |
> |
> nagios_contacts                       
> |
> |
> nagios_contactstatus                  
> |
> |
> nagios_customvariables                
> |
> |
> nagios_customvariablestatus           
> |
> |
> nagios_dbversion                      
> |
> |
> nagios_downtimehistory                
> |
> |
> nagios_eventhandlers                  
> |
> |
> nagios_externalcommands               
> |
> |
> nagios_flappinghistory                
> |
> |
> nagios_host_contactgroups             
> |
> |
> nagios_host_contacts                  
> |
> |
> nagios_host_parenthosts               
> |
> |
> nagios_hostchecks                     
> |
> |
> nagios_hostdependencies               
> |
> | nagios_hostescalation_contactgroups    |
> |
> nagios_hostescalation_contacts        
> |
> |
> nagios_hostescalations                
> |
> |
> nagios_hostgroup_members              
> |
> |
> nagios_hostgroups                     
> |
> |
> nagios_hosts                          
> |
> |
> nagios_hoststatus                     
> |
> |
> nagios_instances                      
> |
> |
> nagios_logentries                     
> |
> |
> nagios_notifications                  
> |
> |
> nagios_objects                        
> |
> |
> nagios_processevents                  
> |
> |
> nagios_programstatus                  
> |
> |
> nagios_runtimevariables               
> |
> |
> nagios_scheduleddowntime              
> |
> |
> nagios_service_contactgroups          
> |
> |
> nagios_service_contacts               
> |
> |
> nagios_servicechecks                  
> |
> |
> nagios_servicedependencies            
> |
> | nagios_serviceescalation_contactgroups |
> |
> nagios_serviceescalation_contacts     
> |
> |
> nagios_serviceescalations             
> |
> |
> nagios_servicegroup_members           
> |
> |
> nagios_servicegroups                  
> |
> |
> nagios_services                       
> |
> |
> nagios_servicestatus                  
> |
> |
> nagios_statehistory                   
> |
> |
> nagios_systemcommands                 
> |
> |
> nagios_timedeventqueue                
> |
> |
> nagios_timedevents                    
> |
> |
> nagios_timeperiod_timeranges          
> |
> |
> nagios_timeperiods                    
> |
> |
> ndo_acknowledgements                  
> |
> |
> ndo_commands                          
> |
> |
> ndo_commenthistory                    
> |
> |
> ndo_comments                          
> |
> |
> ndo_configfiles                       
> |
> |
> ndo_configfilevariables               
> |
> |
> ndo_conninfo                          
> |
> |
> ndo_contact_addresses                 
> |
> |
> ndo_contact_notificationcommands      
> |
> |
> ndo_contactgroup_members              
> |
> |
> ndo_contactgroups                     
> |
> |
> ndo_contactnotificationmethods        
> |
> |
> ndo_contactnotifications              
> |
> |
> ndo_contacts                          
> |
> |
> ndo_customobjectvariables             
> |
> |
> ndo_downtimehistory                   
> |
> |
> ndo_eventhandlers                     
> |
> |
> ndo_externalcommands                  
> |
> |
> ndo_flappinghistory                   
> |
> |
> ndo_host_contactgroups                
> |
> |
> ndo_host_parenthosts                  
> |
> |
> ndo_hostchecks                        
> |
> |
> ndo_hostdependencies                  
> |
> |
> ndo_hostescalation_contactgroups      
> |
> |
> ndo_hostescalations                   
> |
> |
> ndo_hostextinfo                       
> |
> |
> ndo_hostgroup_members                 
> |
> |
> ndo_hostgroups                        
> |
> |
> ndo_hosts                             
> |
> |
> ndo_hoststatus                        
> |
> |
> ndo_instances                         
> |
> |
> ndo_logentries                        
> |
> |
> ndo_notifications                     
> |
> |
> ndo_objects                           
> |
> |
> ndo_processevents                     
> |
> |
> ndo_programstatus                     
> |
> |
> ndo_runtimevariables                  
> |
> |
> ndo_scheduleddowntime                 
> |
> |
> ndo_service_contactgroups             
> |
> |
> ndo_servicechecks                     
> |
> |
> ndo_servicedependencies               
> |
> | ndo_serviceescalation_contactgroups    |
> |
> ndo_serviceescalations                
> |
> |
> ndo_serviceextinfo                    
> |
> |
> ndo_servicegroup_members              
> |
> |
> ndo_servicegroups                     
> |
> |
> ndo_services                          
> |
> |
> ndo_servicestatus                     
> |
> |
> ndo_statehistory                      
> |
> |
> ndo_systemcommands                    
> |
> |
> ndo_timedeventqueue                   
> |
> |
> ndo_timedevents                       
> |
> |
> ndo_timeperiod_timeranges             
> |
> |
> ndo_timeperiods                       
> |
> +----------------------------------------+
> 113 rows in set (0.00 sec)
> mysql>
>  
> [root at dns ndoutils-1.4b8]# ./configure
> checking for a BSD-compatible install... /usr/bin/install
> -c
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether make sets $(MAKE)... yes
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e...
> /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking whether time.h and sys/time.h may both be
> included... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking dirent.h usability... yes
> checking dirent.h presence... yes
> checking for dirent.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking float.h usability... yes
> checking float.h presence... yes
> checking for float.h... yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking grp.h usability... yes
> checking grp.h presence... yes
> checking for grp.h... yes
> checking for inttypes.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking ltdl.h usability... no
> checking ltdl.h presence... no
> checking for ltdl.h... no
> checking math.h usability... yes
> checking math.h presence... yes
> checking for math.h... yes
> checking netdb.h usability... yes
> checking netdb.h presence... yes
> checking for netdb.h... yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking pwd.h usability... yes
> checking pwd.h presence... yes
> checking for pwd.h... yes
> checking regex.h usability... yes
> checking regex.h presence... yes
> checking for regex.h... yes
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking socket.h usability... no
> checking socket.h presence... no
> checking for socket.h... no
> checking stdarg.h usability... yes
> checking stdarg.h presence... yes
> checking for stdarg.h... yes
> checking for stdint.h... (cached) yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking sys/ipc.h usability... yes
> checking sys/ipc.h presence... yes
> checking for sys/ipc.h... yes
> checking sys/mman.h usability... yes
> checking sys/mman.h presence... yes
> checking for sys/mman.h... yes
> checking sys/msg.h usability... yes
> checking sys/msg.h presence... yes
> checking for sys/msg.h... yes
> checking sys/poll.h usability... yes
> checking sys/poll.h presence... yes
> checking for sys/poll.h... yes
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.h... yes
> checking sys/sendfile.h usability... yes
> checking sys/sendfile.h presence... yes
> checking for sys/sendfile.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking for sys/stat.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/timeb.h usability... yes
> checking sys/timeb.h presence... yes
> checking for sys/timeb.h... yes
> checking for sys/types.h... (cached) yes
> checking sys/un.h usability... yes
> checking sys/un.h presence... yes
> checking for sys/un.h... yes
> checking for sys/wait.h... (cached) yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking tcpd.h usability... yes
> checking tcpd.h presence... yes
> checking for tcpd.h... yes
> checking for unistd.h... (cached) yes
> checking values.h usability... yes
> checking values.h presence... yes
> checking for values.h... yes
> checking for an ANSI C-conforming const... yes
> checking whether struct tm is in sys/time.h or time.h...
> time.h
> checking for mode_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking return type of signal handlers... void
> checking for uid_t in sys/types.h... yes
> checking type of array argument to getgroups... gid_t
> checking for int... yes
> checking size of int... 4
> checking for short... yes
> checking size of short... 2
> checking for long... yes
> checking size of long... 4
> checking for uint32_t... yes
> checking for u_int32_t... yes
> checking for int32_t... yes
> checking for getopt_long... yes
> checking for main in -lnsl... yes
> checking for socket in -lsocket... no
> checking for main in -lwrap... yes
> checking for strdup... yes
> checking for strstr... yes
> checking for strtoul... yes
> checking for initgroups... yes
> checking for strtof... yes
> checking for type of socket size... size_t
> checking for linker flags for loadable modules... -shared
> checking for mysql_config... /usr/bin/mysql_config
> checking for mysql_init in -lmysqlclient... yes
> MySQL library and include file(s) were found!
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating subst
> config.status: WARNING:  subst.in seems to ignore the
> --datarootdir setting
> config.status: creating include/config.h
> 
> *** Configuration summary for ndoutils 1.4b8 07-15-2009
> ***:
>  General Options:
>  -------------------------
>  NDO2DB user:    nagios
>  NDO2DB group:   nagios
> 
> Review the options above for accuracy.  If they look
> okay,
> type 'make' to compile the NDO utilities.
> Network Operations Center Manager 
> Experis Data Center LLC 
> 8209 Valley Pike 
> PO Box 535 
> Middletown,VA 22645 
> phone:540-869-8702 
> cell:240-988-3267 
> fax:540-869-8710 
> e-mail:naloi at experisdatacenters.com 
> 
> -----La pièce jointe associée suit-----
> 
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a
> limited time, 
> vendors submitting new applications to BlackBerry App
> World(TM) will have
> the opportunity to enter the BlackBerry Developer
> Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> -----La pièce jointe associée suit-----
> 
> _______________________________________________
> 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


      


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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