You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(12) |
Jun
(56) |
Jul
(68) |
Aug
(141) |
Sep
(82) |
Oct
(76) |
Nov
(115) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(65) |
Feb
(113) |
Mar
(82) |
Apr
(37) |
May
(44) |
Jun
(22) |
Jul
(12) |
Aug
(3) |
Sep
(17) |
Oct
(11) |
Nov
(23) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(9) |
Mar
(6) |
Apr
(12) |
May
(10) |
Jun
(23) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(4) |
Nov
(6) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(14) |
Mar
(20) |
Apr
(7) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(2) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(6) |
Jun
(5) |
Jul
(13) |
Aug
(2) |
Sep
(16) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ben C. <BC...@pa...> - 2005-07-05 22:55:00
|
I'm running the latest PP and see the same thing: # set Output_Log_File to "yes" to enable it Output_Log_File = "no" Output_Log_Filename = "/usr/local/nagios/var/perfparse_output_log" Output_Log_Rotate = "yes" Output_Log_Keep_N_Days = "7" Last week I created 2 cron jobs to deal with it: # remove any perfparse error files in /usr/local/nagios/var 1 0 * * * find /usr/local/nagios/var -name 'perfparse_err*' -ctime +1 -exec rm -f {} \; # remove perfparse files in /tmp 5 0 * * * find /tmp -name 'perfparse.drop*' -ctime +2 -exec rm -f {} \; 2>/dev/null Ben -----Original Message----- From: Horvath Tamas [mailto:zs...@t-...] Sent: Tuesday, July 05, 2005 1:55 PM To: per...@li... Subject: [Perfparse-users] Log rotate Hi List! I use PP 0.105.6 on Debian Woody 3.1. I have the following settings in perparse.cfg: Error_Log = "/var/log/perfparse/perfparse.log" Error_Log_Rotate = "Y" Error_Log_Keep_N_Days = "7" Despite the above settings I have old files in /var/log/perfparse/ directory. The oldest ones are those which were created when I installed PP: perfparse.log.20050518.log perfparse.log.20050519.log ... I think the older than 7 day files have to be removed. Am I wrong? Any help would be appreciated. Thanks, Tamas! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Perfparse-users mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ |
From: Garrett H. <gh...@3g...> - 2005-07-05 21:18:58
|
I am using check_mysql which returns 8 different metrics; however, perfparse only shows the first 3. Any ideas on how to get perfparse to return perf data for all metrics that a plugin returns? -g -- // Garrett Honeycutt // Sr. Systems Administrator // 3GUpload.com, Inc. // 317.472.4969 Office |
From: Horvath T. <zs...@t-...> - 2005-07-05 17:54:50
|
Hi List! I use PP 0.105.6 on Debian Woody 3.1. I have the following settings in perparse.cfg: Error_Log = "/var/log/perfparse/perfparse.log" Error_Log_Rotate = "Y" Error_Log_Keep_N_Days = "7" Despite the above settings I have old files in /var/log/perfparse/ directory. The oldest ones are those which were created when I installed PP: perfparse.log.20050518.log perfparse.log.20050519.log ... I think the older than 7 day files have to be removed. Am I wrong? Any help would be appreciated. Thanks, Tamas! |
From: Ben C. <bcl...@pe...> - 2005-06-29 13:59:21
|
Ben, The code for this may be found in the function 'drawYScale()'. Look for line 1031 in file cgi/perfchart.c. Ben. Ben Conrad wrote: > Hi Folks, > > I'm using Nagios + Perfparse to graph bytes/sec on some of my networking > equipment (T1 speed). It seems that when the data value goes over a certain > number (100,000??) that the Perfparse graphs switch to using exponents on > the Y-axis. So right now for my T1 usage of about 138785 (bytes/sec) > Perfparse displays this value as 1.80+e05 on the chart, it doesn't read > very well. > > Is there any way to change this so that the actual value stored in the Db is > displayed in the graph? > > > Thanks, > > Ben > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Ben C. <BC...@pa...> - 2005-06-29 13:50:06
|
Hi Folks, I'm using Nagios + Perfparse to graph bytes/sec on some of my networking equipment (T1 speed). It seems that when the data value goes over a certain number (100,000??) that the Perfparse graphs switch to using exponents on the Y-axis. So right now for my T1 usage of about 138785 (bytes/sec) Perfparse displays this value as 1.80+e05 on the chart, it doesn't read very well. Is there any way to change this so that the actual value stored in the Db is displayed in the graph? Thanks, Ben |
From: abo <ab...@br...> - 2005-06-29 07:03:11
|
is your error log complaining about something? /usr/local/nagios/var/perfparse.log i had problems setting up mysql permissions and didn't notice it until i saw that file. see you El dt, 28-06-2005 a las 18:10 -0700, Richard DeWath escribi=F3: > I have been running Nagios 1.2 and want to add > perfparse to get the stats it can provide. I am > setting up a new host for better performance on RHES4, > with MySQL version 4.1.7. I reconfigured and > installed a new Nagios with --with-file-perfdata and > attempted to install the first way I found "Periodic > Nagios Log Parse". I had a few problems with needing > to touch the error log file the first time, and > setting up correctly in the config the > "Storage_Modules_Load =3D mysql" which it now seems to > recognize (initially it complained about no storage > modules until this was fixed). I have a > /usr/local/nagios/var/serviceperf.log that Nagios is > updating. So here are the problems and questions: >=20 > 1. The MySQL database does not update still. How can > I debug this better - or any suggestions? > 2. I started with the install using the first listed > as the "default". I read the list and see that others > seem to go with pipe and perfparsed options. Anyone > set up on RHES and using any other option? =20 >=20 > I am intereseted in a long term use with perfparse and > am at a point that I can go forward with what I have > if it is the best, or rebuild this new host before it > goes into production with a different approach. =20 > Anyone's input is welcome about how I can get the > MySQL issue resolved and how to best complete which > setup. =20 >=20 > I am including below my current setup for review and > comment/suggestions. >=20 > Cheers, >=20 > Richard >=20 >=20 > perfparsed -c ../etc/perfparse.cfg --show_config > # >=20 > Perfparsed [options] >=20 > # File where Perfparse logs messages > # Error_Log =3D "string" > Error_Log =3D "/usr/local/nagios/var/perfparse.log" >=20 > # Rotate Perfparse log files > # Error_Log_Rotate =3D "Y/N" > Error_Log_Rotate =3D "Yes" >=20 > # Keep N days of error log. Compress recent logs and > remove too old ones > # Error_Log_Keep_N_Days =3D "value" > Error_Log_Keep_N_Days =3D "7" >=20 > # When perfparse cannot parse a line, it drops it to > that file > # Drop_File =3D "string" > Drop_File =3D "/tmp/perfparse.drop" >=20 > #=20 > # Drop_File_Rotate =3D "Y/N" > Drop_File_Rotate =3D "Yes" >=20 > # Keep N days of drop file log. Compress recent logs > and remove too old ones > # Drop_File_Keep_N_Days =3D "value" > Drop_File_Keep_N_Days =3D "7" >=20 > # Port for perfparsed server > # Put 0 or "" to disable the server > # Server_Port =3D "value" > Server_Port =3D "1976" >=20 > # 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 "/usr/local/nagios/var/serviceperf.log" >=20 > # 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" >=20 > # Path for files containing the read position for > nagios log files > # Service_Log_Position_Mark_Path =3D "string" > Service_Log_Position_Mark_Path =3D > "/usr/local/nagios/var" >=20 > # Lock file for perfparsed > # Daemon_Lock =3D "string" > Daemon_Lock =3D "/usr/local/nagios/var/perfparsed.lock" >=20 > # Run perfparsed as a daemon > # Daemonize =3D "Y/N" > Daemonize =3D "no" >=20 > # Perform some periodic cleanup every day > # Periodic_Cleanup =3D "Y/N" > Periodic_Cleanup =3D "yes" >=20 > # Lock file for perfparsed periodic cleanup process > # Periodic_Cleanup_Lock =3D "string" > Periodic_Cleanup_Lock =3D > "/usr/local/nagios/var/perfparsed_periodic_cleanup.lock" >=20 > # Perform some periodic cleanup every day at HHMM > # Periodic_Cleanup_Hour =3D "value" > Periodic_Cleanup_Hour =3D "0230" >=20 > # Dummy hostname if gethostname() does not work > # Dummy_Hostname =3D "string" > Dummy_Hostname =3D "dummy" >=20 > # Don't store raw data > # No_Raw_Data =3D "Y/N" > No_Raw_Data =3D "no" >=20 > # Don't store bin data > # No_Bin_Data =3D "Y/N" > No_Bin_Data =3D "no" >=20 > # Path where storage modules are > # Storage_Modules_Dir =3D "string" > Storage_Modules_Dir =3D "/usr/local/nagios/lib" >=20 > # Modules to load (Coma separated values) > # Storage_Modules_Load =3D "string" > Storage_Modules_Load =3D "mysql" >=20 > # File to contain Storage Modules Status > # Storage_Modules_Status_File =3D "string" > Storage_Modules_Status_File =3D > "/usr/local/nagios/var/storage_modules.status" >=20 >=20 >=20 > # 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 >=20 > # Database user > # DB_User =3D "string" > DB_User =3D "perfparse" >=20 > # Database password > # DB_Pass =3D "string" > DB_Pass =3D "******" >=20 > # Database name > # DB_Name =3D "string" > DB_Name =3D "perfparse" >=20 > # Database hostname > # DB_Host =3D "string" > DB_Host =3D "127.0.0.1" >=20 >=20 >=20 > [root@pa-monitor-qa etc]# cat /tmp/perfparsed.config=20 > Perfparsed [options] >=20 > # File where Perfparse logs messages > # Error_Log =3D "string" > Error_Log =3D "/usr/local/nagios/var/perfparse.log" >=20 > # Rotate Perfparse log files > # Error_Log_Rotate =3D "Y/N" > Error_Log_Rotate =3D "Yes" >=20 > # Keep N days of error log. Compress recent logs and > remove too old ones > # Error_Log_Keep_N_Days =3D "value" > Error_Log_Keep_N_Days =3D "7" >=20 > # When perfparse cannot parse a line, it drops it to > that file > # Drop_File =3D "string" > Drop_File =3D "/tmp/perfparse.drop" >=20 > #=20 > # Drop_File_Rotate =3D "Y/N" > Drop_File_Rotate =3D "Yes" >=20 > # Keep N days of drop file log. Compress recent logs > and remove too old ones > # Drop_File_Keep_N_Days =3D "value" > Drop_File_Keep_N_Days =3D "7" >=20 > # Port for perfparsed server > # Put 0 or "" to disable the server > # Server_Port =3D "value" > Server_Port =3D "1976" >=20 > # 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 "/usr/local/nagios/var/serviceperf.log" >=20 > # 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" >=20 > # Path for files containing the read position for > nagios log files > # Service_Log_Position_Mark_Path =3D "string" > Service_Log_Position_Mark_Path =3D > "/usr/local/nagios/var" >=20 > # Lock file for perfparsed > # Daemon_Lock =3D "string" > Daemon_Lock =3D "/usr/local/nagios/var/perfparsed.lock" >=20 > # Run perfparsed as a daemon > # Daemonize =3D "Y/N" > Daemonize =3D "no" >=20 > # Perform some periodic cleanup every day > # Periodic_Cleanup =3D "Y/N" > Periodic_Cleanup =3D "yes" >=20 > # Lock file for perfparsed periodic cleanup process > # Periodic_Cleanup_Lock =3D "string" > Periodic_Cleanup_Lock =3D > "/usr/local/nagios/var/perfparsed_periodic_cleanup.lock" >=20 > # Perform some periodic cleanup every day at HHMM > # Periodic_Cleanup_Hour =3D "value" > Periodic_Cleanup_Hour =3D "0230" >=20 > # Dummy hostname if gethostname() does not work > # Dummy_Hostname =3D "string" > Dummy_Hostname =3D "dummy" >=20 > # Don't store raw data > # No_Raw_Data =3D "Y/N" > No_Raw_Data =3D "no" >=20 > # Don't store bin data > # No_Bin_Data =3D "Y/N" > No_Bin_Data =3D "no" >=20 > # Path where storage modules are > # Storage_Modules_Dir =3D "string" > Storage_Modules_Dir =3D "/usr/local/nagios/lib" >=20 > # Modules to load (Coma separated values) > # Storage_Modules_Load =3D "string" > Storage_Modules_Load =3D "mysql" >=20 > # File to contain Storage Modules Status > # Storage_Modules_Status_File =3D "string" > Storage_Modules_Status_File =3D > "/usr/local/nagios/var/storage_modules.status" >=20 >=20 >=20 > # 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 >=20 > # Database user > # DB_User =3D "string" > DB_User =3D "perfparse" >=20 > # Database password > # DB_Pass =3D "string" > DB_Pass =3D "dummy" >=20 > # Database name > # DB_Name =3D "string" > DB_Name =3D "perfparse" >=20 > # Database hostname > # DB_Host =3D "string" > DB_Host =3D "127.0.0.1" >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > # tail /usr/local/nagios/var/serviceperf.log > 1119656630tPA-BACKUP3tCheck NT host disk space on F > drivetF: total: 279.40 Gb - used: 12.87 Gb (5%) - free > 266.53 Gb (95%)tOK > 1119656630tMAILOUT1tSMTPtSMTP OK - 5 second response > timetOK > 1119656630tPA-BACKUP6tCheck NT host process state > NWREStAll processes are runningtOK > 1119656630tPA-ADC1tPORT 139tTCP OK - 0.064 second > response time on port 139tOK time=3D 0.064 > 1119656630tNS3tCheck remote host users warning gt 1 > critical gt 5tCHECK_NRPE: Socket timeout after 10 > seconds.tCRITICAL > 1119656630tNS3tSSHtSocket timeout after 10 > secondstCRITICAL > 1119656630tNS4tCheck remote host users warning gt 1 > critical gt 5tCHECK_NRPE: Socket timeout after 10 > seconds.tCRITICAL > 1119656630tNS4tSSHtSocket timeout after 10 > secondstCRITICAL > 1119656630tNS1tCheck remote host disk sda5tCHECK_NRPE: > Socket timeout after 15 seconds.tCRITICAL > 1119656630tPA-BACKUP3tCheck Legato Backup status > dailytCHECK_NRPE: Socket timeout after 10 > seconds.tCRITICAL >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 > MySQL: >=20 > mysql Ver 14.7 Distrib 4.1.7, for redhat-linux-gnu (i386) >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around=20 > http://mail.yahoo.com=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcl= ick > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users --=20 =E0ngel bosch ab...@br... |
From: Richard D. <de...@ya...> - 2005-06-29 01:10:57
|
I have been running Nagios 1.2 and want to add perfparse to get the stats it can provide. I am setting up a new host for better performance on RHES4, with MySQL version 4.1.7. I reconfigured and installed a new Nagios with --with-file-perfdata and attempted to install the first way I found "Periodic Nagios Log Parse". I had a few problems with needing to touch the error log file the first time, and setting up correctly in the config the "Storage_Modules_Load = mysql" which it now seems to recognize (initially it complained about no storage modules until this was fixed). I have a /usr/local/nagios/var/serviceperf.log that Nagios is updating. So here are the problems and questions: 1. The MySQL database does not update still. How can I debug this better - or any suggestions? 2. I started with the install using the first listed as the "default". I read the list and see that others seem to go with pipe and perfparsed options. Anyone set up on RHES and using any other option? I am intereseted in a long term use with perfparse and am at a point that I can go forward with what I have if it is the best, or rebuild this new host before it goes into production with a different approach. Anyone's input is welcome about how I can get the MySQL issue resolved and how to best complete which setup. I am including below my current setup for review and comment/suggestions. Cheers, Richard perfparsed -c ../etc/perfparse.cfg --show_config # Perfparsed [options] # File where Perfparse logs messages # Error_Log = "string" Error_Log = "/usr/local/nagios/var/perfparse.log" # Rotate Perfparse log files # Error_Log_Rotate = "Y/N" Error_Log_Rotate = "Yes" # Keep N days of error log. Compress recent logs and remove too old ones # Error_Log_Keep_N_Days = "value" Error_Log_Keep_N_Days = "7" # When perfparse cannot parse a line, it drops it to that file # Drop_File = "string" Drop_File = "/tmp/perfparse.drop" # # Drop_File_Rotate = "Y/N" Drop_File_Rotate = "Yes" # Keep N days of drop file log. Compress recent logs and remove too old ones # Drop_File_Keep_N_Days = "value" Drop_File_Keep_N_Days = "7" # Port for perfparsed server # Put 0 or "" to disable the server # Server_Port = "value" Server_Port = "1976" # 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 = "string" Service_Log = "/usr/local/nagios/var/serviceperf.log" # 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 = "Y/N" Service_Log_Save_Position = "yes" # Path for files containing the read position for nagios log files # Service_Log_Position_Mark_Path = "string" Service_Log_Position_Mark_Path = "/usr/local/nagios/var" # Lock file for perfparsed # Daemon_Lock = "string" Daemon_Lock = "/usr/local/nagios/var/perfparsed.lock" # Run perfparsed as a daemon # Daemonize = "Y/N" Daemonize = "no" # Perform some periodic cleanup every day # Periodic_Cleanup = "Y/N" Periodic_Cleanup = "yes" # Lock file for perfparsed periodic cleanup process # Periodic_Cleanup_Lock = "string" Periodic_Cleanup_Lock = "/usr/local/nagios/var/perfparsed_periodic_cleanup.lock" # Perform some periodic cleanup every day at HHMM # Periodic_Cleanup_Hour = "value" Periodic_Cleanup_Hour = "0230" # Dummy hostname if gethostname() does not work # Dummy_Hostname = "string" Dummy_Hostname = "dummy" # Don't store raw data # No_Raw_Data = "Y/N" No_Raw_Data = "no" # Don't store bin data # No_Bin_Data = "Y/N" No_Bin_Data = "no" # Path where storage modules are # Storage_Modules_Dir = "string" Storage_Modules_Dir = "/usr/local/nagios/lib" # Modules to load (Coma separated values) # Storage_Modules_Load = "string" Storage_Modules_Load = "mysql" # File to contain Storage Modules Status # Storage_Modules_Status_File = "string" Storage_Modules_Status_File = "/usr/local/nagios/var/storage_modules.status" # Storage Module : mysql # ============================== # Database user # DB_User = "string" DB_User = "perfparse" # Database password # DB_Pass = "string" DB_Pass = "******" # Database name # DB_Name = "string" DB_Name = "perfparse" # Database hostname # DB_Host = "string" DB_Host = "127.0.0.1" [root@pa-monitor-qa etc]# cat /tmp/perfparsed.config Perfparsed [options] # File where Perfparse logs messages # Error_Log = "string" Error_Log = "/usr/local/nagios/var/perfparse.log" # Rotate Perfparse log files # Error_Log_Rotate = "Y/N" Error_Log_Rotate = "Yes" # Keep N days of error log. Compress recent logs and remove too old ones # Error_Log_Keep_N_Days = "value" Error_Log_Keep_N_Days = "7" # When perfparse cannot parse a line, it drops it to that file # Drop_File = "string" Drop_File = "/tmp/perfparse.drop" # # Drop_File_Rotate = "Y/N" Drop_File_Rotate = "Yes" # Keep N days of drop file log. Compress recent logs and remove too old ones # Drop_File_Keep_N_Days = "value" Drop_File_Keep_N_Days = "7" # Port for perfparsed server # Put 0 or "" to disable the server # Server_Port = "value" Server_Port = "1976" # 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 = "string" Service_Log = "/usr/local/nagios/var/serviceperf.log" # 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 = "Y/N" Service_Log_Save_Position = "yes" # Path for files containing the read position for nagios log files # Service_Log_Position_Mark_Path = "string" Service_Log_Position_Mark_Path = "/usr/local/nagios/var" # Lock file for perfparsed # Daemon_Lock = "string" Daemon_Lock = "/usr/local/nagios/var/perfparsed.lock" # Run perfparsed as a daemon # Daemonize = "Y/N" Daemonize = "no" # Perform some periodic cleanup every day # Periodic_Cleanup = "Y/N" Periodic_Cleanup = "yes" # Lock file for perfparsed periodic cleanup process # Periodic_Cleanup_Lock = "string" Periodic_Cleanup_Lock = "/usr/local/nagios/var/perfparsed_periodic_cleanup.lock" # Perform some periodic cleanup every day at HHMM # Periodic_Cleanup_Hour = "value" Periodic_Cleanup_Hour = "0230" # Dummy hostname if gethostname() does not work # Dummy_Hostname = "string" Dummy_Hostname = "dummy" # Don't store raw data # No_Raw_Data = "Y/N" No_Raw_Data = "no" # Don't store bin data # No_Bin_Data = "Y/N" No_Bin_Data = "no" # Path where storage modules are # Storage_Modules_Dir = "string" Storage_Modules_Dir = "/usr/local/nagios/lib" # Modules to load (Coma separated values) # Storage_Modules_Load = "string" Storage_Modules_Load = "mysql" # File to contain Storage Modules Status # Storage_Modules_Status_File = "string" Storage_Modules_Status_File = "/usr/local/nagios/var/storage_modules.status" # Storage Module : mysql # ============================== # Database user # DB_User = "string" DB_User = "perfparse" # Database password # DB_Pass = "string" DB_Pass = "dummy" # Database name # DB_Name = "string" DB_Name = "perfparse" # Database hostname # DB_Host = "string" DB_Host = "127.0.0.1" ================== # tail /usr/local/nagios/var/serviceperf.log 1119656630tPA-BACKUP3tCheck NT host disk space on F drivetF: total: 279.40 Gb - used: 12.87 Gb (5%) - free 266.53 Gb (95%)tOK 1119656630tMAILOUT1tSMTPtSMTP OK - 5 second response timetOK 1119656630tPA-BACKUP6tCheck NT host process state NWREStAll processes are runningtOK 1119656630tPA-ADC1tPORT 139tTCP OK - 0.064 second response time on port 139tOK time= 0.064 1119656630tNS3tCheck remote host users warning gt 1 critical gt 5tCHECK_NRPE: Socket timeout after 10 seconds.tCRITICAL 1119656630tNS3tSSHtSocket timeout after 10 secondstCRITICAL 1119656630tNS4tCheck remote host users warning gt 1 critical gt 5tCHECK_NRPE: Socket timeout after 10 seconds.tCRITICAL 1119656630tNS4tSSHtSocket timeout after 10 secondstCRITICAL 1119656630tNS1tCheck remote host disk sda5tCHECK_NRPE: Socket timeout after 15 seconds.tCRITICAL 1119656630tPA-BACKUP3tCheck Legato Backup status dailytCHECK_NRPE: Socket timeout after 10 seconds.tCRITICAL ================== MySQL: mysql Ver 14.7 Distrib 4.1.7, for redhat-linux-gnu (i386) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Sand P. <Phi...@sy...> - 2005-06-28 07:07:47
|
I'm not using the perfparse pipe method, but I think this may bet he = reason for your latency. As far as I understood, the pipe method is not = suiteable when you have a lot of performance data, because for every = data it opens a new process, when you haven't configured Nagios with = embedded perl and perlcache. Maybe you should try out another method. I'm running perfparse with the = "Periodic Nagios Log Parse" with about 2000 Service checks... _____________________________ =20 Philipp Sand OC-CC-TEC-SYS =20 SYCOR GmbH Heinrich-von-Stephan-Stra=DFe 1-5 D - 37073 G=F6ttingen =20 Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 =20 phi...@sy... www.sycor.de ------------------------------------------------ =20 > -----Urspr=FCngliche Nachricht----- > Von: nag...@li... [mailto:nagios-users- > ad...@li...] Im Auftrag von Mieden, Rick van der > Gesendet: Dienstag, 28. Juni 2005 08:50 > An: nag...@li...; perfparse- > us...@li... > Betreff: RE: [Nagios-users] huge performance problems, nagios perparse >=20 > All, >=20 > I've solved my performance problems. It was caused by the performance > data in combination with perfparse. When I stopped the performance = data > I reached a latency of 0,4 sec. > Of course the question is why...... >=20 > Below my configuration related to perfparse and performance data. Any > remarks on anything what I did wrong and could cause the heavy > performance load would be nice. I also add-ed the perparse-users list, > perhaps somebody from that list can have a look at it? >=20 > Regards >=20 > Rick >=20 > cfg_file=3D/usr/local/nagios/etc/nagios_perfparse.cfg > perfdata_timeout=3D5 > process_performance_data=3D1 > host_perfdata_command=3Dprocess-host-perfdata > service_perfdata_command=3Dprocess-service-perfdata > host_perfdata_file=3D/usr/local/nagios/var/hostperf.log > service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log > host_perfdata_file_mode=3Dw > service_perfdata_file_mode=3Dw >=20 > my /usr/local/nagios/etc/nagios_perfparse.cfg looks like: >=20 > define command { > command_name process-service-perfdata > command_line > /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl > /usr/local/nagios/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" > "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$" > } >=20 > define command { > command_name process-host-perfdata > command_line > /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl > /usr/local/nagios/var/perfdata-host.log > "$TIMET$" "$HOSTNAME$" "$HOSTOUTPUT$" "$HOSTPERFDATA$" > } >=20 >=20 >=20 > -----Original Message----- > From: Hendrik Baecker [mailto:b0...@gm...] > Sent: Monday, June 27, 2005 15:31 > To: Mieden, Rick van der > Cc: nag...@li...; mar...@sa... > Subject: Re: [Nagios-users] huge performance problems >=20 > Mieden, Rick van der schrieb: >=20 > > Thanks for the responses, I tweaked it a bit, but still have a bad > > latency with 174 hosts and 2360 services. )I tuned it down from 540 > > sec to 224 seconds. My plugins are fine, they are really fast on > > commandline. I also have noticed that the latency drops to 4 secs if = I > > have around 1700 services running. So it looks like Nagios has some > > problems when the amount of services go over 2000 over something = like > > that. > > > > I'v read something with the USE_MEMORY_PERFORMANCE_TWEAKS. But even > > that option does not do anything better with the latency. I also = have > > read that there are many people who has far more hosts and services > > checks than I have without any performance problems. So I'd love to > > see their nagios.cfg, or would like to know what the trick is. > > > > Regards, > > > > Rick > > > Hi, >=20 > nearly the same on our side. Nagios with 1900 Services runs with max. > 2-4 seconds Latency. But beware if you want more... >=20 > I heard from this people too which have more than 2000 Services but = most > of them are doing a kind of distributed monitoring I think. >=20 > Regards, > Hendrik >=20 > > -----Original Message----- > > *From:* Hendrik Baecker [mailto:b0...@gm...] > > *Sent:* Thursday, June 23, 2005 15:50 > > *To:* Mieden, Rick van der > > *Cc:* nag...@li... > > *Subject:* Re: [Nagios-users] huge performance problems > > > > Hi, > > > > one year ago we have had nearly the same performance Problems too. > > > > It seems that the scheduler of nagios roles over itself if the count > > of services is to big. Therefore we decided to install another = nagios > > process with different configs in a different directory. So we > > splitted our nagios like our networks. One Nagios (nagios-1) for > > Network A and another one (nagios-2) for Network B. > > > > So our count of services per nagios instance was decreased and it = runs > > so far so good. > > > > All this was under version 1.2. > > > > In the past I posted some questions about our problem but there were > > no good answer on it, so today I just only know that it works for = us. > > > > So far for this. > > I hope nobody will geek me when I take your post to describe some > > problems we now have on testing above doing with different instances > > on the same host with nagios 2.02b. > > > > When I fire up my instance "nagios-1" with around 1600 Service = Checks > > it runs very fine with nearly no latency. > > But when I fire up the "nagios-2" with around 1850 services this > > instance runs very fast to latencies around 100 seconds. > > When I now stop the first instance the latencies on the second one > > decrease down to < 5 seconds. > > > > Perhaps some of the developer can tell me if I am right in theory = that > > (one of) the working thread(s) with the scheduling queue can see the > > other scheduling queue? Are the possibly the same? > > > > I am not a programmer but I can think about following: Starting > > nagios-1 will create the scheduling queue and gives it to RAM. So = far > > so good. There it is and the worker runs through it and executes the > > checks. > > I am now afraid that when I start my second nagios process this will > > also create the scheduling queue into the system RAM but that the = two > > proceses don't have their own queues... Hope that anybody understand > > what I mean. > > > > Best regards > > Hendrik > > > > Mieden, Rick van der schrieb: > > > > We have heavy performance problems with Nagios. We monitor 174 = hosts, > > with 2255 services and an average latency off 400 seconds!!!! Off > > course that's not exceptable. > > > > I use perl plugins with ssh and snmp plugins. I'v compiled nagios = with > > perlcache and embedded-perl enabled. The server is a sparc server = with > > 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) > > > > I played around with all kind of parameters and read the tuning docs > > for nagios. > > > > Below the output of "nagios -s nagios.cfg": > > > > Nagios 2.0b3 > > > > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org > > <http://www.nagios.org>) > > > > Last Modified: 04-03-2005 > > > > License: GPL > > > > Projected scheduling information for host and service > > > > checks is listed below. This information assumes that > > > > you are going to start running Nagios with your current > > > > config files. > > > > HOST SCHEDULING INFORMATION > > > > --------------------------- > > > > Total hosts: 174 > > > > Total scheduled hosts: 0 > > > > Host inter-check delay method: SMART > > > > Average host check interval: 0.00 sec > > > > Host inter-check delay: 0.00 sec > > > > Max host check spread: 30 min > > > > First scheduled check: N/A > > > > Last scheduled check: N/A > > > > SERVICE SCHEDULING INFORMATION > > > > ------------------------------- > > > > Total services: 2255 > > > > Total scheduled services: 2255 > > > > Service inter-check delay method: SMART > > > > Average service check interval: 222.47 sec > > > > Inter-check delay: 0.10 sec > > > > Interleave factor method: SMART > > > > Average services per host: 12.96 > > > > Service interleave factor: 13 > > > > Max service check spread: 30 min > > > > First scheduled check: Wed Jun 22 15:05:08 2005 > > > > Last scheduled check: Wed Jun 22 15:08:50 2005 > > > > CHECK PROCESSING INFORMATION > > > > ---------------------------- > > > > Service check reaper interval: 5 sec > > > > Max concurrent service checks: 200 > > > > PERFORMANCE SUGGESTIONS > > > > ----------------------- > > > > I have no suggestions - things look okay. > > > > And a nagiostat output: > > > > CURRENT STATUS DATA > > > > ---------------------------------------------------- > > > > Status File: /usr/local/nagios/var/status.dat > > > > Status File Age: 0d 0h 0m 13s > > > > Status File Version: 2.0b3 > > > > Program Running Time: 0d 32h 0m 13s > > > > Total Services: 2255 > > > > Services Checked: 2255 > > > > Services Scheduled: 2255 > > > > Active Service Checks: 2255 > > > > Passive Service Checks: 0 > > > > Total Service State Change: 0.000 / 5.860 / 0.003 % > > > > *Active Service Latency: 386.526 / 414.446 / 394.100 %* > > > > Active Service Execution Time: 0.062 / 60.349 / 1.428 sec > > > > Active Service State Change: 0.000 / 5.860 / 0.003 % > > > > *Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255* > > > > Passive Service State Change: 0.000 / 0.000 / 0.000 % > > > > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > > > Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 > > > > Services Flapping: 0 > > > > Services In Downtime: 0 > > > > Total Hosts: 174 > > > > Hosts Checked: 174 > > > > Hosts Scheduled: 0 > > > > Active Host Checks: 174 > > > > Passive Host Checks: 0 > > > > Total Host State Change: 0.000 / 0.000 / 0.000 % > > > > Active Host Latency: 0.000 / 0.000 / 0.000 % > > > > Active Host Execution Time: 0.137 / 1.109 / 0.582 sec > > > > Active Host State Change: 0.000 / 0.000 / 0.000 % > > > > Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 > > > > Passive Host State Change: 0.000 / 0.000 / 0.000 % > > > > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > > > Hosts Up/Down/Unreach: 174 / 0 / 0 > > > > Hosts Flapping: 0 > > > > Hosts In Downtime: 0 > > > > Anybody an idea what went wrong here? There must be something...... > > > > Regards, > > > > Rick > > > > = =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=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 > > > > De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is > > alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht > > ontvangt, wordt u verzocht de inhoud niet te gebruiken en de = afzender > > direct te informeren door het bericht te retourneren. Hoewel Orange > > maatregelen heeft genomen om virussen in deze email of attachments = te > > voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn > > aangezien Orange niet aansprakelijk is voor computervirussen die > > veroorzaakt zijn door deze email. > > > > The information contained in this message may be confidential and is > > intended to be only for the addressee. Should you receive this = message > > unintentionally, please do not use the contents herein and notify = the > > sender immediately by return e-mail. Although Orange has taken steps > > to ensure that this email and attachments are free from any virus, = you > > do need to verify the possibility of their existence as Orange can > > take no responsibility for any computer virus which might be > > transferred by way of this email. > > > > = =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=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=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=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 > > > > De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is > > alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht > > ontvangt, wordt u verzocht de inhoud niet te gebruiken en de = afzender > > direct te informeren door het bericht te retourneren. Hoewel Orange > > maatregelen heeft genomen om virussen in deze email of attachments = te > > voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn > > aangezien Orange niet aansprakelijk is voor computervirussen die > > veroorzaakt zijn door deze email. > > > > The information contained in this message may be confidential and is > > intended to be only for the addressee. Should you receive this = message > > unintentionally, please do not use the contents herein and notify = the > > sender immediately by return e-mail. Although Orange has taken steps > > to ensure that this email and attachments are free from any virus, = you > > do need to verify the possibility of their existence as Orange can > > take no responsibility for any computer virus which might be > > transferred by way of this email. > > > > = =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=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 > > >=20 >=20 >=20 > = =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=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 >=20 > De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is = alleen > bestemd voor de geadresseerde. Indien u dit bericht onterecht = ontvangt, > wordt u verzocht de inhoud niet te gebruiken en de afzender direct te > informeren door het bericht te retourneren. Hoewel Orange maatregelen > heeft genomen om virussen in deze email of attachments te voorkomen, = dient > u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet > aansprakelijk is voor computervirussen die veroorzaakt zijn door deze > email. >=20 > The information contained in this message may be confidential and is > intended to be only for the addressee. Should you receive this message > unintentionally, please do not use the contents herein and notify the > sender immediately by return e-mail. Although Orange has taken steps = to > ensure that this email and attachments are free from any virus, you do > need to verify the possibility of their existence as Orange can take = no > responsibility for any computer virus which might be transferred by = way of > this email. >=20 >=20 > = =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=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 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick > _______________________________________________ > Nagios-users mailing list > Nag...@li... > 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 |
From: Mieden, R. v. d. <ric...@or...> - 2005-06-28 06:50:32
|
All, I've solved my performance problems. It was caused by the performance data in combination with perfparse. When I stopped the performance data I reached a latency of 0,4 sec.=20 Of course the question is why...... Below my configuration related to perfparse and performance data. Any remarks on anything what I did wrong and could cause the heavy performance load would be nice. I also add-ed the perparse-users list, perhaps somebody from that list can have a look at it? Regards Rick cfg_file=3D/usr/local/nagios/etc/nagios_perfparse.cfg perfdata_timeout=3D5 process_performance_data=3D1 host_perfdata_command=3Dprocess-host-perfdata service_perfdata_command=3Dprocess-service-perfdata=20 host_perfdata_file=3D/usr/local/nagios/var/hostperf.log service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log host_perfdata_file_mode=3Dw service_perfdata_file_mode=3Dw my /usr/local/nagios/etc/nagios_perfparse.cfg looks like: define command { command_name process-service-perfdata command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl /usr/local/nagios/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$" } define command { command_name process-host-perfdata command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl /usr/local/nagios/var/perfdata-host.log "$TIMET$" "$HOSTNAME$" "$HOSTOUTPUT$" "$HOSTPERFDATA$" } -----Original Message----- From: Hendrik Baecker [mailto:b0...@gm...]=20 Sent: Monday, June 27, 2005 15:31 To: Mieden, Rick van der Cc: nag...@li...; mar...@sa... Subject: Re: [Nagios-users] huge performance problems Mieden, Rick van der schrieb: > Thanks for the responses, I tweaked it a bit, but still have a bad > latency with 174 hosts and 2360 services. )I tuned it down from 540 > sec to 224 seconds. My plugins are fine, they are really fast on > commandline. I also have noticed that the latency drops to 4 secs if I > have around 1700 services running. So it looks like Nagios has some > problems when the amount of services go over 2000 over something like > that. > > I'v read something with the USE_MEMORY_PERFORMANCE_TWEAKS. But even > that option does not do anything better with the latency. I also have > read that there are many people who has far more hosts and services > checks than I have without any performance problems. So I'd love to > see their nagios.cfg, or would like to know what the trick is. > > Regards, > > Rick > Hi, nearly the same on our side. Nagios with 1900 Services runs with max. 2-4 seconds Latency. But beware if you want more... I heard from this people too which have more than 2000 Services but most of them are doing a kind of distributed monitoring I think. Regards, Hendrik > -----Original Message----- > *From:* Hendrik Baecker [mailto:b0...@gm...] > *Sent:* Thursday, June 23, 2005 15:50 > *To:* Mieden, Rick van der > *Cc:* nag...@li... > *Subject:* Re: [Nagios-users] huge performance problems > > Hi, > > one year ago we have had nearly the same performance Problems too. > > It seems that the scheduler of nagios roles over itself if the count > of services is to big. Therefore we decided to install another nagios > process with different configs in a different directory. So we > splitted our nagios like our networks. One Nagios (nagios-1) for > Network A and another one (nagios-2) for Network B. > > So our count of services per nagios instance was decreased and it runs > so far so good. > > All this was under version 1.2. > > In the past I posted some questions about our problem but there were > no good answer on it, so today I just only know that it works for us. > > So far for this. > I hope nobody will geek me when I take your post to describe some > problems we now have on testing above doing with different instances > on the same host with nagios 2.02b. > > When I fire up my instance "nagios-1" with around 1600 Service Checks > it runs very fine with nearly no latency. > But when I fire up the "nagios-2" with around 1850 services this > instance runs very fast to latencies around 100 seconds. > When I now stop the first instance the latencies on the second one > decrease down to < 5 seconds. > > Perhaps some of the developer can tell me if I am right in theory that > (one of) the working thread(s) with the scheduling queue can see the > other scheduling queue? Are the possibly the same? > > I am not a programmer but I can think about following: Starting > nagios-1 will create the scheduling queue and gives it to RAM. So far > so good. There it is and the worker runs through it and executes the > checks. > I am now afraid that when I start my second nagios process this will > also create the scheduling queue into the system RAM but that the two > proceses don't have their own queues... Hope that anybody understand > what I mean. > > Best regards > Hendrik > > Mieden, Rick van der schrieb: > > We have heavy performance problems with Nagios. We monitor 174 hosts, > with 2255 services and an average latency off 400 seconds!!!! Off > course that's not exceptable. > > I use perl plugins with ssh and snmp plugins. I'v compiled nagios with > perlcache and embedded-perl enabled. The server is a sparc server with > 2 x 1.1 Ghz CPU and 1024 RAM. (Solaris 8, latest patch-level) > > I played around with all kind of parameters and read the tuning docs > for nagios. > > Below the output of "nagios -s nagios.cfg": > > Nagios 2.0b3 > > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org > <http://www.nagios.org>) > > Last Modified: 04-03-2005 > > License: GPL > > Projected scheduling information for host and service > > checks is listed below. This information assumes that > > you are going to start running Nagios with your current > > config files. > > HOST SCHEDULING INFORMATION > > --------------------------- > > Total hosts: 174 > > Total scheduled hosts: 0 > > Host inter-check delay method: SMART > > Average host check interval: 0.00 sec > > Host inter-check delay: 0.00 sec > > Max host check spread: 30 min > > First scheduled check: N/A > > Last scheduled check: N/A > > SERVICE SCHEDULING INFORMATION > > ------------------------------- > > Total services: 2255 > > Total scheduled services: 2255 > > Service inter-check delay method: SMART > > Average service check interval: 222.47 sec > > Inter-check delay: 0.10 sec > > Interleave factor method: SMART > > Average services per host: 12.96 > > Service interleave factor: 13 > > Max service check spread: 30 min > > First scheduled check: Wed Jun 22 15:05:08 2005 > > Last scheduled check: Wed Jun 22 15:08:50 2005 > > CHECK PROCESSING INFORMATION > > ---------------------------- > > Service check reaper interval: 5 sec > > Max concurrent service checks: 200 > > PERFORMANCE SUGGESTIONS > > ----------------------- > > I have no suggestions - things look okay. > > And a nagiostat output: > > CURRENT STATUS DATA > > ---------------------------------------------------- > > Status File: /usr/local/nagios/var/status.dat > > Status File Age: 0d 0h 0m 13s > > Status File Version: 2.0b3 > > Program Running Time: 0d 32h 0m 13s > > Total Services: 2255 > > Services Checked: 2255 > > Services Scheduled: 2255 > > Active Service Checks: 2255 > > Passive Service Checks: 0 > > Total Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Service Latency: 386.526 / 414.446 / 394.100 %* > > Active Service Execution Time: 0.062 / 60.349 / 1.428 sec > > Active Service State Change: 0.000 / 5.860 / 0.003 % > > *Active Services Last 1/5/15/60 min: 155 / 1044 / 2255 / 2255* > > Passive Service State Change: 0.000 / 0.000 / 0.000 % > > Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Services Ok/Warn/Unk/Crit: 2242 / 0 / 0 / 13 > > Services Flapping: 0 > > Services In Downtime: 0 > > Total Hosts: 174 > > Hosts Checked: 174 > > Hosts Scheduled: 0 > > Active Host Checks: 174 > > Passive Host Checks: 0 > > Total Host State Change: 0.000 / 0.000 / 0.000 % > > Active Host Latency: 0.000 / 0.000 / 0.000 % > > Active Host Execution Time: 0.137 / 1.109 / 0.582 sec > > Active Host State Change: 0.000 / 0.000 / 0.000 % > > Active Hosts Last 1/5/15/60 min: 1 / 2 / 2 / 9 > > Passive Host State Change: 0.000 / 0.000 / 0.000 % > > Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 > > Hosts Up/Down/Unreach: 174 / 0 / 0 > > Hosts Flapping: 0 > > Hosts In Downtime: 0 > > Anybody an idea what went wrong here? There must be something...... > > Regards, > > Rick > > = =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=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 > > De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is > alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht > ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender > direct te informeren door het bericht te retourneren. Hoewel Orange > maatregelen heeft genomen om virussen in deze email of attachments te > voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn > aangezien Orange niet aansprakelijk is voor computervirussen die > veroorzaakt zijn door deze email. > > The information contained in this message may be confidential and is > intended to be only for the addressee. Should you receive this message > unintentionally, please do not use the contents herein and notify the > sender immediately by return e-mail. Although Orange has taken steps > to ensure that this email and attachments are free from any virus, you > do need to verify the possibility of their existence as Orange can > take no responsibility for any computer virus which might be > transferred by way of this email. > > = =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=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=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=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 > > De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is > alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht > ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender > direct te informeren door het bericht te retourneren. Hoewel Orange > maatregelen heeft genomen om virussen in deze email of attachments te > voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn > aangezien Orange niet aansprakelijk is voor computervirussen die > veroorzaakt zijn door deze email. > > The information contained in this message may be confidential and is > intended to be only for the addressee. Should you receive this message > unintentionally, please do not use the contents herein and notify the > sender immediately by return e-mail. Although Orange has taken steps > to ensure that this email and attachments are free from any virus, you > do need to verify the possibility of their existence as Orange can > take no responsibility for any computer virus which might be > transferred by way of this email. > > = =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=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=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=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 De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is = alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht = ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender = direct te informeren door het bericht te retourneren. Hoewel Orange = maatregelen heeft genomen om virussen in deze email of attachments te = voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn = aangezien Orange niet aansprakelijk is voor computervirussen die = veroorzaakt zijn door deze email. The information contained in this message may be confidential and is = intended to be only for the addressee. Should you receive this message = unintentionally, please do not use the contents herein and notify the = sender immediately by return e-mail. Although Orange has taken steps to = ensure that this email and attachments are free from any virus, you do = need to verify the possibility of their existence as Orange can take no = responsibility for any computer virus which might be transferred by way = of this email. =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=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 |
From: Sand P. <Phi...@sy...> - 2005-06-27 12:25:43
|
There is a feature request for this since a while...so far it's not = possible though :-/ > -----Urspr=FCngliche Nachricht----- > Von: per...@li... = [mailto:perfparse-users- > ad...@li...] Im Auftrag von abo > Gesendet: Montag, 27. Juni 2005 13:58 > An: per...@li... > Betreff: [Perfparse-users] three graphs in one >=20 > hi! > is there a way to display one graph with three (or more) sources? >=20 > the most obvious example is the cpu system/user/idle graph. >=20 > any hint? >=20 > thx in advance >=20 >=20 > -- >=20 > =E0ngel bosch > ab...@br... >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: abo <ab...@br...> - 2005-06-27 11:58:05
|
hi! is there a way to display one graph with three (or more) sources? the most obvious example is the cpu system/user/idle graph. any hint? thx in advance --=20 =E0ngel bosch ab...@br... |
From: abo <ab...@br...> - 2005-06-24 16:58:12
|
i think this is something relate simple brackets (') on your name. search on faq for more info El dj, 23-06-2005 a las 15:11 -0500, Garrett Honeycutt escribi=F3: > I have perfparse running great with nagios 1.2 reading from a named > pipe; however, my windows hosts' checks that are checked with check_nt > are not showing up. When I run the command from the nagios machine I se= e > that check_nt does in fact return perf data. >=20 > [root@nagios etc]# ../libexec/check_nt -H windowsbox -p 1248 -v > USEDDISKSPACE -l C -w 50% -c 60% >=20 > C:\ - total: 9.79 Gb - used: 4.60 Gb (47%) - free 5.19 Gb (53%) | 'C:\ > Used Space'=3D4.60Gb;4.89;5.87;0.00;9.79 >=20 > Is there an issue with the way the format that the perf data is being > returned that is causing perfparse from adding this to its database? >=20 > I am using PerfParse 0.105.6. Schema Version 0.19, check_nt 1.39 (from > the nagios-plugins-1.4 distro) >=20 > Many Thanks, > -g >=20 --=20 =E0ngel bosch ab...@br... |
From: <m.w...@au...> - 2005-06-24 15:56:31
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content=3D"text/html;charset=3DISO-8859-2" http-equiv=3D"Content-= Type"> </head> <body bgcolor=3D"#ffffff" text=3D"#000000"> I'm using nagios2.0b3 on RHEL 3.0 with perfparse 105.6. Below U have my configuration files <span class=3D"moz-smiley-s1"><span> :-)=A0=A0=A0 </s= pan></span><br> Just check the nagios & db users, paths and edit nagios.cfg to include:<br> <br> cfg_file=3D/etc/nagios/nagios_perfparse.cfg<br> process_performance_data=3D1<br> host_perfdata_command=3Dprocess-host-perfdata<br> service_perfdata_command=3Dprocess-service-perfdata<br> <br> and launch nagios & perfparse:<br> <br> rm -f /var/log/nagios/perfdata-service.log<br> su - nagios -c "perfparsed -d"<br> nagios -d /etc/nagios/nagios.cfg<br> <br> <br> <br> <br> perfparse.cfg<br> ------------------------------------------------------<br> Perfparsed [options]<br> Error_Log =3D "/var/log/nagios/perfparsed.log"<br> Error_Log_Rotate =3D "Y"<br> Error_Log_Keep_N_Days =3D "7"<br> Drop_File =3D "/tmp/perfparse.drop"<br> Drop_File_Rotate =3D "Y"<br> Drop_File_Keep_N_Days =3D "7"<br> Server_Port =3D "1976"<br> Service_Log =3D "|/var/log/nagios/perfdata-service.log"<br> Service_Log_Save_Position =3D "N"<br> Service_Log_Position_Mark_Path =3D ""<br> Daemon_Lock =3D "/var/log/nagios/perfparsed.pid"<br> Daemonize =3D "Y"<br> Periodic_Cleanup =3D "Y"<br> Periodic_Cleanup_Lock =3D "/var/log/nagios/perfparsed_cleanup.pid"<br> Periodic_Cleanup_Hour =3D "0230"<br> Dummy_Hostname =3D "trn.pl.auchan.com"<br> No_Raw_Data =3D "N"<br> No_Bin_Data =3D "N"<br> Storage_Modules_Dir =3D "/usr/lib/perfparse"<br> Storage_Modules_Load =3D "mysql"<br> Storage_Modules_Status_File =3D "/var/log/nagios/storage_modules.status"<= br> DB_User =3D "nagios"<br> DB_Pass =3D "nagios"<br> DB_Name =3D "nagios"<br> DB_Host =3D "127.0.0.1"<br> <br> nagios_perfparse.cfg<br> ---------------------------------------------------------------<br> define command{<br> =A0=A0=A0=A0=A0=A0=A0 command_name=A0=A0=A0 process-service-perfdata<br> =A0=A0=A0=A0=A0=A0=A0 command_line=A0=A0=A0 /usr/lib/nagios/plugins/perfparse_nagios_pipe_command.pl /var/log/nagios/perfdata-service.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$SERVICEOUTPUT$" "$SERVICESTATE$" "$SERVICEPERFDATA$"<br= > define command{<br> =A0=A0=A0=A0=A0=A0=A0 command_name=A0=A0=A0 process-host-perfdata<br> =A0=A0=A0=A0=A0=A0=A0 command_line=A0=A0=A0 /usr/lib/nagios/plugins/perfparse_nagios_pipe_command.pl /var/log/nagios/perfdata-host.log "$TIMET$" "$HOSTNAME$" "$HOSTOUTPUT$" "$HOSTPERFDATA$"<br> <br> <br> <blockquote cite=3D"mid...@mo..." type=3D"cite"> <meta http-equiv=3D"Content-Type" content=3D"text/html; "> <meta content=3D"MSHTML 6.00.2900.2668" name=3D"GENERATOR"> <div align=3D"left" dir=3D"ltr"><font color=3D"#0000ff" face=3D"Arial" size=3D"2"><span class=3D"040083914-24062005">Could anybody help me?</sp= an></font></div> <br> <div class=3D"OutlookMessageHeader" align=3D"left" dir=3D"ltr" lang=3D"= en-us"> <hr tabindex=3D"-1"><font face=3D"Tahoma" size=3D"2"><b>From:</b> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:perfparse-users-admi= n...@li...">per...@li...</a> [<a class=3D"moz-txt-link-freetext" href=3D"mailto:perfparse-users-admin@= lists.sourceforge.net">mailto:per...@li...= </a>] <b>On Behalf Of </b>Wilson Pires Jr<br> <b>Sent:</b> ter=E7a-feira, 14 de junho de 2005 19:00<br> <b>To:</b> <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:perfpar= se-...@li...">per...@li...</a>= <br> <b>Subject:</b> [Perfparse-users] Nagios 2.0 - Which Methods?<br> </font><br> </div> <div><span class=3D"468095721-14062005"><font color=3D"#0000ff" face=3D"Arial" size=3D"2">Hi guys.</font></span></div> <div><span class=3D"468095721-14062005"></span>=A0</div> <div><span class=3D"468095721-14062005"><font color=3D"#0000ff" face=3D"Arial" size=3D"2">I'm gonna deploy a new nagios instalation with 2.0b3. Which pp methods apply to this nagios version?</font></span></div> <div><span class=3D"468095721-14062005"></span>=A0</div> <div><span class=3D"468095721-14062005"><font color=3D"#0000ff" face=3D"Arial" size=3D"2">Regards,</font></span></div> <div><span class=3D"468095721-14062005"></span>=A0</div> <div><span class=3D"468095721-14062005"><font color=3D"#0000ff" face=3D"Arial" size=3D"2">Wilson Pires</font></span></div> <p>=A0</p> <br> <p><font size=3D"2">--<br> No virus found in this outgoing message.<br> Checked by AVG Anti-Virus.<br> Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 23/06/2005<= br> </font> </p> </blockquote> <br> </body> </html> |
From: Wilson P. J. <wp....@te...> - 2005-06-24 14:40:07
|
Could anybody help me? _____ =20 From: per...@li... [mailto:per...@li...] On Behalf Of Wilson Pires Jr Sent: ter=E7a-feira, 14 de junho de 2005 19:00 To: per...@li... Subject: [Perfparse-users] Nagios 2.0 - Which Methods? Hi guys. =20 I'm gonna deploy a new nagios instalation with 2.0b3. Which pp methods = apply to this nagios version? =20 Regards, =20 Wilson Pires =20 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.0/27 - Release Date: 23/06/2005 =20 |
From: <Ric...@eq...> - 2005-06-24 12:01:07
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META plain text Content-type:> <META content="MSHTML 6.00.3790.327" name=GENERATOR></HEAD> <BODY> <DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=354594811-24062005>I've been using Perfparse with Nagios and checking Unix / Linux / Win2k hosts with performance data. To get performance data to work on an Windows system I use a copy of NRPE_NT (<A href="http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=64">http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=64</A>). I then use a copy of Cygwin and compile a copy of the latest plugins for Linux / Unix with performance data on a non-production system. You could also compile NRPE 2.0 under Cygwin if you wanted to. </SPAN></FONT></DIV> <DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=354594811-24062005></SPAN></FONT> </DIV> <DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=354594811-24062005>I take the compiled plugins and on the production system I want to monitor I install a very base installation of Cygwin, and the plugins I just compiled on my non-production system. I then configure NRPE_NT to execute these plugins in the same way you would configure NRPE on a Linux system. This method has been working for me for quite some time.</SPAN></FONT></DIV> <DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=354594811-24062005></SPAN></FONT> </DIV> <DIV dir=ltr align=left><FONT face=Arial size=2><SPAN class=354594811-24062005>There is also 'NSClient PlusPlus' (<A href="http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=242">http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=242</A>) I've not tried it but it says that it has performance data output capabilities. </SPAN></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV><!-- Converted from text/rtf format --> <P><SPAN lang=en-us><FONT face="Bitstream Vera Sans"><FONT size=2>Richard Masci<SPAN class=354594811-24062005><FONT face=Arial> </FONT></SPAN></FONT></FONT></SPAN></P> <P><SPAN lang=en-us><FONT face="Bitstream Vera Sans"><FONT size=2><SPAN class=354594811-24062005> </SPAN></FONT></FONT></SPAN></P> <P> <HR tabIndex=-1> </P> <P><FONT face=Tahoma size=2><B>From:</B> per...@li... [mailto:per...@li...] <B>On Behalf Of </B>per...@li...<BR><B>Sent:</B> Thursday, June 23, 2005 11:11 PM<BR><B>To:</B> per...@li...<BR><B>Subject:</B> Perfparse-users digest, Vol 1 #302 - 1 msg<BR></FONT><BR></P> <DIV></DIV>Send Perfparse-users mailing list submissions to <BR>per...@li... <BR><BR>To subscribe or unsubscribe via the World Wide Web, visit <BR>https://lists.sourceforge.net/lists/listinfo/perfparse-users <BR>or, via email, send a message with subject or body 'help' to <BR>per...@li... <BR><BR>You can reach the person managing the list at <BR>per...@li... <BR><BR>When replying, please edit your Subject line so it is more specific <BR>than "Re: Contents of Perfparse-users digest..." <BR><BR><BR>Today's Topics: <BR><BR>1. perfparse and check_nt (Garrett Honeycutt) <BR><BR>--__--__-- <BR><BR>Message: 1 <BR>From: Garrett Honeycutt <GH...@3G...><BR>To: per...@li... <BR>Date: Thu, 23 Jun 2005 15:11:39 -0500 <BR>Subject: [Perfparse-users] perfparse and check_nt <BR><BR>I have perfparse running great with nagios 1.2 reading from a named <BR>pipe; however, my windows hosts' checks that are checked with check_nt <BR>are not showing up. When I run the command from the nagios machine I see <BR>that check_nt does in fact return perf data. <BR><BR>[root@nagios etc]# ../libexec/check_nt -H windowsbox -p 1248 -v <BR>USEDDISKSPACE -l C -w 50% -c 60% <BR><BR>C:\ - total: 9.79 Gb - used: 4.60 Gb (47%) - free 5.19 Gb (53%) | 'C:\ <BR>Used Space'=4.60Gb;4.89;5.87;0.00;9.79 <BR><BR>Is there an issue with the way the format that the perf data is being <BR>returned that is causing perfparse from adding this to its database? <BR><BR>I am using PerfParse 0.105.6. Schema Version 0.19, check_nt 1.39 (from <BR>the nagios-plugins-1.4 distro) <BR><BR>Many Thanks, <BR>-g <BR><BR>-- <BR>// Garrett Honeycutt <BR>// Sr. Systems Administrator <BR>// 3GUpload.com, Inc. <BR>// 317.472.4969 Office <BR><BR><BR><BR><BR>--__--__-- <BR><BR>_______________________________________________ <BR>Perfparse-users mailing list <BR>Per...@li... <BR>https://lists.sourceforge.net/lists/listinfo/perfparse-users <BR><BR><BR>End of Perfparse-users Digest <BR><BR></BODY></HTML> |
From: Garrett H. <gh...@3g...> - 2005-06-23 20:15:11
|
I have perfparse running great with nagios 1.2 reading from a named pipe; however, my windows hosts' checks that are checked with check_nt are not showing up. When I run the command from the nagios machine I see that check_nt does in fact return perf data. [root@nagios etc]# ../libexec/check_nt -H windowsbox -p 1248 -v USEDDISKSPACE -l C -w 50% -c 60% C:\ - total: 9.79 Gb - used: 4.60 Gb (47%) - free 5.19 Gb (53%) | 'C:\ Used Space'=4.60Gb;4.89;5.87;0.00;9.79 Is there an issue with the way the format that the perf data is being returned that is causing perfparse from adding this to its database? I am using PerfParse 0.105.6. Schema Version 0.19, check_nt 1.39 (from the nagios-plugins-1.4 distro) Many Thanks, -g -- // Garrett Honeycutt // Sr. Systems Administrator // 3GUpload.com, Inc. // 317.472.4969 Office |
From: Angel B. <ab...@he...> - 2005-06-16 10:59:45
|
hi! im trying to configure perfparse with nagios 2.0b3. im redirecting it to a file with this command: define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/perfdata/process-service-perfdata.out } then i tail -f this file and see lot of stuff going in, so im pretty sure nagios IS producing performance data. now what is the simplest test i can perform to see if perfparse is well configured? i've tried with perfparse-log2stdout with various parameters but no output is produced. is perfparse-log2stdout supossed to send something to STDOUT? thx |
From: Sand P. <Phi...@sy...> - 2005-06-16 05:56:13
|
Hi, what's the easiest way to change a hostname in perfparse? I have to = change a Hostname in Nagios, and don't want to "lose" the link between = those two hostnames in perfparse (unfortunately the old hostname will be = given to a new host...) I think it must be done with some SQL Statements... in which tables do I = have to rename the host, do I have to watch for some traps (i.e. some = foreign keys or something)? Thanks in advance, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra=DFe 1-5 D - 37073 G=F6ttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 phi...@sy... www.sycor.de ------------------------------------------------ =A0 |
From: Wilson P. J. <wp....@te...> - 2005-06-14 22:00:25
|
Hi guys. I'm gonna deploy a new nagios instalation with 2.0b3. Which pp methods apply to this nagios version? Regards, Wilson Pires -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.2/14 - Release Date: 14/06/2005 |
From: <nu...@ts...> - 2005-06-13 14:01:53
|
Without looking at the Docs as to which method is method1, I have Nagios 2.x and PerfParse working. Entry in command.cfg define command{ command_name process-service-perfparse command_line /usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$\n" | $USER2$/bin/perfparse-log2mysql -c $USER2$/etc/perfparse.cfg } Steve |
From: David G. <dgu...@sy...> - 2005-06-11 02:31:31
|
Has anyone gotten PerfParse to work with Nagios 2.0 using method #1? I had this working under Nagios 1.2. It looks like 2.0 outputs a differently formatted text file by default. Is it recommended to use one of the other PerfParse methods instead? Thanks, David Gullett Symmetrix Technologies |
From: <Ric...@eq...> - 2005-06-09 14:21:04
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> <META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0"> <TITLE>Upgrade from Perfparse 0.103.1</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><FONT SIZE=2 FACE="Arial">I could use some help as I've tried several times in the past to upgrade from 0.103.1 to later versions of Perfparse. I've tried 0.104 and 0.105 and they failed miserably as there seems to be a major change in how MySQL is setup.</FONT></P> <P><FONT SIZE=2 FACE="Arial">My setup currently has perfparsed running as a daemon, which checks a pipe that is contained in /var/log/nagios/perfdata.pipe. The daemon is started by a script /etc/init.d/perfparsed:</FONT></P> <P><FONT SIZE=2 FACE="Arial">/usr/bin/perfparsed -d --enable-mysql-output -U <username> -P <password> -D <database> -H <mysql Host></FONT> </P> <P><FONT SIZE=2 FACE="Arial">The entry in /etc/nagios/misscommands:</FONT> <BR><FONT SIZE=2 FACE="Arial">/usr/bin/perfparse_nagios_pipe_command.pl /var/log/nagios/perfdata.pipe "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$OUTPUT$" "$SERVICESTATE$" "$PERFDATA$"</FONT></P> <P><FONT SIZE=2 FACE="Arial">The performance data is written to a pipe which then is read by the daemon, and then entered into the MySQL Database. My question is what is the best method of upgrading? I need this help as Nagios / Perfparse have become somewhat of a success at my company and there are several reports that are generated from the data stored in the mysql database. </FONT></P> <P><FONT SIZE=2 FACE="Arial">Thanks,<B></B></FONT><B></B><B></B> </P> <BR> <P><FONT SIZE=2 FACE="Bitstream Vera Sans">Richard Masci<BR> </FONT> </P> </BODY> </HTML> |
From: Yves <yme...@pe...> - 2005-06-09 08:09:49
|
Hi Barry > Does anyone have a list of what is required before I can compile perfpa= rse > on a Solaris 9 server? I wrote a FAQ to answer your question : http://wiki.perfparse.org/tiki-view_faq.php?faqId=3D1#q30 If I miss any pre-requesite, please update it or tell us :) Thanks, Yves --=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://www.perfparse.org/ - |
From: barry.maclean <bar...@sh...> - 2005-06-09 03:35:51
|
Does anyone have a list of what is required before I can compile perfparse on a Solaris 9 server? Thanks Barry |
From: Vern K. <VK...@ch...> - 2005-06-01 23:33:58
|
All: I have been trying to integrate perfparse into nagios 2.0b3, and am running into issues with the data collection. While I am able to get information into the database now, all values are logged as $. I am at a loss to troubleshoot what it is happening, because I do not see a good way to insert additional logging in the process to see where I am losing the values. I'm hoping I have overlooked some configuration issue and it is an easy fix. If anyone could offer advise, I would appreciate it. Here is my configuration: Nagios 2.0b3 -- Configured to support the pipe option as per the perfparse documentation. nagios-plugins-1.4 perfparse-0.105.6 mysql-4.1.12 Everything above was compiled from source, running on x86 RedHat ES 3 Update 4 As for the initial configuration, I basically followed: http://wiki.perfparse.org/tiki-index.php?page=Example+for+configuration+with+a+pipe except changed everything to use /usr/local/nagios directory. My perfparsed config is below. Thanks, Vern perfparsed --show_config: Perfparsed [options] # File where Perfparse logs messages # Error_Log = "string" Error_Log = "perfparse.log" # Rotate Perfparse log files # Error_Log_Rotate = "Y/N" Error_Log_Rotate = "Yes" # Keep N days of error log. Compress recent logs and remove too old ones # Error_Log_Keep_N_Days = "value" Error_Log_Keep_N_Days = "7" # When perfparse cannot parse a line, it drops it to that file # Drop_File = "string" Drop_File = "/tmp/perfparse.drop" # # Drop_File_Rotate = "Y/N" Drop_File_Rotate = "Yes" # Keep N days of drop file log. Compress recent logs and remove too old ones # Drop_File_Keep_N_Days = "value" Drop_File_Keep_N_Days = "7" # Port for perfparsed server # Put 0 or "" to disable the server # Server_Port = "value" Server_Port = "1976" # 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 = "string" Service_Log = "|/usr/local/nagios/var/perfdata-service.log" # 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 = "Y/N" Service_Log_Save_Position = "yes" # Path for files containing the read position for nagios log files # Service_Log_Position_Mark_Path = "string" Service_Log_Position_Mark_Path = "/usr/local/nagios/var" # Lock file for perfparsed # Daemon_Lock = "string" Daemon_Lock = "/usr/local/nagios/var/perfparsed.lock" # Run perfparsed as a daemon # Daemonize = "Y/N" Daemonize = "no" # Perform some periodic cleanup every day # Periodic_Cleanup = "Y/N" Periodic_Cleanup = "yes" # Lock file for perfparsed periodic cleanup process # Periodic_Cleanup_Lock = "string" Periodic_Cleanup_Lock = "/usr/local/nagios/var/perfparsed_periodic_cleanup.lock" # Perform some periodic cleanup every day at HHMM # Periodic_Cleanup_Hour = "value" Periodic_Cleanup_Hour = "0230" # Dummy hostname if gethostname() does not work # Dummy_Hostname = "string" Dummy_Hostname = "dummy" # Don't store raw data # No_Raw_Data = "Y/N" No_Raw_Data = "no" # Don't store bin data # No_Bin_Data = "Y/N" No_Bin_Data = "no" # Path where storage modules are # Storage_Modules_Dir = "string" Storage_Modules_Dir = "/usr/local/nagios/lib" # Modules to load (Coma separated values) # Storage_Modules_Load = "string" Storage_Modules_Load = "" # File to contain Storage Modules Status # Storage_Modules_Status_File = "string" Storage_Modules_Status_File = "/usr/local/nagios/var/storage_modules.status" |