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: Antoine Delvaux <>
  • To: Murilo Vetter <>
  • Cc: Andrew Lake <>, perfsonar-user <>
  • Subject: Re: [perfsonar-user] Alter maddash values
  • Date: Sat, 13 Apr 2019 07:30:39 +0000

Hi Murilo,

When changing that file you usually also need to force reload it in your browser. You can do so by accessing it directly through http://url-of-your-maddash/maddash-webui/etc/config.json

Hope this helps,

-- Antoine --

Le 12 avr. 2019 à 20:57, Murilo Vetter <> a écrit :

Hi Andrew,

Another question. I tried to change maddash webui title "My perfSONAR Dashboard" at /etc/maddash/maddash-webui/config.json and restarted the service:

# systemctl restart maddash-server.service
# systemctl restart psconfig-maddash-agent.service


But it didn't change.

How to change it?


Regards,

--


<assinatura_pop.jpg>


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: "Murilo Vetter" <>
Para: "Andrew Lake" <>
Cc: "perfsonar-user" <>
Enviadas: Sexta-feira, 12 de abril de 2019 16:30:09
Assunto: Re: [perfsonar-user] Alter maddash values

Nice man, now things seem starting to work.

Regards,

--
<assinatura_pop.jpg>


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: "Murilo Vetter" <>
Cc: "perfsonar-user" <>
Enviadas: Sexta-feira, 12 de abril de 2019 14:26:47
Assunto: Re: [perfsonar-user] Alter maddash values

Hi,

It will take some time for the color to change. Specifically the next time the check runs. If you click on a box you should see “Next Check:” followed by a date and time which tells you when it is scheduled to run again.

Andy 


On April 12, 2019 at 1:24:06 PM, Murilo Vetter () wrote:

Hi Andy,

Now It worked! Thanks.

But I have another question, the color cell takes effect in the moment I restart the service or does it take some time to change?

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: "Murilo Vetter" <>
Cc: "perfsonar-user" <>
Enviadas: Sexta-feira, 12 de abril de 2019 10:56:56
Assunto: Re: [perfsonar-user] Alter maddash values

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:

<84902BBB-6310-4161-A54F-84409700373F.png>

Regards,

--
<26F10EFA-E754-4F2D-869F-6D948A9DE51B.jpeg>

 

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 



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



Archive powered by MHonArc 2.6.19.

Top of Page