From: <nu...@ts...> - 2005-03-23 21:53:45
|
I have created some of my own plugins and I'm unable to see the data in perfparse when I want to create a graph. # /usr/local/nagios/libexec/check_cmlicense -w 10 -c 0 OK - ChangeSynergy(2/31) CM_Synergy(10/42) |SWMLIC ChangeSynergy=2;21;31;0;31 CM_Synergy=10;32;42;0;42 Is it because of the multiple items that are in the perfdata section? Check_disk does the same methodology. # check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 DISK OK - free space: /var 8364 MB (83%); /tmp 12784 MB (100%);| /var=8364MB;9076;9580;0;10085 /tmp=12783MB;11517;12157;0;12797 perfdata_service : 1 Record perfdata_service_bin : 0 Records perfdata_service_metric : 0 Records perfdata_service_raw : 11 records Do you have to enable it somehow? Again thanks for the help. Steve Nagios 2.x FedoraCore3 |
From: Yves M. <yme...@li...> - 2005-03-24 10:44:03
|
> I have created some of my own plugins and I'm unable to see the data in > perfparse when I want to create a graph. > > # /usr/local/nagios/libexec/check_cmlicense -w 10 -c 0 > OK - ChangeSynergy(2/31) CM_Synergy(10/42) |SWMLIC > ChangeSynergy=3D2;21;31;0;31 CM_Synergy=3D10;32;42;0;42 > > Is it because of the multiple items that are in the perfdata section? > Check_disk does the same methodology. I don't think so. But if you don't mind, change your plugin to put only o= ne item and see if something changes. Just a check for paranoid people like me :) Also try to put a unit, like '%' or 'MB'. Working better ? :) > # check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 > DISK OK - free space: /var 8364 MB (83%); /tmp 12784 MB (100%);| > /var=3D8364MB;9076;9580;0;10085 /tmp=3D12783MB;11517;12157;0;12797 > > perfdata_service : 1 Record > perfdata_service_bin : 0 Records > perfdata_service_metric : 0 Records > perfdata_service_raw : 11 records > > Do you have to enable it somehow? Again thanks for the help. Oh, yes, in nagios maybe ? :) But if nagios runs it, it sends the data to perfparse. And there is need = to enable it in perfparse. Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |
From: Yves <yme...@pe...> - 2005-03-24 10:44:03
|
> I have created some of my own plugins and I'm unable to see the data in > perfparse when I want to create a graph. > > # /usr/local/nagios/libexec/check_cmlicense -w 10 -c 0 > OK - ChangeSynergy(2/31) CM_Synergy(10/42) |SWMLIC > ChangeSynergy=3D2;21;31;0;31 CM_Synergy=3D10;32;42;0;42 > > Is it because of the multiple items that are in the perfdata section? > Check_disk does the same methodology. I don't think so. But if you don't mind, change your plugin to put only o= ne item and see if something changes. Just a check for paranoid people like me :) Also try to put a unit, like '%' or 'MB'. Working better ? :) > # check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 > DISK OK - free space: /var 8364 MB (83%); /tmp 12784 MB (100%);| > /var=3D8364MB;9076;9580;0;10085 /tmp=3D12783MB;11517;12157;0;12797 > > perfdata_service : 1 Record > perfdata_service_bin : 0 Records > perfdata_service_metric : 0 Records > perfdata_service_raw : 11 records > > Do you have to enable it somehow? Again thanks for the help. Oh, yes, in nagios maybe ? :) But if nagios runs it, it sends the data to perfparse. And there is need = to enable it in perfparse. Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |
From: Steve G. <st...@ls...> - 2005-03-28 19:22:39
|
On Wed, Mar 23, 2005 at 03:53:36PM -0600, nu...@ts... wrote: > I have created some of my own plugins and I'm unable to see the data in > perfparse when I want to create a graph. > > # /usr/local/nagios/libexec/check_cmlicense -w 10 -c 0 > OK - ChangeSynergy(2/31) CM_Synergy(10/42) |SWMLIC > ChangeSynergy=2;21;31;0;31 CM_Synergy=10;32;42;0;42 You've got a space in the first parameter, it appears: SWMLIC ChangeSynergy You need to quote it ("SWMLIC ChangeSynergy"), or use an underscore, or some other "non-space" type thingy. Steve -- "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next. -- (Stolen from the net) |