Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] Display grids in maddash server after update pSConfig Templates

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] Display grids in maddash server after update pSConfig Templates


Chronological Thread 
  • From: Tadeja Saje <>
  • To:
  • Subject: [perfsonar-user] Display grids in maddash server after update pSConfig Templates
  • Date: Fri, 13 Sep 2019 12:00:11 +0200

Hello.
Days ago I added a new measuring points in mesh.json and updated pSConfig Templates (mesh.json). The measurement list is updated in the archive.
I'm having trouble displaying in maddash server.
When I updated mesh.json (URL) the archive was updated, the number of measurement points in the grid did not update.
Then I restarted maddash server and then no grids are displayed.

mesh.json:
{
"archives": {
"example-archive-central": {
"archiver": "esmond",
"data": {
"url":
"https://archive-nekja.si/esmond/perfsonar/archive/";,
"measurement-agent": "{% scheduled_by_address
%}"
}
}
},

"addresses": {
"mp-tpl-nwka.si": {
"address": "mp-tpl-pf1.nekaj.si"
},
"mp-tpl-pf2.arnes.si": {
"address": "mp-tpl-pf2.arnes.si"
},
"mp-ijs-pf1.arnes.si": {
"address": "mp-ijs-pf1.arnes.si"
},
"mp-ijs-pf2.arnes.si": {
"address": "mp-ijs-pf2.arnes.si"
}

},

"groups": {
"example-group-mesh": {
"type": "mesh",
"addresses": [{
"name": "mp-tpl-nwka.si"
},
{
"name": "mp-tpl-pf2.arnes.si"
},
{
"name": "mp-ijs-pf1.arnes.si"
},
{
"name": "mp-ijs-pf2.arnes.si"
}

]
}
},

"tests": {
"example-test-throughput": {
"type": "throughput",
"spec": {
"ip-version": 4,
"source": "{% address[0] %}",
"dest": "{% address[1] %}",
"duration": "PT60S"
}
},
"example-test-throughput_ipv6": {
"type": "throughput",
"spec": {
"ip-version": 6,
"source": "{% address[0] %}",
"dest": "{% address[1] %}",
"duration": "PT60S"
}
},

"example-test-latencybg": {
"type": "latencybg",
"spec": {
"ip-version": 4,
"source": "{% address[0] %}",
"dest": "{% address[1] %}"
}
},
"example-test-latencybg_ipv6": {
"type": "latencybg",
"spec": {
"ip-version": 6,
"source": "{% address[0] %}",
"dest": "{% address[1] %}"
}
},
"example-test-trace": {
"type": "trace",
"spec": {
"ip-version": 4,
"source": "{% address[0] %}",
"dest": "{% address[1] %}"
}
},
"example-test-trace_ipv6": {
"type": "trace",
"spec": {
"ip-version": 6,
"source": "{% address[0] %}",
"dest": "{% address[1] %}"
}
}
},


"schedules": {
"example-schedule-PT1H": {
"repeat": "PT1H",
"sliprand": true,
"slip": "PT1H"
},
"example-schedule-PT10M": {
"repeat": "PT10M",
"sliprand": true,
"slip": "PT10M"
}
},


"tasks": {
"example-task-throughput": {
"group": "example-group-mesh",
"test": "example-test-throughput",
"schedule": "example-schedule-PT1H",
"archives": ["example-archive-central"]
},
"example-task-throughput_ipv6": {
"group": "example-group-mesh",
"test": "example-test-throughput_ipv6",
"schedule": "example-schedule-PT1H",
"archives": ["example-archive-central"]
},

"example-task-latencybg": {
"group": "example-group-mesh",
"test": "example-test-latencybg",
"archives": ["example-archive-central"]
},
"example-task-latencybg_ipv6": {
"group": "example-group-mesh",
"test": "example-test-latencybg_ipv6",
"archives": ["example-archive-central"]
},
"example-task-trace": {
"group": "example-group-mesh",
"test": "example-test-trace_",
"schedule": "example-schedule-PT10M",
"archives": ["example-archive-central"]
},
"example-task-trace_ipv6": {
"group": "example-group-mesh",
"test": "example-test-trace_ipv6",
"schedule": "example-schedule-PT10M",
"archives": ["example-archive-central"]
}
}
}

