From: Florian G. <fl...@bi...> - 2006-06-21 20:05:05
|
This could probably help: http://wiki.perfparse.org/tiki-view_faq.php?faqId=7 Flo Kirk Patton schrieb: > Hello, > > I am trying to configure Nagios and perfparse using named pipes. > I am running into difficulties when starting perfparsed. > > 2006/06/21 09:36:02 [perfparsed.c:180 22447 ] No module was loaded. Check the Storage_Module_Load config option. > > The message board on Sourceforge is down at the moment, so I am unable to search the mail archives. > > Can anyone direct me on how to determine the root cause of the message listed above? Also, is there any documentation of the > options to the perparsed.cfg file? > > Any help is appreciated. > > Thanks, > Kirk > > Here is my perfparse.cfg file > =================================== > # 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_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/lib"; > 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" > > > Here is a list of where the perfparse file are > ============================================= > /etc > /etc/nagios_perfparse.cfg > /etc/perfparse.cfg.example > /usr > /usr/bin > /usr/bin/check_perfparse_version > /usr/bin/perfparse-db-purge > /usr/bin/perfparse-db-tool > /usr/bin/perfparse-log2any > /usr/bin/perfparse-log2file_output > /usr/bin/perfparse-log2gnuplot > /usr/bin/perfparse-log2mysql > /usr/bin/perfparse-log2socket_output > /usr/bin/perfparse-log2stdout > /usr/bin/perfparse.sh.example > /usr/bin/perfparse_nagios_command.pl > /usr/bin/perfparse_nagios_pipe_command.pl > /usr/bin/perfparsed > /usr/lib > /usr/lib/libnagios_perfdata_parser.a > /usr/lib/libnagios_perfdata_parser.la > /usr/lib/libnagios_perfdata_parser.so > /usr/lib/libnagios_perfdata_parser.so.0 > /usr/lib/libnagios_perfdata_parser.so.0.0.0 > /usr/lib/libpp_common.a > /usr/lib/libpp_common.la > /usr/lib/libpp_common.so > /usr/lib/libpp_common.so.0 > /usr/lib/libpp_common.so.0.0.0 > /usr/lib/libpp_mysql.a > /usr/lib/libpp_mysql.la > /usr/lib/libpp_mysql.so > /usr/lib/libpp_mysql.so.0 > /usr/lib/libpp_mysql.so.0.0.0 > /usr/lib/libpp_storage_file_output.a > /usr/lib/libpp_storage_file_output.la > /usr/lib/libpp_storage_file_output.so > /usr/lib/libpp_storage_file_output.so.0 > /usr/lib/libpp_storage_file_output.so.0.0.0 > /usr/lib/libpp_storage_gnuplot.a > /usr/lib/libpp_storage_gnuplot.la > /usr/lib/libpp_storage_gnuplot.so > /usr/lib/libpp_storage_gnuplot.so.0 > /usr/lib/libpp_storage_gnuplot.so.0.0.0 > /usr/lib/libpp_storage_mysql.a > /usr/lib/libpp_storage_mysql.la > /usr/lib/libpp_storage_mysql.so > /usr/lib/libpp_storage_mysql.so.0 > /usr/lib/libpp_storage_mysql.so.0.0.0 > /usr/lib/libpp_storage_print.a > /usr/lib/libpp_storage_print.la > /usr/lib/libpp_storage_print.so > /usr/lib/libpp_storage_print.so.0 > /usr/lib/libpp_storage_print.so.0.0.0 > /usr/lib/libpp_storage_socket_output.a > /usr/lib/libpp_storage_socket_output.la > /usr/lib/libpp_storage_socket_output.so > /usr/lib/libpp_storage_socket_output.so.0 > /usr/lib/libpp_storage_socket_output.so.0.0.0 > /usr/lib/libpp_storage_stdout.a > /usr/lib/libpp_storage_stdout.la > /usr/lib/libpp_storage_stdout.so > /usr/lib/libpp_storage_stdout.so.0 > /usr/lib/libpp_storage_stdout.so.0.0.0 > /usr/lib/nagios > /usr/lib/nagios/cgi > /usr/lib/nagios/cgi/perfchart.png > /usr/lib/nagios/cgi/perfgant.png > /usr/lib/nagios/cgi/perfparse.cgi > /usr/share > /usr/share/doc/perfparse-0.105.6 > /usr/share/doc/perfparse-0.105.6/AUTHORS > /usr/share/doc/perfparse-0.105.6/COPYING > /usr/share/doc/perfparse-0.105.6/ChangeLog > /usr/share/doc/perfparse-0.105.6/INSTALL > /usr/share/doc/perfparse-0.105.6/README > /usr/share/doc/perfparse-0.105.6/mysql_create.sql > /usr/share/doc/perfparse-0.105.6/mysql_delete.sql > /usr/share/doc/perfparse-0.105.6/postgresql_create.sql > /usr/share/doc/perfparse-0.105.6/postgresql_delete.sql > /usr/share/locale > /usr/share/locale/de > /usr/share/locale/de/LC_MESSAGES > /usr/share/locale/de/LC_MESSAGES/perfparse.mo > /usr/share/locale/fr > /usr/share/locale/fr/LC_MESSAGES > /usr/share/locale/fr/LC_MESSAGES/perfparse.mo > /usr/share/nagios > /usr/share/nagios/images > /usr/share/nagios/images/dec0.png > /usr/share/nagios/images/dec1.png > /usr/share/nagios/images/inc0.png > /usr/share/nagios/images/inc1.png > /usr/share/nagios/images/perfgraph-sm.png > /usr/share/nagios/images/perfparse-logo-sm.png > /usr/share/nagios/images/perfparse-logo.png > /usr/src > /usr/src/debug > > |