Hello,
I ran perfparse-log2mysql --show_config
>From the generated file, I updated the database settings and it seems to be working now. :-)
Kirk
----- Forwarded message from Kirk Patton <kp...@ca...> -----
To: perfparse-users <per...@li...>
From: Kirk Patton <kp...@ca...>
Subject: perfpars-log2mysql not loading module
Date: Fri, 30 Jun 2006 08:00:45 -0700
User-Agent: Mutt/1.4.2.1i
Hello all,
I can get perfparse-log2mysql to work "if" I specify "--storage_modules_load mysql --storage_modules_dir /usr/lib64".
If I leave it up to the entries defined in the configuration file, I get the error
"No module was loaded. Check the Storage_Module_Load config option."
I ran a strace on perfparse-log2mysql and it is looking at the config file, but it does not figure out where/how/what
to load.
I am including my perfparse.cfg file. I am hoping that someone may see something in it that could be the cause of my
problem.
Any suggestions?
Thanks,
Kirk
# 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 = "/var/tmp/perfdata-service.pipe"
Service_Log = "/var/tmp/perfdata-service.log"
Service_Log_Position_Mark_Path = "/var/tmp"
# Error handling :
Error_Log = "/var/tmp/perfparse.log"
Error_Log_Rotate = "Yes"
Error_Log_Keep_N_Days = "7"
Drop_File = "/var/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 = "no"
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"
Storage_Modules_Dir = "/usr/lib64"
Storage_Module_Load = "mysql"
# Perfparsed server managment :
# =============================
Server_Port = "1976"
# Database managment :
# ====================
Use_Storage_Mysql = "yes"
No_Raw_Data = "no"
No_Bin_Data = "no"
# Database Authentication
DB_User = "nagios"
DB_Name = "nagios"
DB_Pass = "nagios"
DB_Host = "newmoney"
# misc
Dummy_Hostname = "dummy"
--
Kirk Patton
Unix Administrator
Transmeta Inc.
Tel. 408 919-3055
----- End forwarded message -----
--
Kirk Patton
Unix Administrator
Transmeta Inc.
Tel. 408 919-3055
|