From: Marr, J. <jm...@br...> - 2004-11-03 15:38:12
|
I'm using 0.103.1. The config file is in the correct directory (/usr/local/nagios/etc).=20 Im using 4.1.7 for MySQL (Client and Server) Here is a show_config [root@excedrin bin]# ./perfparse-log2db --show_config Perfparse-log2* [options] # File where Perfparse logs messages # Error_Log =3D "string" Error_Log =3D "perfparse.log" # Rotate Perfparse log files # Error_Log_Rotate =3D "Y/N" Error_Log_Rotate =3D "Yes" # When perfparse cannot parse a file, it drops it to that file # Drop_File =3D "string" Drop_File =3D "/tmp/perfparse.drop" #=20 # Drop_File_Rotate =3D "Y/N" Drop_File_Rotate =3D "Yes" # Log source from nagios (or other tools) that perfparse will scan Authorized values: a file name, '-' for stdin, '|' for a fifo and '>' for a host:port socket For sockets, a command 'history' will be sent before retreiving the data # Service_Log =3D "string" Service_Log =3D "-" # Save the read position in the nagios log file ? If yes, perfparse will start from that position instead of from the beginning # Service_Log_Save_Position =3D "Y/N" Service_Log_Save_Position =3D "yes" # Path for files containing the read position for nagios log files # Service_Log_Position_Mark_Path =3D "string" Service_Log_Position_Mark_Path =3D "" # Start timestamp for history retreiving (positive is absolute, negative is relative to end tm) # History_Start_Tm =3D "value" History_Start_Tm =3D "-86400" # End timestamp for history retreiving (positive is absolute, negative is relative to Now) # History_End_Tm =3D "value" History_End_Tm =3D "-30" # Show status bar when running # Show_Status_Bar =3D "Y/N" Show_Status_Bar =3D "no" # Print a report at the end of the processing # Do_Report =3D "Y/N" Do_Report =3D "no" # Dummy hostname if gethostname() does not work # Dummy_Hostname =3D "string" Dummy_Hostname =3D "dummy" # Don't store raw data # No_Raw_Data =3D "Y/N" No_Raw_Data =3D "no" # Don't store bin data # No_Bin_Data =3D "Y/N" No_Bin_Data =3D "no" # Storage Module : mysql # = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D # Use Mysql storage module # Use_Storage_Mysql =3D "Y/N" Use_Storage_Mysql =3D "yes" # Database user # DB_User =3D "string" DB_User =3D "*****" # Database password # DB_Pass =3D "string" DB_Pass =3D "*****" # Database name # DB_Name =3D "string" DB_Name =3D "*****" # Database hostname # DB_Host =3D "string" DB_Host =3D "*****" Let me know if there is any more info I can provide. Joe Marr -----Original Message----- From: per...@li... [mailto:per...@li...] On Behalf Of Yves Mettier Sent: Wednesday, November 03, 2004 8:45 AM To: per...@li... Subject: Re: [Perfparse-users] Help..... Check if you have a configuration file in your installation directory. If you only have etc/perfparse.cfg.example, rename it as etc/perfparse.cfg and edit. If that does not solve the problem, try to give us more info, including the version of perfparse you are using (latest is 0.103.1). Yves > Hi All, > > > > I'm trying to install the software for the first time, using the method > 2. > > > > When I try to launch the CGI using the standard link > (http://server.domain.com/nagios/cgi-bin/perfgraph.cgi?all_bin=3D1) or any > link other then http://server.domain.com/nagios/cgi-bin/perfgraph.cgi I > get this error. > > > Server error! > > > The server encountered an internal error and was unable to complete your > request. > > Error message: > malformed header from script. Bad header=3Dperfgraph.cgi: = perfgraph.cgi > > If you think this is a server error, please contact the webmaster > <mailto:root@localhost> > > > Error 500 > > > > > I see that there was someone else with issue in the forums, but I tried > the things Ben suggested. Does anyone know what this error is about? > > > > Joe Marr > > > > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://perfparse.sf.net/ - ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id=12065&op=3Dick _______________________________________________ Perfparse-users mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-users |