Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Alter maddash values

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Alter maddash values


Chronological Thread 
  • From: Andrew Lake <>
  • To: Murilo Vetter <>
  • Cc: perfsonar-user <>
  • Subject: Re: [perfsonar-user] Alter maddash values
  • Date: Fri, 12 Apr 2019 06:56:56 -0700

Hi Murilo,

That looks correct, is your psconfig-maddash-agent running? If that is down then your dashboard won’t get updated with the change. You can try “systemctl restart psconfig-maddash-agent”. You can also check /var/log/perfsonar/psconfig-maddash-agent.log” for any errors it encountered updating your dashboard. 

Thanks,
Andy


On April 11, 2019 at 1:33:30 PM, Murilo Vetter () wrote:


Hi Andy,

I applied the command but the values didn't change. Look bellow:

# psconfig maddash-grid edit --name default_throughput --check-critical-threshold .5 --check-warning-threshold .9
Replaced existing grid default_throughput

# psconfig maddash-grid list --name default_throughput
{
   "default_throughput" : {
      "priority" : {
         "group" : "throughput",
         "level" : 1
      },
      "check" : {
         "critical-threshold" : ".5",
         "type" : "ps-nagios-throughput",
         "warning-threshold" : ".9"
      },
      "visualization" : {
         "type" : "ps-graphs"
      },
      "display-name" : "Throughput"
   }
}
[root@dpd-prod-monipe-central ~]# psconfig maddash-check-plugins --defaults --type ps-nagios-throughput
ps-nagios-throughput:
{
   "critical-threshold" : ".5",
   "report-yaml-file" : "/usr/lib/perfsonar/psconfig/reports/ps-nagios-throughput-report.yaml",
   "warning-threshold" : "1",
   "retry-attempts" : 1,
   "params" : {
      "tool" : "",
      "agent" : "",
      "time-range" : "86400"
   },
   "check-interval" : "PT4H",
   "retry-interval" : "PT5M",
   "timeout" : "PT60S"
}

I was expecting to see in maddash matrix the new values. But still like this:


Regards,

--

 

Murilo Vetter
Analista REMEP-FLN/PoP-SC
PoP-SC - Ponto de Presença da RNP em Santa Catarina
REMEP-FLN - Rede Metropolitana de Educação e Pesquisa da Região de Florianópolis
RNP - Rede Nacional de Ensino e Pesquisa
UFSC - Universidade Federal de Santa Catarina
SETIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação
Fundações de Apoio FEESC e FEPESE
--/--

www.pop-sc.rnp.br
remep.pop-sc.rnp.br
CHAMADOS:

+55(48)3721-3000
INOC: 11242*100



De: "Andrew Lake" <>
Para: "perfsonar-user" <>, "Murilo Vetter" <>
Enviadas: Quinta-feira, 11 de abril de 2019 13:08:11
Assunto: Re: [perfsonar-user] Alter maddash values

It looks like you copy/pasted the wrong command. The “psconfig maddash-check-plugins” simply shows information about various plug-ins, it doesn’t edit anything. Looks like it silently ignored your extra “--check-criticalthreshold” and “--check-warning-threshold”options which are not valid for that command.

What you want is the “psconfig maddash-grid edit” command detailed in that document. For example:

psconfig maddash-grid edit --name default_throughput --check-critical-threshold .5 --check-warning-threshold .9

If you do a "psconfig maddash-grid list --name default_throughput” you should see your new thresholds.

Hope that helps,

Andy



On April 11, 2019 at 11:39:29 AM, Murilo Vetter () wrote:
Hi list,

I have this matrix that are configure at:

For instance, I would like to change the warnings values of Throughput.
I read the documentation at:

I tried to apply this command:
# psconfig maddash-check-plugins --defaults --type ps-nagios-throughput --check-critical-threshold .5 --check-warning-threshold .9




I was expecting to change the limit values on interface but it did not take effect.

I checked some configuration with the command bellow and it shows that it is still using 1Gbps as warning threashold.
[root@dpd-prod-monipe-central ~]# psconfig maddash-check-plugins --defaults --type ps-nagios-throughput
ps-nagios-throughput:
{
   "critical-threshold" : ".5",
   "report-yaml-file" : "/usr/lib/perfsonar/psconfig/reports/ps-nagios-throughput-report.yaml",
   "warning-threshold" : "1",
   "retry-attempts" : 1,
   "params" : {
      "tool" : "",
      "agent" : "",
      "time-range" : "86400"
   },
   "check-interval" : "PT4H",
   "retry-interval" : "PT5M",
   "timeout" : "PT60S"
}

My question, how to change correctlly these values to take effect in the interface?

Regards.

--

 

Murilo Vetter
Analista REMEP-FLN/PoP-SC
PoP-SC - Ponto de Presença da RNP em Santa Catarina
REMEP-FLN - Rede Metropolitana de Educação e Pesquisa da Região de Florianópolis
RNP - Rede Nacional de Ensino e Pesquisa
UFSC - Universidade Federal de Santa Catarina
SETIC - Superintendência de Governança Eletrônica e Tecnologia da Informação e Comunicação
Fundações de Apoio FEESC e FEPESE
--/--

www.pop-sc.rnp.br
remep.pop-sc.rnp.br
CHAMADOS:
 
+55(48)3721-3000
INOC: 11242*100

-- 
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user 



Archive powered by MHonArc 2.6.19.

Top of Page