How to add the chart of "voltage fluctuations per core" in Netdata monitoring the status of Raspberry Pi 3A+ - raspberry-pi3

I am monitoring the status of my RPi 3A+ while running different applications on the Pi via Netdata monitoring agent.
I want to study about the variations in the per core voltage while executing a particular application on netdata .
I followed the instructions given in the page:
https://learn.netdata.cloud/docs/agent/collectors/charts.d.plugin/sensors
But after restarting netdata, I am not abe to see the voltage chart addition.
I'd really appreciate the help
Thanks!

The doc that you linked is obsolete. Use https://learn.netdata.cloud/docs/agent/collectors/python.d.plugin/sensors , meaning you should configure python.d/sensors.conf
This said, charts should be generated dynamically, so I would check your netdata error.log for any problems and make sure you are running the latest version.

Related

How to run RASA Server in multi thread mode using gunicorn

The Rasa server is running fine on the server using single thread.
python -m rasa_nlu.server --path projects --emulate dialogflow --response_log logs
I am trying to run it on the server and would like to enable multi-threading.
As per RASA documentation,(https://nlu.rasa.com/0.8.12/http.html)
I am trying to run below command.
gunicorn -w 4 --threads 12 -k gevent -b 127.0.0.1:5000 rasa_nlu.wsgi
This gives me below error.
Please suggest.
This is no longer possible, the Rasa documentation you are pointing to is for version 0.8 they are now on version 0.12. There are several factors contributing to why support for this was removed, primarily:
High memory usage for language models
Move from Flask to Klein for asynchronous training
Here's a Github issue with some more information: https://github.com/RasaHQ/rasa_nlu/issues/793
If you were going for higher overall throughput of /parse requests then the recommendation is to use Docker combined with nginx to run multiple instances on the same server - if the server is large enough to handle it - or run multiple smaller instances, still with an nginx reverse proxy.
Note that training has already been moved into separate processes. The number of processes available for training can be set with the --max_training_processes argument. Also some components of the Rasa pipeline support multiple threads. The number of threads available to these pipeline components can be set with the --num_threads argument.

Mesophere cluster with nodes of different operating systems

I want to setup a Mesophere cluster (mesos, dc/os, marathon) for running different jobs. The nodes which these jobs run on depend on the nature of the job. For e.g a job with C# code will run on a windows node. A job with pure C++ will run on Ubuntu or freebsd and so on. Each of these can again be a cluster. ie I want to have, lets say, 2 windows nodes and 4 ubuntu nodes. So I would like to know:
Can this be achieved in a single deployment ? Or do i need to setup different clusters for reach environment i want , one for windows, one for Ubuntu etc.
Regradless of a single hybrid or multiple environments, does mesos provide granularity of what the nodes send back. i.e I dont want to see high level status like job failed or running etc. My jobs write stats to a file on the system and i want to relay this back to the "main UI" or the layer that is managing all this
Can this be achieved in a single deployment?
If you want to use DCOS, currently offical just support centos/redhat, for ubuntu, you need to use at least 1604, which use systemd not old upstart of ubuntu. But afaik, windows is not support in DCOS.
So for your scenario, you had to use mesos directly not to use dcos, then with one cluster, you can set different mesos agent on ubuntu or windows. And you may add role or attribute when agent register to mesos master, so the framework can distinguish when dispatch job to proper agent.
BTW, for windows, you had to use at least 1.3.0 mesos which support windows, and you had to build it on windows using microsoft visual studio by yourself.
Does mesos provide granularity of what the nodes send back?
Yes, but you can not use default command executor, you need to write your own executor.
In your executor, you can set the value which you want to send back:
update = mesos_pb2.TaskStatus()
update.task_id.value = task.task_id.value
update.state = mesos_pb2.TASK_RUNNING
update.data = 'data with a \0 byte'
driver.sendStatusUpdate(update)
In your framework, you can receive it as follows:
def statusUpdate(self, driver, update):
slave_id, executor_id = self.taskData[update.task_id.value]
Here is an example I found from github which may help you about how to send your own data back.

Concerning health cloudera hadoop (network interface speed)

I am new in that area and have some problems with my hadoop cluster.
I fixed many health issues but health of my hosts is still "concerning" (still yellow and not "green", unfortunately). Can this depend on the fact that my hosts are connected through an old switch with a speed of 100 Mbps? Network cards of almost all servers support 1000 Mbps.
In the recommendation for resolving this error, it's was advised checking the duplex options. It would have "concerning health" if the all of my hosts working on half-duplex mode, but i've check it and they all have full-duplex mode.
Screen of Network Interface speed issue:
About Cluster installation options that i choose (if need):
1) Use Packages;
2) CDH5;
3) CDH 5.13.0.
P.S. How much does "concerning health" of hosts affect their work? Can I run complex tasks on them? I've just used the test WordCount and calculating the Pi - and they were successful.
+1 to #cricket_007's comments. If you consider the Reference Architecture for Deploying
CDH 5.X ON RED HAT OSP 11 as a typical deployment you'll see that the ideal network configuration is 10 Gigabit Ethernet (10GbE).
Most of Cloudera Manager's warnings are meant for production-level clusters.

Sensu AWS plugin to get ec2-metrics which are under a load balancer

I have been trying to write a aws sensu plugin which will get the instance id's of all the healthy instances which are under a load balancer and then get the stats for each of the instances like CPU Utilization Network In and Network Out etc and using graphite and graphane generate graphs.
I was searching the open source plugins in the sensu community, I could not find any. Is it possible write the script or plugin for this. Or anyone has done it before??
Kindly help me out
I don't believe a Sensu-specific plugin exists for this. However, since Sensu can run any Nagios plugin, you could use one of those: This one looks like it would get basic information on how many hosts are healthy. You could also write your own plugin using your language of choice (check out the available SDKs) to get more detailed metrics for each of the instances.
I wrote a plugin to do the same. It use to work fine then. I have testing on newer version of API. Let me know if you face any problem. I will help to fix the same.

Master node needs to execute mdpboot everytime after fresh restart of system

I have to explicitly boot all the processor nodes every time when my master system restarts
i.e
mdpboot -n 3
P.S
I am implementing beowulf cluster
Try updating to a new version of MPICH. MPD is quite old and hasn't been supported for some time. The newer versions use Hydra which doesn't require booting.

Resources