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: Vanderveken, J. <JVa...@ic...> - 2004-11-23 11:06:29
|
> > If you have the time, I would be very interested in knowing > if you get > the same problem using 'Method 1': > > http://perfparse.sourceforge.net/docs.php#id265256 > I configured nagios to use this method, and now the single quote characters do not get stripped anymore. Problem solved I guess. While I was configuring filebased performance data, I came across this in nagios.cfg though: -- begin snippet -- # ILLEGAL MACRO OUTPUT CHARACTERS # This options allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $OUTPUT$, $PERFDATA$ illegal_macro_output_chars=`~$&|'"<> -- end snippet -- This probably explains why the single quotes were stripped from the performance data. Anyway many thanks for all the help Ben. Kind regards, Jan Van der Veken |
From: Ben C. <BCl...@pe...> - 2004-11-23 09:32:22
|
Vanderveken, Jan wrote: > Ben, > > Thanks for the quick response. Thing is, I posted this to the nagios list > before and they told me to post here :-) I just posted my self and got a good answer that the problem is not nagios 1.2. :) > Yes I use the file method of writing data. My gut feeling is that it has > something to do with the perfparse_nagios_command.pl script. If I see it > correctly, this script processes the output of the nagios checks and writes > it to the perfdata-service.log file, right? Lets try it manually. This is the command string you are using? $USER2$/bin/perfparse_nagios_command.pl $USER2$/var/perfdata-service.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" "$OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" $ perl perfparse_nagios_command.pl /tmp/test "1101131232" "rlswas1c" "CPU load" "CPU Load 0% (5 min average) OK" "'5 min avg Load'=0%;50;75;0;100" No, I get the correct output: 1101131232 rlswas1c CPU load CPU Load 0% (5 min average) OK '5 min avg Load'=0%;50;75;0;100 If you have the time, I would be very interested in knowing if you get the same problem using 'Method 1': http://perfparse.sourceforge.net/docs.php#id265256 Regards, Ben. > > Jan Van der Veken > > -----Original Message----- > From: Ben Clewett [mailto:BCl...@pe...] > Sent: dinsdag 23 november 2004 9:59 > To: Vanderveken, Jan > Cc: 'per...@li...' > Subject: Re: [Perfparse-users] parsing of performance data > > > Jan, > > If the single quotes are not present in the serviceperf.log then this is > a bug with Nagios and should be reported to the nagios developers list. > > I guess you are using the 'file' method of writing data from Nagios? > The bug may not be present if you try another method of exporting the > data. See the documentation: > > http://perfparse.sourceforge.net/docs.php > > I would be interested in knowing from any other members whether they > have this problem with any methods? > > Kind regards, > > Ben Clewett. > > > Vanderveken, Jan wrote: > > >>I'm having the following problem with Nagios in combination with the >>perfparse tool: >> >>When a certain check generates performance data with space characters in > > the > >>metric with single quotes around them, the single quotes *disappear* when >>the information is written to the perfdata-service.log file. As a result, >>the performance data gets parsed incorrectly by perfparse. >> >>For example, if I do the following check manually: >>$ check_nt -H rlswas1c -v CPULOAD -l 5,50,90 >>The result is something like: >>CPU Load 0% (5 min average) |'5 min avg Load'=0%;50;90;0;100 >>Notice the single quotes around '5 min avg Load'. >> >>However, if I let Nagios do the check, the following data appears in the >>perfdata-service.log file: >>1101131232 rlswas1c CPU load CPU Load 0% (5 min > > average) > >>OK 5 min avg Load=0%;50;75;0;100 >>Notice that there are NO single quotes around '5 min avg Load'. >> >>Does anyone have an idea where the quotes are being dropped and what I can >>do about it? >> >>I'm using: >>Nagios 1.2 >>PerfParse 0.103.1 >>A recent CVS snapshot of Nagios-plugins >> >>TIA, >>Jan Van der Veken >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://productguide.itmanagersjournal.com/ >>_______________________________________________ >>Perfparse-users mailing list >>Per...@li... >>https://lists.sourceforge.net/lists/listinfo/perfparse-users >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Vanderveken, J. <JVa...@IC...> - 2004-11-23 09:15:37
|
Ben, Thanks for the quick response. Thing is, I posted this to the nagios list before and they told me to post here :-) Yes I use the file method of writing data. My gut feeling is that it has something to do with the perfparse_nagios_command.pl script. If I see it correctly, this script processes the output of the nagios checks and writes it to the perfdata-service.log file, right? Jan Van der Veken -----Original Message----- From: Ben Clewett [mailto:BCl...@pe...] Sent: dinsdag 23 november 2004 9:59 To: Vanderveken, Jan Cc: 'per...@li...' Subject: Re: [Perfparse-users] parsing of performance data Jan, If the single quotes are not present in the serviceperf.log then this is a bug with Nagios and should be reported to the nagios developers list. I guess you are using the 'file' method of writing data from Nagios? The bug may not be present if you try another method of exporting the data. See the documentation: http://perfparse.sourceforge.net/docs.php I would be interested in knowing from any other members whether they have this problem with any methods? Kind regards, Ben Clewett. Vanderveken, Jan wrote: > I'm having the following problem with Nagios in combination with the > perfparse tool: > > When a certain check generates performance data with space characters in the > metric with single quotes around them, the single quotes *disappear* when > the information is written to the perfdata-service.log file. As a result, > the performance data gets parsed incorrectly by perfparse. > > For example, if I do the following check manually: > $ check_nt -H rlswas1c -v CPULOAD -l 5,50,90 > The result is something like: > CPU Load 0% (5 min average) |'5 min avg Load'=0%;50;90;0;100 > Notice the single quotes around '5 min avg Load'. > > However, if I let Nagios do the check, the following data appears in the > perfdata-service.log file: > 1101131232 rlswas1c CPU load CPU Load 0% (5 min average) > OK 5 min avg Load=0%;50;75;0;100 > Notice that there are NO single quotes around '5 min avg Load'. > > Does anyone have an idea where the quotes are being dropped and what I can > do about it? > > I'm using: > Nagios 1.2 > PerfParse 0.103.1 > A recent CVS snapshot of Nagios-plugins > > TIA, > Jan Van der Veken > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Yves <yme...@pe...> - 2004-11-23 09:08:15
|
> Perfparsed definitely needs a fix, because the code that creates the > fifo queue fails if the queue (or file) already exists, and perfparsed > always exits. So a better fix would be: > if file exists { > if file is a pipe { > do nothing > } else { > rename the file (remove?) > mkfifo > } > } else { > mkfifo > } You are right. And the funny is that I had the same idea later, yesterday= evening. If we have the same idea, this is probably the good algorithm. Expect this for 0.104.1 that should be released later this week. 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://perfparse.sf.net/ - |
From: Ben C. <BCl...@pe...> - 2004-11-23 08:59:35
|
Jan, If the single quotes are not present in the serviceperf.log then this is a bug with Nagios and should be reported to the nagios developers list. I guess you are using the 'file' method of writing data from Nagios? The bug may not be present if you try another method of exporting the data. See the documentation: http://perfparse.sourceforge.net/docs.php I would be interested in knowing from any other members whether they have this problem with any methods? Kind regards, Ben Clewett. Vanderveken, Jan wrote: > I'm having the following problem with Nagios in combination with the > perfparse tool: > > When a certain check generates performance data with space characters in the > metric with single quotes around them, the single quotes *disappear* when > the information is written to the perfdata-service.log file. As a result, > the performance data gets parsed incorrectly by perfparse. > > For example, if I do the following check manually: > $ check_nt -H rlswas1c -v CPULOAD -l 5,50,90 > The result is something like: > CPU Load 0% (5 min average) |'5 min avg Load'=0%;50;90;0;100 > Notice the single quotes around '5 min avg Load'. > > However, if I let Nagios do the check, the following data appears in the > perfdata-service.log file: > 1101131232 rlswas1c CPU load CPU Load 0% (5 min average) > OK 5 min avg Load=0%;50;75;0;100 > Notice that there are NO single quotes around '5 min avg Load'. > > Does anyone have an idea where the quotes are being dropped and what I can > do about it? > > I'm using: > Nagios 1.2 > PerfParse 0.103.1 > A recent CVS snapshot of Nagios-plugins > > TIA, > Jan Van der Veken > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Vanderveken, J. <JVa...@IC...> - 2004-11-23 08:50:08
|
I'm having the following problem with Nagios in combination with the perfparse tool: When a certain check generates performance data with space characters in the metric with single quotes around them, the single quotes *disappear* when the information is written to the perfdata-service.log file. As a result, the performance data gets parsed incorrectly by perfparse. For example, if I do the following check manually: $ check_nt -H rlswas1c -v CPULOAD -l 5,50,90 The result is something like: CPU Load 0% (5 min average) |'5 min avg Load'=0%;50;90;0;100 Notice the single quotes around '5 min avg Load'. However, if I let Nagios do the check, the following data appears in the perfdata-service.log file: 1101131232 rlswas1c CPU load CPU Load 0% (5 min average) OK 5 min avg Load=0%;50;75;0;100 Notice that there are NO single quotes around '5 min avg Load'. Does anyone have an idea where the quotes are being dropped and what I can do about it? I'm using: Nagios 1.2 PerfParse 0.103.1 A recent CVS snapshot of Nagios-plugins TIA, Jan Van der Veken |
From: Tim W. <tim...@gm...> - 2004-11-23 07:00:28
|
Yves, On Mon, 22 Nov 2004 11:07:42 +0100 (CET), Yves <yme...@pe...> wrote: > > > > > Has anyone managed to use 'method 4' , i.e. make nagios write to a > > pipe that is read by perfparsed? > > > > I managed to get it to work once, but then I killed perfparsed and > > tried to restart it and it never comes up again. In the error log I > > see this: > > 2004/11/22 10:11:18 [log_reader.c:370 9800 ] Could not create fifo > > '/usr/local/nagios/var/perfparse.pipe' > > > > The problem is that perfparse.pipe still exists from the previous run. > > But you can't get rid of it, because nagios is constantly writing to > > it. If you remove it, it instantly reappears as a regular file! > > Yes, of course. In a perfect world, nagios (the nagios command that outputs to the pipe) > should test if the file exists and if it is a pipe, or raise an error. > In our world, what can we do ? We can rewrite the command that writes to the pipe :) I added a check to perfparse_nagios_pipe_command.pl that check if $file is a pipe. I use nagios 1.x, so it's not a bug in nagios. (pfew :) ) > > > OK, I could shutdown nagios and restart perfparsed first and then > > nagios again, but this is not really an acceptable solution. > > What version of nagios are you using ? Any version with some command that printf >> > perfparse.pipe ? Or nagios-2.0cvs with the new feature : output perfdata to a pipe ? > > In the second case, this would be a bug in nagios and should be addressed to nagios > developers. > In the first case... > 1 update your command to get closer from the perfect world ? You can do it, but will > others do it too ? > 2 update perfparsed to take care of this ? But fixing somewhere a bug of somewhere else > is never a good solution. We get away from the perfect world. > 3 ask the user to reboot nagios at the same time as perfparsed restarts ? But is this a > good solution ? > > I have an idea for (2) : when perfparsed starts and finds the existing file > perfparse.pipe, it can rename it and create the fifo. Then it's your work to cat > perfparse.pipe.old > perfparse.pipe. And it supposes that nagios closes the file and > reopens it every time there is something to write. Otherwise, the only way is to reboot > nagios. > > Is this a correct workaround ? Perfparsed definitely needs a fix, because the code that creates the fifo queue fails if the queue (or file) already exists, and perfparsed always exits. So a better fix would be: if file exists { if file is a pipe { do nothing } else { rename the file (remove?) mkfifo } } else { mkfifo } Tim. > > > > My perfparse.cfg: > > nagios@naxos:~/etc$ cat perfparse.cfg > > Please run perfparsed --show_config instead :) > In next version, I will write at the beginning of the exemple config file to run the > binary with --show_config instead of showing the config file. > However, thanks for sending the config file that usually helps us to find good things :) > > Yves > |
From: Yves <yme...@pe...> - 2004-11-22 10:07:48
|
> Has anyone managed to use 'method 4' , i.e. make nagios write to a > pipe that is read by perfparsed? > > I managed to get it to work once, but then I killed perfparsed and > tried to restart it and it never comes up again. In the error log I > see this: > 2004/11/22 10:11:18 [log_reader.c:370 9800 ] Could not create fifo > '/usr/local/nagios/var/perfparse.pipe' > > The problem is that perfparse.pipe still exists from the previous run. > But you can't get rid of it, because nagios is constantly writing to > it. If you remove it, it instantly reappears as a regular file! Yes, of course. In a perfect world, nagios (the nagios command that outpu= ts to the pipe) should test if the file exists and if it is a pipe, or raise an error. In our world, what can we do ? > OK, I could shutdown nagios and restart perfparsed first and then > nagios again, but this is not really an acceptable solution. What version of nagios are you using ? Any version with some command that= printf >> perfparse.pipe ? Or nagios-2.0cvs with the new feature : output perfdata = to a pipe ? In the second case, this would be a bug in nagios and should be addressed= to nagios developers. In the first case... 1 update your command to get closer from the perfect world ? You can do i= t, but will others do it too ? 2 update perfparsed to take care of this ? But fixing somewhere a bug of = somewhere else is never a good solution. We get away from the perfect world. 3 ask the user to reboot nagios at the same time as perfparsed restarts ?= But is this a good solution ? I have an idea for (2) : when perfparsed starts and finds the existing fi= le perfparse.pipe, it can rename it and create the fifo. Then it's your work= to cat perfparse.pipe.old > perfparse.pipe. And it supposes that nagios closes t= he file and reopens it every time there is something to write. Otherwise, the only wa= y is to reboot nagios. Is this a correct workaround ? > My perfparse.cfg: > nagios@naxos:~/etc$ cat perfparse.cfg Please run perfparsed --show_config instead :) In next version, I will write at the beginning of the exemple config file= to run the binary with --show_config instead of showing the config file. However, thanks for sending the config file that usually helps us to find= good things :) 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://perfparse.sf.net/ - |
From: Tim W. <tim...@gm...> - 2004-11-22 09:24:09
|
Has anyone managed to use 'method 4' , i.e. make nagios write to a pipe that is read by perfparsed? I managed to get it to work once, but then I killed perfparsed and tried to restart it and it never comes up again. In the error log I see this: 2004/11/22 10:11:12 [perfparsed.c:127 9800 ] Perfparsed successfully daemonized (pid=9800) 2004/11/22 10:11:18 [log_reader.c:370 9800 ] Could not create fifo '/usr/local/nagios/var/perfparse.pipe' The problem is that perfparse.pipe still exists from the previous run. But you can't get rid of it, because nagios is constantly writing to it. If you remove it, it instantly reappears as a regular file! OK, I could shutdown nagios and restart perfparsed first and then nagios again, but this is not really an acceptable solution. Perhaps I'm going about it the wrong way.... Tim My perfparse.cfg: nagios@naxos:~/etc$ cat perfparse.cfg # # 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. # # Parser managment : # ================== # Performance Data Log Files ("-" for stdin) : Service_Log = "|/usr/local/nagios/var/perfparse.pipe" Service_Log_Position_Mark_Path = "" # Error handling : Error_Log = "/usr/local/nagios/var/perfparse_error.log" Error_Log_Rotate = "Yes" Drop_File = "/tmp/perfparse.drop" Drop_File_Rotate = "Yes" # 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" # Output logger : # =============== # set Output_Log_File to "yes" to enable it Output_Log_File = "yes" Output_Log_Filename = "/usr/local/nagios/var/log/perfparse_output_log" Output_Log_Rotate = "yes" # 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 = "no" No_Bin_Data = "no" # Database Authentication DB_Host="ncc1701e" DB_User="user" DB_Pass="pass" DB_Name="nagios" # misc Dummy_Hostname = "dummy" |
From: Cook, G. <GW...@ma...> - 2004-11-19 14:53:14
|
per...@li... wrote: > Oh my god. That's not worth to do, you know: time is money. >=20 > Maybe I can use some of the standard plugins and maybe the output of > them will be stored correctly and I see some performance > graphs for them. >=20 > Thanks a lot for your help! >=20 Remember, NRPE runs plugins that are built/installed on the remote host(s), not the Nagios host. Rather than spending a bunch of time testing each plugin on each host, I would suggest simply upgrading to the latest plugin version on the remote host(s). I once heard about someone using NFS to point the plugin directories of their remote hosts back to the Nagios host plugin directory. That way, plugins only had to be upgraded in one place. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) |
From: Ben C. <BCl...@pe...> - 2004-11-19 10:00:15
|
A general note about plugins. Since the start of PerfParse this has been a real battle. Only recently did the standard distribution have any performance data. What we did have was sometimes wrong or badly formatted. Our PP developer Garry Cook was kind enough to organize a fix for many of them. However a lot of these fixes never made it to the distribution. I am glad to say where has been big change in the plugin development. Ton Voon is now drawing together all patches and working hard to get a quality release soon. One of these aims it to ensure all standard plugins produce good performance data, which work on all major platforms. So thankfully soon these problems of some metrics not appearing because of bad performance data will be a thing of the past. In the mean while I strongly suggest that if you have any issue with missing or bad performance data, please get the absolute latest plugins: http://nagiosplug.sourceforge.net/snapshot/ (marked nagios-plugins-HEAD-200411190547.tar.gz) Check that your problems have been fixed. If not, contact the nagiosplug-devel news group and report any errors. Thanks! Carsten Franke wrote: > Maybe I can use some of the standard plugins and maybe the output of > them will be stored correctly and I see some performance graphs for them. > PS: Do you still need a translator? I could do this for Germany. Yes, and yes please! Wait until the next version, or get the pre-release from here: http://pagesperso.laposte.net/ymettier/perfparse-devel/perfparse-0.104.0/ I am sure Yves can do an introduction into how this is used. Regards, Ben. |
From: Yves M. <yme...@li...> - 2004-11-19 09:44:22
|
> Oh my god. That's not worth to do, you know: time is money. > > Maybe I can use some of the standard plugins and maybe the output of > them will be stored correctly and I see some performance graphs for the= m. Some of the standard plugin are not compliant yet with performance graphs= . I have not followed the news, but some here can answer better than me. Tell us what standard plugin you are using :) > Thanks a lot for your help! :) > PS: Do you still need a translator? I could do this for Germany. Yes. I will create the po/de.po file to make things easier for you. Just edit = that file. You can find it on http://pagesperso.laposte.net/ymettier/perfparse-devel/perfparse-0.104.0/= in 0.104.0ym13 (just wait for me to upload it :) Thanks in advance from the perfparse team, and from all the happy German-= speaking users :) 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://perfparse.sf.net/ - |
From: Carsten F. <ma...@db...> - 2004-11-19 09:28:47
|
Oh my god. That's not worth to do, you know: time is money. Maybe I can use some of the standard plugins and maybe the output of them will be stored correctly and I see some performance graphs for them. Thanks a lot for your help! PS: Do you still need a translator? I could do this for Germany. |
From: Tim W. <tim...@gm...> - 2004-11-19 09:26:02
|
The problem is not with nrpe, nrpe simply allows you to safely run nagios commands on other servers than the one nagios is running on, and transfer the output to nagios. You will need to check each and every server to see if the commands that nrpe runs on these servers output perfdata. so ... Step 1: check configuration files on the Nagios server and make a list of servers and the commands that nrpe runs on them. Step 2: on each of these servers, run the actual command (not nrpe) and check the output for perfdata. Step 3: upgrade the commands on each server if necessary. hope this helps. Tim On Fri, 19 Nov 2004 10:12:44 +0100 (CET), Yves Mettier <yme...@li...> wrote: > > > > >> Probably because your plugins don't output performance data ? I let Ben or somebody > >> else > >> help you on that : I'm quite bad to help on that subject :) > > So let me ask in this way: How do I generate performance data? My > > current scripts for nrpe (add on for nagios for remote hosts) only gives > > me a human readable output. Maybe that's the _mistake_?! > > > > Maybe for your interest: this is the only addition I did to my > > nagios-config-files: > > define command{ > > command_name process-service-perfdata > > command_line /usr/bin/printf "%b" > > "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SERVICESTATE$\t$PERFDATA$\n" > > | $USER2$/bin/perfparse-log2db -c $USER2$/etc/perfparse.cfg > > } > > Is this sufficient? > > I don't know if nrpe is able to generate performance data. > But before checking that, run your plugins on the command line and check the result. > performance data are after the | character of the output : > > some output | key1=value1 key2=value2 > The performance data format is more complex than what I wrote. Read the docs. > But if you don't have something like "| key1=value1 key2=value2", the problem is the > plugin that cannot output performance data. Get the latest plugins on the > nagiosplug.sf.net CVS :) > > > > Yves > > -- > - 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: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Yves M. <yme...@li...> - 2004-11-19 09:12:49
|
>> Probably because your plugins don't output performance data ? I let Be= n or somebody >> else >> help you on that : I'm quite bad to help on that subject :) > So let me ask in this way: How do I generate performance data? My > current scripts for nrpe (add on for nagios for remote hosts) only give= s > me a human readable output. Maybe that's the _mistake_?! > > Maybe for your interest: this is the only addition I did to my > nagios-config-files: > define command{ > command_name process-service-perfdata > command_line /usr/bin/printf "%b" > "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SERVICESTATE$\t$PERFDAT= A$\n" > | $USER2$/bin/perfparse-log2db -c $USER2$/etc/perfparse.cfg > } > Is this sufficient? I don't know if nrpe is able to generate performance data. But before checking that, run your plugins on the command line and check = the result. performance data are after the | character of the output : some output | key1=3Dvalue1 key2=3Dvalue2 The performance data format is more complex than what I wrote. Read the d= ocs. But if you don't have something like "| key1=3Dvalue1 key2=3Dvalue2", the= problem is the plugin that cannot output performance data. Get the latest plugins on the nagiosplug.sf.net CVS :) 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://perfparse.sf.net/ - |
From: Carsten F. <ma...@db...> - 2004-11-19 08:44:47
|
Hi, > Do you have gd installed ? (gd and gd-devel if you are using packages) > If yes, what version ? I am that stupid!! I've installed libglib*! Don't ask me why... Now ./configure doesn't give me any bad output, make (install) works fine and everything works as before. That's great. > Probably because your plugins don't output performance data ? I let Ben or somebody else > help you on that : I'm quite bad to help on that subject :) So let me ask in this way: How do I generate performance data? My current scripts for nrpe (add on for nagios for remote hosts) only gives me a human readable output. Maybe that's the _mistake_?! Maybe for your interest: this is the only addition I did to my nagios-config-files: define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SERVICESTATE$\t$PERFDATA$\n" | $USER2$/bin/perfparse-log2db -c $USER2$/etc/perfparse.cfg } Is this sufficient? Thanks folks Carsten |
From: Yves M. <yme...@li...> - 2004-11-18 15:42:32
|
> Greatings, > > I configured PerfParse with a simple ./configure Maybe an interesting > part of the output is this one: > --------------- > checking for gdlib-config... no > configure: WARNING: Could not find gdlib-config. This is probably the reason why you cannot have graphs. Do you have gd installed ? (gd and gd-devel if you are using packages) If yes, what version ? If you have gdlib-config installed, check the --with-gdlib_config_dir opt= ion for configure. And if you still have compilation problems, consider upgrading= to 0.103.2 that was released today :) > You will have to specify the options manually in CFLAGS and LDFLAGS whe= n > running make > ... > Configuration options: > Using glib2.0: 2.4.7 > --------------- > I thought it's not that horrible, cause he told me to use 2.4.7 This is OK :) > Now Nagios saves me every incoming service status in my MySQL-Database. > But only in the table perfdata_service_raw. Why not in > perfdata_service_bin and perfdata_service_metric? Probably because your plugins don't output performance data ? I let Ben o= r somebody else help you on that : I'm quite bad to help on that subject :) > The file perfgraph.cgi works fine too, but no graphs were created. gd > To do this, I should start the /usr/local/bin/perfparse.sh I edited the > file, cause some errors occured - files didn't exist, so I added them > manualy to the script: > ERROR_LOG=3D"/usr/local/etc/perfparse.log" > NAGIOS_LOCK_FILE=3D"/usr/local/nagios/var/nagios.lock" > PERF_FILE=3D"-" You can use the -c option and the $prefix/etc/perfparse.cfg.template file= for your configuration file. You can also use the --show_config option that prints= the options effectively used (the template config file may not be up to date) All the perfparse tools recognize the -c and --show_config options. > These values are okay (are they?) and no errors any longer. But it > doesnt create any picture (graphs) and I don't know, how this short cod= e > of the script would be able to do this... Try again with a correct configuration file :) > Quintessence: Everything works fine, but picture-generator and I didn't > receive any error messages. > > PS: > pp/database/version 0.15 > pp/perfparse/version 0.103.1 Upgrade to 0.103.2 where some minor bugs were fixed, including one on a p= roblem with gd :) > pp/perfparse/compilation date Nov 18 2004 10:27:02 > pp/uname/sysname Linux (Debian Sarge) > pp/uname/nodename badmax.mt.einsundeins.de > pp/uname/release 2.6.7-1-686 > pp/uname/version #1 Thu Jul 8 05:36:53 EDT 2004 > pp/uname/machine i686 > > Any ideas? Well, try again and tell us :) 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://perfparse.sf.net/ - |
From: Carsten F. <ma...@db...> - 2004-11-18 15:23:10
|
Greatings, I configured PerfParse with a simple ./configure Maybe an interesting part of the output is this one: --------------- checking for gdlib-config... no configure: WARNING: Could not find gdlib-config. You will have to specify the options manually in CFLAGS and LDFLAGS when running make ... Configuration options: Using glib2.0: 2.4.7 --------------- I thought it's not that horrible, cause he told me to use 2.4.7 So I compiled it with make (all?) No errors occured. Now Nagios saves me every incoming service status in my MySQL-Database. But only in the table perfdata_service_raw. Why not in perfdata_service_bin and perfdata_service_metric? The file perfgraph.cgi works fine too, but no graphs were created. To do this, I should start the /usr/local/bin/perfparse.sh I edited the file, cause some errors occured - files didn't exist, so I added them manualy to the script: ERROR_LOG="/usr/local/etc/perfparse.log" NAGIOS_LOCK_FILE="/usr/local/nagios/var/nagios.lock" PERF_FILE="-" These values are okay (are they?) and no errors any longer. But it doesnt create any picture (graphs) and I don't know, how this short code of the script would be able to do this... Quintessence: Everything works fine, but picture-generator and I didn't receive any error messages. PS: pp/database/version 0.15 pp/perfparse/version 0.103.1 pp/perfparse/compilation date Nov 18 2004 10:27:02 pp/uname/sysname Linux (Debian Sarge) pp/uname/nodename badmax.mt.einsundeins.de pp/uname/release 2.6.7-1-686 pp/uname/version #1 Thu Jul 8 05:36:53 EDT 2004 pp/uname/machine i686 Any ideas? Thanks a lot for now Carsten |
From: Ben C. <BCl...@pe...> - 2004-11-18 09:23:44
|
Dear Users, New version 0.103.2. This is mainly a bug fix for the following problems. If these problems are still unfixed, please let us know. 1. Compilation problems with libXpm.so sorted for Philipp. 2. printf format for BSD fixed for Julian. Please let me know if this is any better. 3. Fixed bug in tool to reset deletion policies: perfparse-db-tools --reset-host-delete-policy This now correctly accept a host name. Therefore you can use this to reset the deletion policies of all data for a named host. For example: $ perfparse-db-tools --reset-host-delete-policy h% Will reset all data from hosts which start with 'h'. The deletion policy will be set to the binary and raw default. Please check what this is before using. 4. Fixed compilation bugs where variables used before all variables defined. Strict ANSI C compilers will need this. 5. Amended CGI Host Delete Policy to allow faster editing. Please enjoy and report all problems. The next exciting version from Yves will be a language translation into French. We are looking for translators into other languages. Please let us know if you can give some time for this, you will be fully credited for all work. Regards, Yves and Ben. |
From: <Stu...@am...> - 2004-11-17 18:40:48
|
-----Original Message----- From: Einecker, Stuart M. Sent: Wednesday, November 17, 2004 11:38 AM To: 'Ben Clewett' Subject: RE: [Perfparse-users] method 4 Pipe; data storage and creating graphs ? on Solaris 8 Thanks It looks like it is a plugin/performance data issue. I had tackled several nagios server and plugin challenges over the past week which confused the issue. Thanks for pointing me in the right direction. -----Original Message----- From: Ben Clewett [mailto:BCl...@pe...] Sent: Wednesday, November 17, 2004 9:20 AM To: Stu...@am... Cc: per...@li... Subject: Re: [Perfparse-users] method 4 Pipe; data storage and creating graphs ? on Solaris 8 Hi Stuart, You seem to have some interesting problems. My guess is that the plugins do not produce performance data. For instance shown after the '|': OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000 load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000 Can you run your plugins from the command line using the same parameters as Nagios and ensure that they all produce performance data similar to that above? Regards, Ben Stu...@am... wrote: > Hi all > > > > I've been working with perfparse for about a week or so and > > I was wondering if I could get some input on problem I'm working > > through. > > > > Currently I'm only able to graph 2 out of 7 servers monitored; > > and only 4 out of 5 services on those 2 servers. 3 of the services > > are on the local server where nagios and perfparse daemons are running. > > I have 9 active services total. > > The services are PING DNS DISK LOAD NTP for the 9 servers > > On the successful servers > > Server1 is graphing PING LOAD DISK > > Server2 is graphing DNS and ignoring PING. > > The OS is Solaris 8. Version 103.1 of perfparse. > > > > I'm using method 4 to pipe data from nagios into the mysql DB. > > The data stored for the 2 servers and services are in the > > "perfdata_service_bin" and metric tables. All the data is going raw > > > > I have removed the mysql data directory and recreated the db several times > > with the same affect. A couple of times I pulled the 2 servers out of > > the nagios config and then recreating the data. No results until I put > the 2 servers > > back in. So I'm wondering how does perfparsed > > know about only these 2 servers and how do I get data in the bin and > metric tables > > for the other servers. > > > > > > In the perfparse.cfg I have the following set: > > Service_Log = "|/usr/local/nagios/var/rw/serviceperf.log" > > Service_Log_Save_Position = "no" > > Daemon_Lock = "/usr/local/nagios/var/perfparsed.lock" > > Daemonize = "no" > > No_Raw_Data = "no" > > No_Bin_Data = "no" > > > > The nagios_perfparse.cfg services command is set to: > > > > command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl / > > usr/local/nagios/var/rw/serviceperf.log "$TIMET$" "$HOSTNAME$" > "$SERVICEDESC$" " > > $OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" > > > > The "process-host-perfdata" command doesn't seem to be used. > > There is no variables to set or used for host info in the perfparse.cfg > > and I didn't see any variables for the host setup when I do a > > ./perfparsed -show_config > > > > > > +-------------------------+ > > | Tables_in_nagios | > > +-------------------------+ > > | perfdata_delete_policy | Empty > > | perfdata_graphs | Empty > > | perfdata_host | server1 server2 server3 server4 > server5 server6 server7 > > | perfdata_host_group | Empty > > | perfdata_prefs | Empty > > | perfdata_registry | Server Registration data > > | perfdata_service | Service info for all servers > > | perfdata_service_bin | Data for only 2 servers > > | perfdata_service_metric | 4 services for server1 and server2 > > | perfdata_service_raw | Raw data for all servers > > | perfdata_state | Empty > > | perfdata_summary | Empty > > | perfdata_summary_data | Empty > > +-------------------------+ > > 13 rows in set (0.01 sec) > |
From: Ben C. <BCl...@pe...> - 2004-11-17 16:19:41
|
Hi Stuart, You seem to have some interesting problems. My guess is that the plugins do not produce performance data. For instance shown after the '|': OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000 load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000 Can you run your plugins from the command line using the same parameters as Nagios and ensure that they all produce performance data similar to that above? Regards, Ben Stu...@am... wrote: > Hi all > > > > I've been working with perfparse for about a week or so and > > I was wondering if I could get some input on problem I'm working > > through. > > > > Currently I'm only able to graph 2 out of 7 servers monitored; > > and only 4 out of 5 services on those 2 servers. 3 of the services > > are on the local server where nagios and perfparse daemons are running. > > I have 9 active services total. > > The services are PING DNS DISK LOAD NTP for the 9 servers > > On the successful servers > > Server1 is graphing PING LOAD DISK > > Server2 is graphing DNS and ignoring PING. > > The OS is Solaris 8. Version 103.1 of perfparse. > > > > I'm using method 4 to pipe data from nagios into the mysql DB. > > The data stored for the 2 servers and services are in the > > "perfdata_service_bin" and metric tables. All the data is going raw > > > > I have removed the mysql data directory and recreated the db several times > > with the same affect. A couple of times I pulled the 2 servers out of > > the nagios config and then recreating the data. No results until I put > the 2 servers > > back in. So I'm wondering how does perfparsed > > know about only these 2 servers and how do I get data in the bin and > metric tables > > for the other servers. > > > > > > In the perfparse.cfg I have the following set: > > Service_Log = "|/usr/local/nagios/var/rw/serviceperf.log" > > Service_Log_Save_Position = "no" > > Daemon_Lock = "/usr/local/nagios/var/perfparsed.lock" > > Daemonize = "no" > > No_Raw_Data = "no" > > No_Bin_Data = "no" > > > > The nagios_perfparse.cfg services command is set to: > > > > command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl / > > usr/local/nagios/var/rw/serviceperf.log "$TIMET$" "$HOSTNAME$" > "$SERVICEDESC$" " > > $OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" > > > > The "process-host-perfdata" command doesn't seem to be used. > > There is no variables to set or used for host info in the perfparse.cfg > > and I didn't see any variables for the host setup when I do a > > ./perfparsed -show_config > > > > > > +-------------------------+ > > | Tables_in_nagios | > > +-------------------------+ > > | perfdata_delete_policy | Empty > > | perfdata_graphs | Empty > > | perfdata_host | server1 server2 server3 server4 > server5 server6 server7 > > | perfdata_host_group | Empty > > | perfdata_prefs | Empty > > | perfdata_registry | Server Registration data > > | perfdata_service | Service info for all servers > > | perfdata_service_bin | Data for only 2 servers > > | perfdata_service_metric | 4 services for server1 and server2 > > | perfdata_service_raw | Raw data for all servers > > | perfdata_state | Empty > > | perfdata_summary | Empty > > | perfdata_summary_data | Empty > > +-------------------------+ > > 13 rows in set (0.01 sec) > |
From: <Stu...@am...> - 2004-11-17 16:05:50
|
Hi all I've been working with perfparse for about a week or so and I was wondering if I could get some input on problem I'm working through. Currently I'm only able to graph 2 out of 7 servers monitored; and only 4 out of 5 services on those 2 servers. 3 of the services are on the local server where nagios and perfparse daemons are running. I have 9 active services total. The services are PING DNS DISK LOAD NTP for the 9 servers On the successful servers Server1 is graphing PING LOAD DISK Server2 is graphing DNS and ignoring PING. The OS is Solaris 8. Version 103.1 of perfparse. I'm using method 4 to pipe data from nagios into the mysql DB. The data stored for the 2 servers and services are in the "perfdata_service_bin" and metric tables. All the data is going raw I have removed the mysql data directory and recreated the db several times with the same affect. A couple of times I pulled the 2 servers out of the nagios config and then recreating the data. No results until I put the 2 servers back in. So I'm wondering how does perfparsed know about only these 2 servers and how do I get data in the bin and metric tables for the other servers. In the perfparse.cfg I have the following set: Service_Log = "|/usr/local/nagios/var/rw/serviceperf.log" Service_Log_Save_Position = "no" Daemon_Lock = "/usr/local/nagios/var/perfparsed.lock" Daemonize = "no" No_Raw_Data = "no" No_Bin_Data = "no" The nagios_perfparse.cfg services command is set to: command_line /usr/local/nagios/bin/perfparse_nagios_pipe_command.pl / usr/local/nagios/var/rw/serviceperf.log "$TIMET$" "$HOSTNAME$" "$SERVICEDESC$" " $OUTPUT$" "$SERVICESTATE$" "$PERFDATA$" The "process-host-perfdata" command doesn't seem to be used. There is no variables to set or used for host info in the perfparse.cfg and I didn't see any variables for the host setup when I do a ./perfparsed -show_config +-------------------------+ | Tables_in_nagios | +-------------------------+ | perfdata_delete_policy | Empty | perfdata_graphs | Empty | perfdata_host | server1 server2 server3 server4 server5 server6 server7 | perfdata_host_group | Empty | perfdata_prefs | Empty | perfdata_registry | Server Registration data | perfdata_service | Service info for all servers | perfdata_service_bin | Data for only 2 servers | perfdata_service_metric | 4 services for server1 and server2 | perfdata_service_raw | Raw data for all servers | perfdata_state | Empty | perfdata_summary | Empty | perfdata_summary_data | Empty +-------------------------+ 13 rows in set (0.01 sec) |
From: Ben C. <BCl...@pe...> - 2004-11-17 11:46:59
|
Dear users, A warning about the last posting. This has been tested on plugin version 1.4.0alpha1. This may not work on other version. Please only install if you require this. If this does not work on your version, please let me know or wait for the next release of plugins which should be fixed. Ben. Ben Clewett wrote: > Dear users, > > Attached is a working version of the check_load. This version displays > values correctly as floating point numbers: > > OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000 > load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000 > > Rather than the current bad version: > > OK - load average: 0.38, 0.50, 0.50|load1=0;1;2;0 load5=0;1;2;0 > load15=0;1;2;0 > > Follow these instructions: > > Copy file to plugins directory of nagios-plugin distribution and: > > $ gunzip check_load.c.gz > $ make > $ su > # make install > > Regards, Ben. > > > Ben Clewett wrote: > >> Hi Celeste. >> >> I think there is a problem with the correct check_load plugin. I have >> just looked at the current plugins and I have the same problem. The >> performance data is being recorded only to the nearest whole number. >> Which is really not a lot of good for load data. >> >> I will report this with the hope of a fix. >> >> Otherwise I can advise you get an old plugin suit, say from six months >> ago. The check_load from this works perfectly. >> >> Regards, Ben. >> >> >> >> celeste wrote: >> >>> this is a sample of serviceperf.log >>> 1100509139 linux190 load average OK - load average: >>> 0.62, 0.68, 0.58 OK load1=0;1;2;0 load5=0;2;3;0 load15=0;3;4;0 >>> >>> >>> celeste wrote: >>> >>>> hi, i found when system is heavy performance, >>>> select * from perfdata_service_bin where metric="LOAD1"; >>>> the value = "1". >>>> >>>> i don't know what's wrong. >>>> >>>> >>>> celeste wrote: >>>> >>>>> hi, everyone. >>>>> i installed nagios + perfparse. >>>>> nagios version: 1.2 >>>>> plugin:1.4.0alpha1 >>>>> perfparse:1.103.1 >>>>> i use perfparse-log2db, >>>>> now, i can see graphic display, like http response time, it's perfect. >>>>> but, i found i cann't display load average information. i check mysql, >>>>> select * from perfdata_service_bin where metric="LOAD1"; >>>>> i found is all value is zero. >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: InterSystems CACHE >>>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>>> robust object and relational technologies, making it a perfect match >>>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>>> _______________________________________________ >>>>> Perfparse-users mailing list >>>>> Per...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>>> >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: InterSystems CACHE >>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>> robust object and relational technologies, making it a perfect match >>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>> _______________________________________________ >>>> Perfparse-users mailing list >>>> Per...@li... >>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: InterSystems CACHE >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> robust object and relational technologies, making it a perfect match >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> _______________________________________________ >>> Perfparse-users mailing list >>> Per...@li... >>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Perfparse-users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfparse-users >> > |
From: Ben C. <BCl...@pe...> - 2004-11-17 11:41:11
|
Dear users, Attached is a working version of the check_load. This version displays values correctly as floating point numbers: OK - load average: 0.38, 0.50, 0.50|load1=0.380;1.500;2.000;0.000 load5=0.500;1.000;2.000;0.000 load15=0.500;1.000;2.000;0.000 Rather than the current bad version: OK - load average: 0.38, 0.50, 0.50|load1=0;1;2;0 load5=0;1;2;0 load15=0;1;2;0 Follow these instructions: Copy file to plugins directory of nagios-plugin distribution and: $ gunzip check_load.c.gz $ make $ su # make install Regards, Ben. Ben Clewett wrote: > Hi Celeste. > > I think there is a problem with the correct check_load plugin. I have > just looked at the current plugins and I have the same problem. The > performance data is being recorded only to the nearest whole number. > Which is really not a lot of good for load data. > > I will report this with the hope of a fix. > > Otherwise I can advise you get an old plugin suit, say from six months > ago. The check_load from this works perfectly. > > Regards, Ben. > > > > celeste wrote: > >> this is a sample of serviceperf.log >> 1100509139 linux190 load average OK - load average: >> 0.62, 0.68, 0.58 OK load1=0;1;2;0 load5=0;2;3;0 load15=0;3;4;0 >> >> >> celeste wrote: >> >>> hi, i found when system is heavy performance, >>> select * from perfdata_service_bin where metric="LOAD1"; >>> the value = "1". >>> >>> i don't know what's wrong. >>> >>> >>> celeste wrote: >>> >>>> hi, everyone. >>>> i installed nagios + perfparse. >>>> nagios version: 1.2 >>>> plugin:1.4.0alpha1 >>>> perfparse:1.103.1 >>>> i use perfparse-log2db, >>>> now, i can see graphic display, like http response time, it's perfect. >>>> but, i found i cann't display load average information. i check mysql, >>>> select * from perfdata_service_bin where metric="LOAD1"; >>>> i found is all value is zero. >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: InterSystems CACHE >>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>> robust object and relational technologies, making it a perfect match >>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>> _______________________________________________ >>>> Perfparse-users mailing list >>>> Per...@li... >>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>>> >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: InterSystems CACHE >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> robust object and relational technologies, making it a perfect match >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> _______________________________________________ >>> Perfparse-users mailing list >>> Per...@li... >>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>> >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Perfparse-users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfparse-users >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Sand P. <Phi...@sy...> - 2004-11-16 13:09:56
|
The problem accours during the compilation process of the perfchart.png. = Here's the Output: gcc -g -O2 -Wall -o .libs/perfchart.png perfchart.o cgi.o -L/usr/local/m= ysql-4.0.21-optimized 21-optimized/lib/mysql/libmysqlclient.so -lcrypt -lnsl -lglib-2.0 -lXpm -= lX11 /usr/lib/libjpeg g -lz -lgd -L/root/perfparse-0.103.1/libpp_mysql /root/perfparse-0.103.1/= libpp_mysql/.libs/lib 103.1/libpp_common /root/perfparse-0.103.1/libpp_common/.libs/libpp_commo= n.so -lm -Wl,--rpath mized/lib/mysql -Wl,--rpath -Wl,/usr/local/nagios/lib /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status make[2]: *** [perfchart.png] Error 1 make[2]: Leaving directory `/root/perfparse-0.103.1/cgi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/perfparse-0.103.1' make: *** [all] Error 2=20 > -----Original Message----- > From: Ben Clewett [mailto:BCl...@pe...]=20 > Sent: Tuesday, November 16, 2004 2:03 PM > To: Sand Philipp; 'per...@li...' > Subject: Re: [Perfparse-users] Perfparse 103.1 compiling error >=20 > Sand Philipp wrote: > > Yes and No. when I run ldconfig -v, the lib is found saying:=20 > > libXpm.so.4 -> libXpm.so.4.11 I'm not sure what you meant=20 > with running the program..but when I execute the=20 > libXpm.so.4.11 it says "Segmentation fault" > > Not sure what that means, but sounds not very good :) >=20 > First problem solved, it would not segmentation fault if the=20 > lib was not found. :) >=20 > Your second problem is a little different. :( >=20 > Can you try and tie down what events cause the fault. Can=20 > you remind me which program is causing the fault, and how you=20 > are calling it? Can you -v or -h or --show_config before the fault? >=20 > If the --show_config works, can you check any referenced=20 > files are readable by the user running the program? >=20 > Regards, >=20 > Ben. >=20 > >=20 > >=20 > >>-----Original Message----- > >>From: Ben Clewett [mailto:BCl...@pe...] > >>Sent: Tuesday, November 16, 2004 1:19 PM > >>To: Sand Philipp > >>Cc: Yves Mettier; per...@li... > >>Subject: Re: [Perfparse-users] Perfparse 103.1 compiling error > >> > >>Hi, > >> > >>Try running > >> > >># ldconfig -v | more > >> > >>Can you see if the lib is found? If so, does the program run? > >> > >>Ben > >> > >> > >>Sand Philipp wrote: > >> > >> > >>>Hmm... > >>>I just had a look to my ld.so.conf...here it is: > >>>/usr/kerberos/lib > >>>/usr/lib/php4 > >>>/usr/X11R6/lib > >>>/usr/lib/qt-3.3/lib > >>> > >>>So, as far as I would understand this, the Path is already > >> > >>linked in > >> > >>>the right way... > >>>But why doesn't the ***** compiler find the packet? > >>> > >>>Any suggestions?=20 > >>> > >>>Thanks for the help so far! > >>> > >>>Philipp > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: Yves Mettier [mailto:yme...@li...] > >>>>Sent: Tuesday, November 16, 2004 11:50 AM > >>>>To: Sand Philipp > >>>>Cc: per...@li... > >>>>Subject: RE: [Perfparse-users] Perfparse 103.1 compiling error > >>>> > >>>> > >>>> > >>>> > >>>>>Sorry for beeing such a linux dummy... > >>>> > >>>>We all begin with few knowledge and learn more and more thanks to=20= > >>>>documentation and people who give their help :) > >>>> > >>>> > >>>> > >>>>>I just found the libXpm files > >>>> > >>>>... > >>>> > >>>> > >>>>>Installed package: xorg-x11-libs.i386 0:6.7.0-5 matches with > >>>>>/usr/X11R6/lib/libXpm.so.4 > >>>> > >>>>>Where do i have to link them, so that ld can find them?? > >>>> > >>>>On Linux, probably in /etc/ld.so.conf If you edit that file, run=20= > >>>>ldconfig after that to take the > >> > >>change into > >> > >>>>account. > >>>>On Linux and other systems, you also have the environment=20 > variable=20 > >>>>$LD_LIBRARY_PATH (same syntax as PATH). But prefer > >> > >>/etc/ld.so.conf for > >> > >>>>standard locations. > >>>> > >>>>Yves > >>>> > >>>>--=20 > >>>>- Homepage - http://ymettier.free.fr -=20 > http://www.logicacmg.com - > >>>>- GPG key - http://ymettier.free.fr/gpg.txt =20 > - > >>>>- Maitretarot - http://www.nongnu.org/maitretarot/ =20 > - > >>>>- Perfparse - http://perfparse.sf.net/ =20 > - > >>>> > >>>> > >>> > >>> > >>> > >>>************************************************ > >>> > >>>sycor plastics - die neue Branchenl=F6sung f=FCr die=20 > Kunststoffindustrie > >>> > >>>www.sycor-plastics.de > >>> > >>>************************************************ > >>> > >>> > >>> > >>> > >>>Diese E-Mail ist vertraulich und kann dar=FCber hinaus > >> > >>pers=F6nliche Informationen beinhalten. Wenn Sie nicht der=20 > >>bestimmungsgem=E4=DFe Empf=E4nger sind, l=F6schen Sie bitte die E-Mai= l und=20 > >>deren Anh=E4nge sofort und benachrichtigen Sie uns dar=FCber. Die Fir= ma=20 > >>sycor willigt in keine Vertr=E4ge oder vertragliche=20 > Verpflichtungen ein=20 > >>oder =FCbermittelt rechtsverbindliche Angebote, die in Form=20 > von E-Mail=20 > >>versandt werden, sofern dies nicht ausdr=FCcklich in=20 > schriftlicher Form=20 > >>zwischen den Parteien vereinbart wurde. > >> > >>>This e-mail is confidential and may contain personal and/or > >> > >>privileged information. If you are not the intended=20 > recipient please=20 > >>delete this e-mail and all attachments immediately and=20 > inform us. The=20 > >>company sycor does not agree with contracts or contract obligations=20= > >>sent by e-mail, neither do we transmit legally binding offers by=20 > >>e-mail, unless this is not expressly agreed upon between=20 > the parties=20 > >>and documented in written form. > >> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS=20= > >>>DOWNLOAD - A multidimensional database that combines robust > >> > >>object and > >> > >>>relational technologies, making it a perfect match for > >> > >>Java, C++,COM, > >> > >>>XML, ODBC and JDBC. www.intersystems.com/match8=20 > >>>_______________________________________________ > >>>Perfparse-users mailing list > >>>Per...@li... > >>>https://lists.sourceforge.net/lists/listinfo/perfparse-users > >>> > >> > >> > >=20 > >=20 > > ************************************************ > >=20 > > sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindust= rie > >=20 > > www.sycor-plastics.de > >=20 > > ************************************************ > >=20 > >=20 > >=20 > >=20 > > Diese E-Mail ist vertraulich und kann dar=FCber hinaus=20 > pers=F6nliche Informationen beinhalten. Wenn Sie nicht der=20 > bestimmungsgem=E4=DFe Empf=E4nger sind, l=F6schen Sie bitte die=20 > E-Mail und deren Anh=E4nge sofort und benachrichtigen Sie uns=20 > dar=FCber. Die Firma sycor willigt in keine Vertr=E4ge oder=20 > vertragliche Verpflichtungen ein oder =FCbermittelt=20 > rechtsverbindliche Angebote, die in Form von E-Mail versandt=20 > werden, sofern dies nicht ausdr=FCcklich in schriftlicher Form=20 > zwischen den Parteien vereinbart wurde. > >=20 > > This e-mail is confidential and may contain personal and/or=20 > privileged information. If you are not the intended recipient=20 > please delete this e-mail and all attachments immediately and=20 > inform us. The company sycor does not agree with contracts or=20 > contract obligations sent by e-mail, neither do we transmit=20 > legally binding offers by e-mail, unless this is not=20 > expressly agreed upon between the parties and documented in=20 > written form. > >=20 > >=20 >=20 >=20 ************************************************ sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar=FCber hinaus pers=F6nliche Info= rmationen beinhalten. Wenn Sie nicht der bestimmungsgem=E4=DFe Empf=E4nge= r sind, l=F6schen Sie bitte die E-Mail und deren Anh=E4nge sofort und ben= achrichtigen Sie uns dar=FCber. Die Firma sycor willigt in keine Vertr=E4= ge oder vertragliche Verpflichtungen ein oder =FCbermittelt rechtsverbind= liche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht= ausdr=FCcklich in schriftlicher Form zwischen den Parteien vereinbart wu= rde. This e-mail is confidential and may contain personal and/or privileged in= formation. If you are not the intended recipient please delete this e-mai= l and all attachments immediately and inform us. The company sycor does n= ot agree with contracts or contract obligations sent by e-mail, neither d= o we transmit legally binding offers by e-mail, unless this is not expres= sly agreed upon between the parties and documented in written form. |