Subject: |
RE: zenhub and zenpython performance graphs |
Author: |
Jane Curry |
Posted: |
2017-08-15 10:20 |
You can find the type of each datapoint in the ZenPack in service_definition/service.json (with apologies for formatting - cant work out how to include code blocks in the forum):
"MonitoringProfile": {
"MetricConfigs": [
{
"ID": "zenpython",
"Name": "zenpython internal metrics",
"Description": "zenpython internal metrics",
"Metrics": [
{
"ID": "devices",
"Name": "Devices",
"Description": "Number of devices being collected.",
"Counter": false,
"Unit": "Count"
},
{
"ID": "dataPoints",
"Name": "Datapoints",
"Description": "Number of datapoints collected per second.",
"Counter": true,
"Unit": "Datapoints/sec"
},
{
"ID": "eventCount",
"Name": "Event Count",
"Description": "Number of events sent per second.",
"Counter": true,
"Unit": "Events/sec"
}, {
"ID": "discardedEvents",
"Name": "Discarded Events",
"Description": "Number of events discarded per second.",
"Counter": true,
"Unit": "Events/sec"
},
{
"ID": "eventQueueLength",
"Name": "Event Queue Length",
"Description": "The number of events pending to be flushed from a daemon's memory queue.",
"Counter": false,
"Unit": "Events"
},
{
"ID": "taskCount",
"Name": "Task Count",
"Description": "Total number of configured tasks.",
"Counter": false,
"Unit": "Tasks"
},
{
"ID": "runningTasks",
"Name": "Running Tasks",
"Description": "Number of tasks in the running state.",
"Counter": false,
"Unit": "Tasks"
},
{
"ID": "queuedTasks",
"Name": "Queued Tasks",
"Description": "Number of tasks queued waiting to be run.",
"Counter": false,
"Unit": "Tasks"
},
{
"ID": "missedRuns",
"Name": "Missed Runs",
"Description": "Number of tasks that missed their scheduled run time.",
"Counter": true,
"Unit": "Runs"
},
{
"ID": "percentBlocked",
"Name": "Percent Blocked",
"Description": "Percent of the time blocked by plugin code execution.",
"Counter": true,
"Unit": "percent"
}
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------
Subject: |
RE: zenhub and zenpython performance graphs |
Author: |
Jane Curry |
Posted: |
2017-08-15 11:07 |
Has anyone done this and tried adding a threshold? I have configured thresholds on zenperfsnmp.dataPoints and on zenpython.dataPoints. I see threshold events for the zenperfsnmp one but not for zenpython - and the datapoint values definitely indicate that a threshold should have occurred.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------