psconfig-maddash-agent.log
2019/09/12 11:00:21 INFO pid=1952 prog=main:: line=176 guid=C025B3F6-D53B-11E9-98B0-2DCAAD9AE80C msg=Running agent...
2019/09/12 11:00:21 ERROR pid=1952 prog=perfSONAR_PS::PSConfig::BaseAgent::_process_psconfig line=412 guid=C025B3F6-D53B-11E9-98B0-2DCAAD9AE80C config_url=https://192.168.3134/psconfig/skeleton.json config_src=remote msg=Error loading psconfig: Connection refused
2019/09/12 11:00:21 INFO pid=1952 prog=perfSONAR_PS::PSConfig::MaDDash::Agent::_save_maddash_yaml line=1029 guid=C025B3F6-D53B-11E9-98B0-2DCAAD9AE80C config_url=https://192.168.3.34/psconfig/skeleton.json config_src=remote maddash_yaml_file=/etc/maddash/maddash-server/maddash.yaml msg=Successfully generated a new MaDDash configuration
2019/09/12 11:00:21 INFO pid=1952 prog=main:: line=178 guid=C025B3F6-D53B-11E9-98B0-2DCAAD9AE80C msg=Agent completed running
2019/09/12 11:00:21 INFO pid=1952 prog=main:: line=186 guid=C025B3F6-D53B-11E9-98B0-2DCAAD9AE80C msg=Time until next record refresh is 3600 seconds
2019/09/12 12:00:21 INFO pid=1952 prog=main:: line=176 guid=22272A96-D544-11E9-98B0-2DCAAD9AE80C msg=Running agent...
2019/09/12 12:00:23 INFO pid=1952 prog=perfSONAR_PS::PSConfig::MaDDash::Agent::_run_handle_psconfig line=388 guid=22272A96-D544-11E9-98B0-2DCAAD9AE80C task_name=Dashboard 1 - example-task-trace_ipv6 config_url=https://192.168.3.34/psconfig/skeleton.json config_src=remote viz_type=ps-traceroute-viewer check_type=ps-nagios-traceroute grid_name=Dashboard 1 - Dashboard 1 - example-task-trace_ipv6 - Path Count msg=Grid added
2019/09/12 12:00:24 INFO pid=1952 prog=perfSONAR_PS::PSConfig::MaDDash::Agent::_run_handle_psconfig line=388 guid=22272A96-D544-11E9-98B0-2DCAAD9AE80C task_name=Dashboard 1 - example-task-latencybg config_url=https://192.168.3.34/psconfig/skeleton.json config_src=remote viz_type=ps-graphs check_type=ps-nagios-loss grid_name=Dashboard 1 - Dashboard 1 - example-task-latencybg - Loss msg=Grid added
2019/09/12 12:00:27 INFO pid=1952 prog=perfSONAR_PS::PSConfig::MaDDash::Agent::_run_handle_psconfig line=388 guid=22272A96-D544-11E9-98B0-2DCAAD9AE80C task_name=Dashboard 1 - example-task-throughput_ipv6 config_url=https://192.168.3.34/psconfig/skeleton.json config_src=remote viz_type=ps-graphs check_type=ps-nagios-throughput grid_name=Dashboard 1 - Dashboard 1 - example-task-throughput_ipv6 - Throughput msg=Grid added
2019/09/12 12:00:29 INFO pid=1952 prog=perfSONAR_PS::PSConfig::MaDDash::Agent::_run_handle_psconfig line=388 guid=22272A96-D544-11E9-98B0-2DCAAD9AE80C task_name=Dashboard 1 - example-task-latencybg_ipv6 config_url=https://192.168.3.34/psconfig/skeleton.json config_src=remote viz_type=ps-graphs check_type=ps-nagios-loss grid_name=Dashboard 1 - Dashboard 1 - example-task-latencybg_ipv6 - Loss msg=Grid added
2019/09/12 12:00:31 INFO pid=1952 prog=perfSONAR_PS::PSConfig::MaDDash::Agent::_run_handle_psconfig line=388 guid=22272A96-D544-11E9-98B0-2DCAAD9AE80C task_name=Dashboard 1 - example-task-throughput config_url=https://192.168.3.34/psconfig/skeleton.json config_src=remote viz_type=ps-graphs check_type=ps-nagios-throughput grid_name=Dashboard 1 - Dashboard 1 - example-task-throughput - Throughput msg=Grid added
2019/09/12 12:00:31 ERROR pid=1952 prog=main::__ANON__ line=131 guid=22272A96-D544-11E9-98B0-2DCAAD9AE80C msg=Died: Can't call method "data" on an undefined value at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/PSConfig/MaDDash/Agent.pm line 218.



Archive powered by MHonArc 2.6.19.

Top of Page