From: Jessica H. <Je...@gm...> - 2005-02-17 08:44:22
|
Hi, I've find no answers to my problems, but some things are very strange... I start nagios with /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg than I get this output on the command line : erfparse-log2* [options] -e, --error-log <string> : Perfparse log --drop-file <string> : File for dropped lines -l, --serviceperf-log <string> : Input log source (from nagios or perfparsed) --history_start_tm <integer> : Start timestamp for history retreiving --history_end_tm <integer> : End timestamp for history retreiving -s, --status-bar : Show status bar -r, --report : Print a report --no-raw-data : Don't store raw data --no-bin-data : Don't store bin data --storage_modules_dir <string> : Path where storage modules are --storage_modules_load <string> : Modules to load (CSV) --show_config : Show config Missing value for option --serviceperf-log /usr/local/nagios/var/perfdata-service.log: line 1: 1108629383: command not found My perfdata-service.log: 1108629443 jholle Ping PING OK - Packet loss = 0%, RTA = 0.36 ms OK So this "command" is the timestamp. When I try agios@rzvlabwks:/usr/local/nagios/bin> perfparse-log2any --help Perfparse-log2* [Optionen] -e, --error-log <string> : Perfparse log --drop-file <string> : File for dropped lines -l, --serviceperf-log <string> : Input log source (from nagios or perfparsed) --history_start_tm <integer> : Start timestamp for history retreiving --history_end_tm <integer> : End timestamp for history retreiving -s, --status-bar : Show status bar -r, --report : Print a report --no-raw-data : Don't store raw data --no-bin-data : Don't store bin data --storage_modules_dir <string> : Path where storage modules are --storage_modules_load <string> : Modules to load (CSV) --show_config : Show config 2005/02/17 09:39:09 [perfparse-log2any.c:160 22750 ] No module was loaded. Check the Storage_Module_Load config option. My perfdata.cfg: nagios@rzvlabwks:/usr/local/nagios/etc> cat perfparse.cfg # WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING # # When you submit a bug, please run perfparse-log2* or perfparsed or whatever # the binary is, with --show_config option (and your other usual options) # instead of sending this file. # Example : # perfparsed -c ../etc/perfparse.cfg --show_config # # Send this file only when you cannot output anything from your tool. # # WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING # # Config file. # # In all cases, variables used as: # # 1. From program default defined by configure. # # 2. From this file. # # 3. From variables passed to programs. # # Server managment (perfparsed only) : # ==================================== Server_Port = 1976 # Parser managment : # ================== # Performance Data Log Files ("-" for stdin) : Service_Log = "|/usr/local/nagios/var/perfdata-service.log" Service_Log_Position_Mark_Path = "/usr/local/nagios/var" # Error handling : Error_Log = "/usr/local/nagios/var/perfparse.log" Error_Log_Rotate = "Yes" Error_Log_Keep_N_Days = "7" Drop_File = "/tmp/perfparse.drop" Drop_File_Rotate = "Yes" Drop_File_Keep_N_Days = "7" # Lock file for only one perfparse running at the same time Lock_File = "/var/lock/perfparse.lock" # Reporting options : # =================== # Do not display completion status of perfparse: Show_Status_Bar = "no" # Display a report on exit of perfparse: Do_Report = "no" # CGI managment : # =============== # Default user permissions in the CGI. Accepted values are (ro|rw|hide) Default_user_permissions_Policy = "rw" Default_user_permissions_Host_groups = "rw" Default_user_permissions_Summary = "rw" # Output logger : # =============== # set Output_Log_File to "yes" to enable it Output_Log_File = "yes" Output_Log_Filename = "/var/log/perfparse_output_log" Output_Log_Rotate = "yes" Output_Log_Keep_N_Days = "7" # Socket_output managment : # ========================= Use_Storage_Socket_Output = "no" Storage_Socket_Output_Host_Name = "localhost" Storage_Socket_Output_Port = "1974" # Perfparsed server managment : # ============================= Server_Port = "1976" # Database managment : # ==================== Use_Storage_Mysql = "yes" No_Raw_Data = "yes" No_Bin_Data = "yes" # Database Authentication DB_User = "root" DB_Name = "perfparse" DB_Pass = "" DB_Host = "127.0.0.1" # misc Dummy_Hostname = "dummy" And in perfparse.log.20050217.log: 2005/02/17 08:49:50 [perfparse-log2any.c:155 21654 ] FIFO ist für PerfParse nicht als Quelle autorisiert 2005/02/17 08:52:06 [perfparse-log2any.c:155 21714 ] FIFO ist für PerfParse nicht als Quelle autorisiert 2005/02/17 09:27:44 [perfparse-log2any.c:155 22482 ] FIFO ist für PerfParse nicht als Quelle autorisiert 2005/02/17 09:31:09 [perfparse-log2any.c:155 22584 ] FIFO ist für PerfParse nicht als Quelle autorisiert 2005/02/17 09:39:06 [perfparse-log2any.c:155 22744 ] FIFO ist für PerfParse nicht als Quelle autorisiert I don't know what all this mean but i thing that no storage module /storage_mysql.c) is loaded, but I don't know. Can anyone help me pleas? -- Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail |