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: Yves M. <yme...@li...> - 2004-08-26 16:58:54
|
> Hi all. > > I've observed my nagios restart every perfparse.sh run. I use > perfparse-0.99.07 > > [26-08-2004 12:35:00] Nagios 1.2 starting... (PID=3D12443) > [26-08-2004 12:35:00] Caught SIGHUP, restarting... > > Is this ok? If so, why is needed nagios restarting? If you are using --delete* option, yes, perfparse sends some SIGHUP signa= l to nagios to ask for restart and use a new serviceperf.log file. Otherwise, nothing to see with perfparse. > I'm trying to figure out why my nagios stops working after few hours an= d I'd > like to know if this "nagios restarting" has some relation to "nagios > stopping". perfparse does not ask nagios to stop, but only to start writing to a new serviceperf.log file, which also mean restarting, but not stopping. In your log, strange that nagios starts and restarts at the same time. SI= GHUP caught by change at that time ? > When nagios stops its checks, it always has a zombie process. How long do they live ? (just asking for if others can help :) Yves > > Regards, > > Wilson > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - GTKtalog - http://www.nongnu.org/gtktalog/ - |
From: Wilson P. J. <wp....@te...> - 2004-08-26 16:01:35
|
Hi all. I've observed my nagios restart every perfparse.sh run. I use perfparse-0.99.07 [26-08-2004 12:35:00] Nagios 1.2 starting... (PID=12443) [26-08-2004 12:35:00] Caught SIGHUP, restarting... Is this ok? If so, why is needed nagios restarting? I'm trying to figure out why my nagios stops working after few hours and I'd like to know if this "nagios restarting" has some relation to "nagios stopping". When nagios stops its checks, it always has a zombie process. Regards, Wilson |
From: Tim B. <br...@se...> - 2004-08-25 21:43:14
|
Hi James The only other thing I did was changed to the newer sample version perfparse.cfg. Here are some thoughts... Did you see any "upgrade" output from ./perfparse-db-tool --update when you ran it indicating something actually happened? Is the binary from perfparse-db-tool the new one that was built with 0.99.09. I initially didn't "configure" correctly which "make install"ed perfparse-db-tool to the wrong directory (/usr/local/bin) which left the older version of perfparse-db-tool in place under /usr/local/nagios/bin Tim James Ochs wrote: > Upgrading to 0.99.09 didn't fix this problem for me. Nor did running > perfparse-db-tool --update. > > James > > -----Original Message----- > From: Tim Brazil [mailto:br...@se...] > Sent: Wednesday, August 25, 2004 1:39 PM > Cc: per...@li... > Subject: Re: [Perfparse-users] re: deletion policys > > Thanks Garry > I updated to 0.99.09, ran ./perfparse-db-tool --update and it fixed my > problem. > > Tim > > Cook, Garry wrote: > > >per...@li... wrote: > > > > > >>I have been watching this post becasue I too am experiencing this > >>problem. It's been about 1 month since I've started collection > >>performance statistics and I'd like to do some cleanup. I > >>cannot create > >>deletion policies due to the "Cannot add or update a child row: a > >>foreign key constraint fails" error. > >>Any ideas on how to rectify this. I also ran the ./perfparse-db-tool > >>--update to see whether it would correct the problem. It > >>didn't change > >>anything. I have Version 0.99.05. Schema Version 0.12 > >> > >>Thanks in advance > >>Tim > >> > >> > > > >I believe that this bug was fixed in Version 0.99.08, but it might have > >been 0.99.09. Either way, you should definitely be using the latest > >stable version -> 0.99.09. > >I thought that I saw someone else post about this issue and say that the > >version upgrade did not fix it for them. However, they did not mention > >if they ran 'perfparse-db-tool --update' after upgrading PerfParse. > > > >Everyone needs to realize something very important: > >With new versions, there are changes to the PerfParse code and there are > >sometimes changes made to the MySQL DB as well. You need to use the > >perfparse-db-tool to update your DB with each upgrade. This tool will be > >installed in your '<path_to>/nagios/bin/' directory, run it with the > >'--update' argument to ensure that DB changes are made properly. > > > >Garry W. Cook, CCNA > >Network Infrastructure Manager > >MACTEC, Inc. - http://www.mactec.com/ > >303.308.6228 (Office) - 720.220.1862 (Mobile) > > > > > >------------------------------------------------------- > >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > >_______________________________________________ > >Perfparse-users mailing list > >Per...@li... > >https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: James O. <jo...@re...> - 2004-08-25 21:08:11
|
Upgrading to 0.99.09 didn't fix this problem for me. Nor did running perfparse-db-tool --update. James -----Original Message----- From: Tim Brazil [mailto:br...@se...] Sent: Wednesday, August 25, 2004 1:39 PM Cc: per...@li... Subject: Re: [Perfparse-users] re: deletion policys Thanks Garry I updated to 0.99.09, ran ./perfparse-db-tool --update and it fixed my problem. Tim Cook, Garry wrote: >per...@li... wrote: > > >>I have been watching this post becasue I too am experiencing this >>problem. It's been about 1 month since I've started collection >>performance statistics and I'd like to do some cleanup. I >>cannot create >>deletion policies due to the "Cannot add or update a child row: a >>foreign key constraint fails" error. >>Any ideas on how to rectify this. I also ran the ./perfparse-db-tool >>--update to see whether it would correct the problem. It >>didn't change >>anything. I have Version 0.99.05. Schema Version 0.12 >> >>Thanks in advance >>Tim >> >> > >I believe that this bug was fixed in Version 0.99.08, but it might have >been 0.99.09. Either way, you should definitely be using the latest >stable version -> 0.99.09. >I thought that I saw someone else post about this issue and say that the >version upgrade did not fix it for them. However, they did not mention >if they ran 'perfparse-db-tool --update' after upgrading PerfParse. > >Everyone needs to realize something very important: >With new versions, there are changes to the PerfParse code and there are >sometimes changes made to the MySQL DB as well. You need to use the >perfparse-db-tool to update your DB with each upgrade. This tool will be >installed in your '<path_to>/nagios/bin/' directory, run it with the >'--update' argument to ensure that DB changes are made properly. > >Garry W. Cook, CCNA >Network Infrastructure Manager >MACTEC, Inc. - http://www.mactec.com/ >303.308.6228 (Office) - 720.220.1862 (Mobile) > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Perfparse-users mailing list >Per...@li... >https://lists.sourceforge.net/lists/listinfo/perfparse-users > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Perfparse-users mailing list Per...@li... https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Tim B. <br...@se...> - 2004-08-25 20:39:18
|
Thanks Garry I updated to 0.99.09, ran ./perfparse-db-tool --update and it fixed my problem. Tim Cook, Garry wrote: >per...@li... wrote: > > >>I have been watching this post becasue I too am experiencing this >>problem. It's been about 1 month since I've started collection >>performance statistics and I'd like to do some cleanup. I >>cannot create >>deletion policies due to the "Cannot add or update a child row: a >>foreign key constraint fails" error. >>Any ideas on how to rectify this. I also ran the ./perfparse-db-tool >>--update to see whether it would correct the problem. It >>didn't change >>anything. I have Version 0.99.05. Schema Version 0.12 >> >>Thanks in advance >>Tim >> >> > >I believe that this bug was fixed in Version 0.99.08, but it might have >been 0.99.09. Either way, you should definitely be using the latest >stable version -> 0.99.09. >I thought that I saw someone else post about this issue and say that the >version upgrade did not fix it for them. However, they did not mention >if they ran 'perfparse-db-tool --update' after upgrading PerfParse. > >Everyone needs to realize something very important: >With new versions, there are changes to the PerfParse code and there are >sometimes changes made to the MySQL DB as well. You need to use the >perfparse-db-tool to update your DB with each upgrade. This tool will be >installed in your '<path_to>/nagios/bin/' directory, run it with the >'--update' argument to ensure that DB changes are made properly. > >Garry W. Cook, CCNA >Network Infrastructure Manager >MACTEC, Inc. - http://www.mactec.com/ >303.308.6228 (Office) - 720.220.1862 (Mobile) > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Perfparse-users mailing list >Per...@li... >https://lists.sourceforge.net/lists/listinfo/perfparse-users > > |
From: Cook, G. <GW...@ma...> - 2004-08-25 19:55:56
|
per...@li... wrote: > I have been watching this post becasue I too am experiencing this > problem. It's been about 1 month since I've started collection > performance statistics and I'd like to do some cleanup. I > cannot create > deletion policies due to the "Cannot add or update a child row: a > foreign key constraint fails" error. > Any ideas on how to rectify this. I also ran the ./perfparse-db-tool > --update to see whether it would correct the problem. It > didn't change > anything. I have Version 0.99.05. Schema Version 0.12 >=20 > Thanks in advance > Tim I believe that this bug was fixed in Version 0.99.08, but it might have been 0.99.09. Either way, you should definitely be using the latest stable version -> 0.99.09. I thought that I saw someone else post about this issue and say that the version upgrade did not fix it for them. However, they did not mention if they ran 'perfparse-db-tool --update' after upgrading PerfParse. Everyone needs to realize something very important: With new versions, there are changes to the PerfParse code and there are sometimes changes made to the MySQL DB as well. You need to use the perfparse-db-tool to update your DB with each upgrade. This tool will be installed in your '<path_to>/nagios/bin/' directory, run it with the '--update' argument to ensure that DB changes are made properly. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Ferrill, J. <jam...@NE...> - 2004-08-25 19:35:35
|
James, I recently started using PerfParse and encounted the same thing. OS: Debian Linux 2.6.6-1-686 #1 Wed May 12 14:57:57 EST 2004 i686 GNU/Lin MySQL: Ver 12.22 Distrib 4.0.18, for pc-linux-gnu (i686) Installed PerfParse 0.99.07. Ran perfparse-db-tool --update No perfdata being collected yet. Noticed the deletion policy problem. Downloaded and installed alpha1 plugins. Configured ping to collect perfdata with fping Downloaded and installed a few of the latest cvs plugins. Installed PerfParse 0.99.09. Ran perfparse-db-tool --update Deletion policy problem no longer exists. I don't know what fixed it in that sequence. Plus, I'm sure there was a reboot or two in there somewhere. I do know that PerfParse acts differently if there is no data. It could be that it malfunctioned until data was collected and appeared in the tables. James Ferrill IT Analyst II NextiraOne LLC Phone: 713-307-4029 Email: jam...@ne... -----Original Message----- From: James Ochs [mailto:jo...@re...] Sent: Saturday, August 21, 2004 1:46 PM To: per...@li... Subject: [Perfparse-users] deletion policys I get this error everytime I try to update /create deletion policys in the database: [root@mon-01 bin]# ./perfparse-db-tool --reset_host_delete_policy test-wms-app "UPDATE perfdata_host SET raw_delete_policy_type = 'template', bin_delete_policy_type = 'template', raw_delete_policy_name = 'Raw Default', bin_delete_policy_name = 'Bin Default' WHERE host_name = 'test-wms-app'" failed: Cannot add or update a child row: a foreign key constraint fails Any ideas what is causing this? I have upgraded to perfparse 0.99.09, and previously was running 99.07. I have been getting this error since I first installed perfparse. There is currently no data in the delete policy tables. James |
From: Tim B. <br...@se...> - 2004-08-25 17:02:41
|
I have been watching this post becasue I too am experiencing this problem. It's been about 1 month since I've started collection performance statistics and I'd like to do some cleanup. I cannot create deletion policies due to the "Cannot add or update a child row: a foreign key constraint fails" error. Any ideas on how to rectify this. I also ran the ./perfparse-db-tool --update to see whether it would correct the problem. It didn't change anything. I have Version 0.99.05. Schema Version 0.12 Thanks in advance Tim |
From: <Chr...@Da...> - 2004-08-25 14:25:29
|
Thanks for your help "chmod u+s" has fixed the problem, now it's collecting perfdata. /chf "Barry Weeks" <ba...@if...> 25/08/2004 16:17 Bitte antworten an "Barry Weeks" An: <Chr...@Da...> Kopie: <per...@li...> Thema: Re: Antwort: Re: [Perfparse-users] Problems to use check_icmp and nagios 1.2 The file you need to change is the actual check_icmp file in /usr/local/nagios/libexec The command to run would be chmod u+s /usr/local/nagios/libexec/check_icmp Please try and find out some more info about setting root priviledges on files just so you understand the security implications. Hope this helps Barry ----- Original Message ----- From: Chr...@Da... To: Barry Weeks Cc: per...@li... Sent: Wednesday, August 25, 2004 2:56 PM Subject: Antwort: Re: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hi Barry, here is my shout. Which file has to be altered by chmod? Thanks, Christopher "Barry Weeks" <ba...@if...> 25/08/2004 15:49 Bitte antworten an "Barry Weeks" An: <per...@li...>, <Chr...@Da...> Kopie: Thema: Re: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hi Christopher Check_icmp has to run with root privilledges so you need to chmod the file to inherit the privilledges of the root user while running then release them again after execution. It's very simple to do. If you need more info give me a shout ----- Original Message ----- From: Chr...@Da... To: per...@li... Sent: Wednesday, August 25, 2004 1:53 PM Subject: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hello, I have problems to use the check_icmp with the nagios version 1.2, if I change the host check_command from check_ping to check_icmp, I get the message on the webinterface "Root access needed (for raw sockets)". Additional I can't see any graph's in the menu "View and Graph Binary Data". Has anybody a clue what's wrong with my configuration? Thanks, Christopher |
From: Barry W. <ba...@if...> - 2004-08-25 14:17:27
|
The file you need to change is the actual check_icmp file in = /usr/local/nagios/libexec The command to run would be chmod u+s /usr/local/nagios/libexec/check_icmp Please try and find out some more info about setting root priviledges on = files just so you understand the security implications. Hope this helps Barry ----- Original Message -----=20 From: Chr...@Da...=20 To: Barry Weeks=20 Cc: per...@li...=20 Sent: Wednesday, August 25, 2004 2:56 PM Subject: Antwort: Re: [Perfparse-users] Problems to use check_icmp and = nagios 1.2 Hi Barry,=20 here is my shout. Which file has to be altered by chmod?=20 Thanks,=20 Christopher=20 "Barry Weeks" <ba...@if...>=20 25/08/2004 15:49=20 Bitte antworten an "Barry Weeks"=20 =20 An: <per...@li...>, = <Chr...@Da...>=20 Kopie: =20 Thema: Re: [Perfparse-users] Problems to use = check_icmp and nagios 1.2=20 Hi Christopher=20 =20 Check_icmp has to run with root privilledges so you need to chmod the = file to inherit the privilledges of the root user while running then = release them again after execution.=20 It's very simple to do. If you need more info give me a shout=20 ----- Original Message -----=20 From: Chr...@Da...=20 To: per...@li...=20 Sent: Wednesday, August 25, 2004 1:53 PM=20 Subject: [Perfparse-users] Problems to use check_icmp and nagios 1.2=20 Hello,=20 I have problems to use the check_icmp with the nagios version 1.2, if = I change the host check_command from check_ping to check_icmp, I get the = message on the webinterface "Root access needed (for raw sockets)". = Additional I can't see any graph's in the menu "View and Graph Binary = Data". Has anybody a clue what's wrong with my configuration?=20 Thanks,=20 Christopher=20 |
From: Ben C. <Be...@cl...> - 2004-08-25 14:15:15
|
There is a simple reason why you have no data in the binary reports. None of the plugins you are using are producing valid performance data. When they do, you will get this data. There is more information on this from Garry's excellent HOWTO and the PerfParse web site he has produced for us. Regards, Ben. Chr...@Da... wrote: > > Hello, > > I have problems to use the check_icmp with the nagios version 1.2, if I > change the host check_command from check_ping to check_icmp, I get the > message on the webinterface "Root access needed (for raw sockets)". > Additional I can't see any graph's in the menu "View and Graph Binary > Data". Has anybody a clue what's wrong with my configuration? > > Thanks, > Christopher |
From: <Chr...@Da...> - 2004-08-25 13:56:39
|
Hi Barry, here is my shout. Which file has to be altered by chmod? Thanks, Christopher "Barry Weeks" <ba...@if...> 25/08/2004 15:49 Bitte antworten an "Barry Weeks" An: <per...@li...>, <Chr...@Da...> Kopie: Thema: Re: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hi Christopher Check_icmp has to run with root privilledges so you need to chmod the file to inherit the privilledges of the root user while running then release them again after execution. It's very simple to do. If you need more info give me a shout ----- Original Message ----- From: Chr...@Da... To: per...@li... Sent: Wednesday, August 25, 2004 1:53 PM Subject: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hello, I have problems to use the check_icmp with the nagios version 1.2, if I change the host check_command from check_ping to check_icmp, I get the message on the webinterface "Root access needed (for raw sockets)". Additional I can't see any graph's in the menu "View and Graph Binary Data". Has anybody a clue what's wrong with my configuration? Thanks, Christopher |
From: Barry W. <ba...@if...> - 2004-08-25 13:49:11
|
Hi Christopher Check_icmp has to run with root privilledges so you need to chmod the = file to inherit the privilledges of the root user while running then = release them again after execution. It's very simple to do. If you need more info give me a shout ----- Original Message -----=20 From: Chr...@Da...=20 To: per...@li...=20 Sent: Wednesday, August 25, 2004 1:53 PM Subject: [Perfparse-users] Problems to use check_icmp and nagios 1.2 Hello,=20 I have problems to use the check_icmp with the nagios version 1.2, if = I change the host check_command from check_ping to check_icmp, I get the = message on the webinterface "Root access needed (for raw sockets)". = Additional I can't see any graph's in the menu "View and Graph Binary = Data". Has anybody a clue what's wrong with my configuration?=20 Thanks,=20 Christopher |
From: <Chr...@Da...> - 2004-08-25 12:53:52
|
Hello, I have problems to use the check_icmp with the nagios version 1.2, if I change the host check_command from check_ping to check_icmp, I get the message on the webinterface "Root access needed (for raw sockets)". Additional I can't see any graph's in the menu "View and Graph Binary Data". Has anybody a clue what's wrong with my configuration? Thanks, Christopher |
From: Ben C. <Be...@cl...> - 2004-08-24 14:59:02
|
Dear Ryan, I am glad you are having success using PerfParse. Sorry to say that there is no way of stopping this displaying without editing the code. I have given you the fix at the end of this email. However we will be adding an optional username/password authentication to the application at some time. I will make a note of your request so that when we do this, we can add this feature for you. If a user was allowed to access only a given list of Groups, would this satisfy your requirements? Regards, Ben. To fix, please edit the code cgi/cgi_raw_report.c Find the section of code starting: (Should be line 382) // Select group: Comment out or delete the section down to and including line 409. This should be all you need to do. Ryan Moreton wrote: > Hi, > > I've just installed perfparse and I'm very happy with the results. I wanted > to provide views to different customers. I've groups the customer devices > together but if I provide them with the following link > http://IPAddress/nagios/perfgraph.cgi?all_raw=1&group_name=Customer+1&inc=pe > rfdata%5Fhost%2Ehost%5Fname they get the drill down option to specify other > customers. > > Is there a way to stop displaying the drop down on the string of the URL? > > If not, is it possible to remove this drop down from the code and recompile > the CGI file? > > Many Thanks in advance, > > Ryan > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Ryan M. <rya...@dx...> - 2004-08-24 09:43:29
|
Hi, I've just installed perfparse and I'm very happy with the results. I wanted to provide views to different customers. I've groups the customer devices together but if I provide them with the following link http://IPAddress/nagios/perfgraph.cgi?all_raw=1&group_name=Customer+1&inc=pe rfdata%5Fhost%2Ehost%5Fname they get the drill down option to specify other customers. Is there a way to stop displaying the drop down on the string of the URL? If not, is it possible to remove this drop down from the code and recompile the CGI file? Many Thanks in advance, Ryan |
From: James O. <jo...@re...> - 2004-08-23 14:31:14
|
I have done that several times to no avail... here's the output: [root@mon-01 bin]# ./perfparse-db-tool --update [root@mon-01 bin]# ./perfparse-db-tool --reset_host_delete_policy mon-01 "UPDATE perfdata_host SET raw_delete_policy_type = 'template', bin_delete_policy_type = 'template', raw_delete_policy_name = 'Raw Default', bin_delete_policy_name = 'Bin Default' WHERE host_name = 'mon-01'" failed: Cannot add or update a child row: a foreign key constraint fails [root@mon-01 bin]# The linux version is fedora core 2 and mysql is 4.0.20-standard James -----Original Message----- From: Cook, Garry [mailto:GW...@ma...] Sent: Monday, August 23, 2004 6:48 AM To: James Ochs; per...@li... Subject: RE: [Perfparse-users] deletion policys James Ochs wrote: > I get this error everytime I try to update /create deletion policys > in the database: > > [root@mon-01 bin]# ./perfparse-db-tool --reset_host_delete_policy > test-wms-app "UPDATE perfdata_host SET raw_delete_policy_type = > 'template', bin_delete_policy_type = 'template', > raw_delete_policy_name = 'Raw Default', bin_delete_policy_name = 'Bin > Default' WHERE host_name = 'test-wms-app'" failed: > Cannot add or update a child row: a foreign key constraint fails > > Any ideas what is causing this? I have upgraded to perfparse > 0.99.09, and previously was running 99.07. I have been getting this > error since I first installed perfparse. There is currently no data > in the delete policy tables. > > James After upgrading, did you run the db update? You should run this command everytime you upgrade, just to make sure that any database changes are incorporated into your installation: /<path_to_nagios>/bin/perfparse-db-tool --update Try that, and then email the list with results. Please also include Linux Distro/Version and MySQL version. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Cook, G. <GW...@ma...> - 2004-08-23 13:48:13
|
James Ochs wrote: > I get this error everytime I try to update /create deletion policys > in the database:=20 >=20 > [root@mon-01 bin]# ./perfparse-db-tool --reset_host_delete_policy > test-wms-app "UPDATE perfdata_host SET raw_delete_policy_type =3D > 'template', bin_delete_policy_type =3D 'template', > raw_delete_policy_name =3D 'Raw Default', bin_delete_policy_name =3D = 'Bin > Default' WHERE host_name =3D 'test-wms-app'" failed: =20 > Cannot add or update a child row: a foreign key constraint fails >=20 > Any ideas what is causing this? I have upgraded to perfparse > 0.99.09, and previously was running 99.07. I have been getting this > error since I first installed perfparse. There is currently no data > in the delete policy tables. =20 >=20 > James After upgrading, did you run the db update? You should run this command everytime you upgrade, just to make sure that any database changes are incorporated into your installation: /<path_to_nagios>/bin/perfparse-db-tool --update =20 Try that, and then email the list with results. Please also include Linux Distro/Version and MySQL version. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: James O. <jo...@re...> - 2004-08-21 18:46:36
|
I get this error everytime I try to update /create deletion policys in the database: [root@mon-01 bin]# ./perfparse-db-tool --reset_host_delete_policy test-wms-app "UPDATE perfdata_host SET raw_delete_policy_type = 'template', bin_delete_policy_type = 'template', raw_delete_policy_name = 'Raw Default', bin_delete_policy_name = 'Bin Default' WHERE host_name = 'test-wms-app'" failed: Cannot add or update a child row: a foreign key constraint fails Any ideas what is causing this? I have upgraded to perfparse 0.99.09, and previously was running 99.07. I have been getting this error since I first installed perfparse. There is currently no data in the delete policy tables. James |
From: Cook, G. <GW...@ma...> - 2004-08-20 16:20:12
|
Paulo Afonso Graner Fessel wrote: > I've looked at code of check_nt.c and there's this remark: >=20 > // Changed divisor in following line from v to 3044515 to accurately > reflect memory size=20 >=20 > This is incorrect. The memory size that check_nt reports is a sum of > RAM and pagefile sizes, as defined here:=20 >=20 > "Commit Charge: In the Windows operating system, the name for the > amount of physical memory (RAM) and virtual memory that is allocated > to all running programs, or applications, and the operating system > itself. =20 >=20 > "Windows Task Manager displays the commit charge in its Performance > tab. There are three memory readings, measured in kilobytes:=20 >=20 > * Total: refers to the total amount of physical and virtual memory > the computer is using at that moment.=20 > * Limit: refers to the combined limit of both the physical memory and > the allocated virtual memory.=20 > * Peak: refers to the highest total system memory usage during the > session in which you are using the computer.=20 >=20 > "The commit charge will increase when applications are opened and > used and decrease when applications are closed."=20 OK, I probably should not have made that change, as I was really patching to add performance data. I guess I should know better and stick to changing one thing at a time. However, I did not find this information in the docuementation, and the original values for the MEMUSE check were quite confusing. The change that I made properly reported MEMUSE on my sytems, and as mentioned in the code comments, I was not sure that it was the correct thing to do. Is the information that you've provided above in the NSClient docs somewhere? If so, please let me know and I'll read them again. > So, dividing the memory collected by 3044515 is confusing, to say the > least, as what is shown by MEMUSE is actually the Commit Charge. > Dividing it by 3044515 assumes that we're using paging space that is > two times the size of Physical RAM - this was exactly the reasoning > used by a friend of mine, a Windows specialist. But he corrected > himself quickly and went to check the paging file size. It was 1.5x > the size of physical RAM and could grow up to 2x physical RAM, when > neccessary. But even this behavior may be changed by the user - > specifying a paging space that it's 3x the physical RAM, for exemple > - thus making the plugin output useless. =20 If MEMUSE is actually checking Commit Charge, then I think that the source of the confusion lies in the name of the check. Your point is still valid, and my change should be reversed to it's original value. However, I think that perhaps the name of the check needs to be updated as well, and details on how to actually check physical RAM should be included, if not already in the documentation. =20 > Another problem with this change is that the values returned by the > plugin are different that those shown on field "Commit Charge" on > Windows Task Manager, and this may confuse Windows SA's. =20 >=20 > Also, the original patch made by Gary Cook seems not to have > implemented warning and critical levels for performance counters. I > have an alternative implementation that does it, along with some > sanity checking of the parameters needed to use -v COUNTER. =20 > The patch I'm sending solve both issues: it restores the divisor to 1 > MB and implements warning and critical levels for performance > counters. Please evaluate. =20 I don't check any counters, so wouldn't have been able to test the addition of perfdata for these. Thanks for following up on that, if it works well I'm sure that it will add value to the plugin. =20 > []'s > Paulo >=20 > Paulo Afonso Graner Fessel > Administrador de Ambiente e Sistemas UNIX > pau...@pr... > OWT > Fone: +55 (11) 3038-6464 > Fax: +55 (11) 3038-6508 > http://www.primesys.com.br Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Ben C. <Be...@cl...> - 2004-08-20 08:05:02
|
There is a new version, 0.99.09. This is a stable release, containing only bug fixes from the last version. If you experience any problems, please let us know. Ben. |
From: Ben C. <Be...@cl...> - 2004-08-20 07:17:57
|
TmljaywNCg0KVGhhbmtzIGZvciB0aGUgYnVnIHJlcG9ydC4gIEknbGwgYmUgcmVsZWFzaW5n IGEgbmV3IHZlcnNpb24gaW4gdGhlIG5leHQgDQpmZXcgbWludXRlcyB3aXRoIGp1c3QgYnVn IGZpeGVzLiAgVGhpcyB3aWxsIGJlIGluY2x1ZGVkLg0KDQpSZWdhcmRzLCBCZW4uDQoNCktv cm9zaSwgTmljayB3cm90ZToNCj4gSSBhbHNvIGhhZCB0aGlzIGVycm9yIHdoZW4gY29tcGls ZWluZyBQZXJmUGFyc2U6DQo+IA0KPj5jZ2lfcmF3X3JlcG9ydC5jOiBJbiBmdW5jdGlvbiBg ZGlzcGxheVJhd0hpc3RvcnkiOg0KPj5jZ2lfcmF3X3JlcG9ydC5jOjQ5OiBzeW50YXggZXJy b3IgYmVmb3JlIGBpbnQiDQo+PmNnaV9yYXdfcmVwb3J0LmM6MjA4OiBgaVN0YXRlcyIgdW5k ZWNsYXJlZCAoZmlyc3QgdXNlDQo+PmluIHRoaXMgZnVuY3Rpb24pDQo+PmNnaV9yYXdfcmVw b3J0LmM6MjA4OiAoRWFjaCB1bmRlY2xhcmVkIGlkZW50aWZpZXIgaXMNCj4+cmVwb3J0ZWQg b25seSBvbmNlDQo+PmNnaV9yYXdfcmVwb3J0LmM6MjA4OiBmb3IgZWFjaCBmdW5jdGlvbiBp dCBhcHBlYXJzDQo+PmluLikNCj4+Y2dpX3Jhd19yZXBvcnQuYzozMTA6IHdhcm5pbmc6IHVz ZSBvZiBgbCIgbGVuZ3RoDQo+PmNoYXJhY3RlciB3aXRoIGBmIiB0eXBlIGNoYXJhY3Rlcg0K Pj4qKiogRXJyb3IgY29kZSAxDQo+IA0KPiANCj4gSSdtIG5vdCByZWFsbHkgYSBDIGNvZGVy LCBidXQgb24gYSB3aGltIEkgZWRpdGVkIGNnaV9yYXdfcmVwb3J0LmMgYW5kIGNoYW5nZWQg dGhlIG9yZGVyIG9mIHRoZXNlIHR3byBsaW5lcyBmcm9tOg0KPiBzQ0dJID0gZ19zdHJpbmdf c2l6ZWRfbmV3KFNRTF9TSVpFKTsNCj4gaW50IGlTdGF0ZXNbNF0gPSB7IDAsIDAsIDAsIDAg fTsNCj4gdG86DQo+IGludCBpU3RhdGVzWzRdID0geyAwLCAwLCAwLCAwIH07DQo+IHNDR0kg PSBnX3N0cmluZ19zaXplZF9uZXcoU1FMX1NJWkUpOw0KPiANCj4gSWYgc29tZWJvZHkgY291 bGQgZXhwbGFpbiB3aHkgdGhpcyB3b3JrZWQgZm9yIG1lLCBJJ2QgbGlrZSB0byBrbm93LiAg SSdtIGp1c3QgZ3Vlc3NpbmcgdGhhdCBhbGwgeW91ciBkZWNsYXJhdGlvbnMgbXVzdCBjb21l IGZpcnN0LCBidXQgaXQncyBiZWVuIGFib3V0IDggeWVhcnMgc2luY2UgSSd2ZSBkb25lIGFu eSAiaGVsbG8gd29ybGQiIHByb2dyYW1taW5nIGluIEMuDQo+ICANCj4gSSBob3BlIHRoaXMg aGVscHMsDQo+IE5pY2sNCj4gIA0KPiDvv73vv73vv73vv73vv73vv73vv73vv73vv73vv73v v73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73v v73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv70X77+9Xu+/vemailjv v73vv73vv70n77+977+977+9de+/ve+/ve+/ve+/vXjvv73vv70h77+977+9Ju+/vTB677+9 ae+/vSce77+9cGVqeQx52Jrvv71NKe+/vSon77+977+977+9D++/vXjvv73vv70r77+9eXLv v71v77+977+9TSnvv70qJ++/ve+/ve+/vQ/vv71f77+977+9J++/vS/vv73vv70m77+9e++/ ve+/ve+/ve+/ve+/vXrWou+/ve+/vcieT9Oid++/ve+/vVrvv715KGLvv73vv73vv73vv73v v73vv70W77+977+9Gifvv73vv70bbe+/ve+/ve+/ve+/vQzvv73vv70aKe+/vdec77+977+9 KO+/ve+/ve+/vSJ5I3rvv73vv71q77+9a++/ve+/vR7vv73vv73vv73vv71P77+977+9bznv v73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73v v73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv73vv716 77+977+9au+/vR7vv73vv70e77+9yZrvv71Y77+977+9WO+/ve+/ve+/vX7vv73vv73vv73v v73vv73vv73vv73vv71Y77+977+977+977+977+977+9ee+/vSvvv73vv73vv71677+9be+/ ve+/ve+/ve+/ve+/vWLvv73vv73vv73vv73vv73vv71x77+977+9B++/ve+/ve+/vX/vv70r Le+/ve+/vWLvv73Yp37vv73vv71677+977+9au+/vR7vv73vv70eDQo+IA0KDQo= |
From: Korosi, N. <NK...@in...> - 2004-08-20 03:43:58
|
SSBhbHNvIGhhZCB0aGlzIGVycm9yIHdoZW4gY29tcGlsZWluZyBQZXJmUGFyc2U6DQo+IGNnaV9y YXdfcmVwb3J0LmM6IEluIGZ1bmN0aW9uIGBkaXNwbGF5UmF3SGlzdG9yeSI6DQo+IGNnaV9yYXdf cmVwb3J0LmM6NDk6IHN5bnRheCBlcnJvciBiZWZvcmUgYGludCINCj4gY2dpX3Jhd19yZXBvcnQu YzoyMDg6IGBpU3RhdGVzIiB1bmRlY2xhcmVkIChmaXJzdCB1c2UNCj4gaW4gdGhpcyBmdW5jdGlv bikNCj4gY2dpX3Jhd19yZXBvcnQuYzoyMDg6IChFYWNoIHVuZGVjbGFyZWQgaWRlbnRpZmllciBp cw0KPiByZXBvcnRlZCBvbmx5IG9uY2UNCj4gY2dpX3Jhd19yZXBvcnQuYzoyMDg6IGZvciBlYWNo IGZ1bmN0aW9uIGl0IGFwcGVhcnMNCj4gaW4uKQ0KPiBjZ2lfcmF3X3JlcG9ydC5jOjMxMDogd2Fy bmluZzogdXNlIG9mIGBsIiBsZW5ndGgNCj4gY2hhcmFjdGVyIHdpdGggYGYiIHR5cGUgY2hhcmFj dGVyDQo+ICoqKiBFcnJvciBjb2RlIDENCg0KSSdtIG5vdCByZWFsbHkgYSBDIGNvZGVyLCBidXQg b24gYSB3aGltIEkgZWRpdGVkIGNnaV9yYXdfcmVwb3J0LmMgYW5kIGNoYW5nZWQgdGhlIG9yZGVy IG9mIHRoZXNlIHR3byBsaW5lcyBmcm9tOg0Kc0NHSSA9IGdfc3RyaW5nX3NpemVkX25ldyhTUUxf U0laRSk7DQppbnQgaVN0YXRlc1s0XSA9IHsgMCwgMCwgMCwgMCB9Ow0KdG86DQppbnQgaVN0YXRl c1s0XSA9IHsgMCwgMCwgMCwgMCB9Ow0Kc0NHSSA9IGdfc3RyaW5nX3NpemVkX25ldyhTUUxfU0la RSk7DQoNCklmIHNvbWVib2R5IGNvdWxkIGV4cGxhaW4gd2h5IHRoaXMgd29ya2VkIGZvciBtZSwg SSdkIGxpa2UgdG8ga25vdy4gIEknbSBqdXN0IGd1ZXNzaW5nIHRoYXQgYWxsIHlvdXIgZGVjbGFy YXRpb25zIG11c3QgY29tZSBmaXJzdCwgYnV0IGl0J3MgYmVlbiBhYm91dCA4IHllYXJzIHNpbmNl IEkndmUgZG9uZSBhbnkgImhlbGxvIHdvcmxkIiBwcm9ncmFtbWluZyBpbiBDLg0KIA0KSSBob3Bl IHRoaXMgaGVscHMsDQpOaWNrDQogDQo= |
From: Cook, G. <GW...@ma...> - 2004-08-18 21:34:46
|
Ton Voon is spending a lot of time this afternoon applying patches to plugins and updating CVS. Therefore, tomorrow might be a good time to check out the latest Plugins CVS tarball. I know that several of the patches that I've submitted have been used, so that's at least three more plugins that now support Performance Data output (check_disk, check_nt, and check_ifstatus). For more information on Performance Data and Plugins, check out the new 'Plugins' section at http://perfparse.sf.net/. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile)=20 |
From: Ton V. <to...@ma...> - 2004-08-18 19:51:49
|
Committed in CVS. Thanks On 16 Jun 2004, at 15:28, Cook, Garry wrote: > The check_ifstatus patch seems to output Performance Data incorrectly. > I've patched it and included the patch below. For future reference, > please let me know if I should submit this somewhere on sf.net, or if > sending to the list is ok. > Thanks. > > *** check_ifstatus.orig 2004-06-16 08:11:54.000000000 -0600 > --- check_ifstatus 2004-06-16 08:12:31.000000000 -0600 > *************** > *** 207,213 **** > $ifexclude, > $ifunused); > } > ! my $perfdata = > sprintf("up:%d,down:%d,dormant:%d,excluded:%d,unused:%d",$ifup,$ifdown, > $ > ifdormant,$ifexclude,$ifunused); > print ("$state: $answer |$perfdata\n"); > exit $ERRORS{$state}; > > --- 207,213 ---- > $ifexclude, > $ifunused); > } > ! my $perfdata = > sprintf("up=%d,down=%d,dormant=%d,excluded=%d,unused=%d",$ifup,$ifdown, > $ > ifdormant,$ifexclude,$ifunused); > print ("$state: $answer |$perfdata\n"); > exit $ERRORS{$state}; > > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code > NWMGYKND > _______________________________________________ > Nagiosplug-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel > ::: Please include plugins version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > |