![]() onreboot nostart, if you are interresting in the monitoring. Interfaces for ‘monitservices’ must be provided as used in the network config ( p.e. For example Remote Host SVNServe status Not monitored monitoring statusNot monitored monitoring. You will also need to set your sender-mail address in the ‘format’ field using the ‘monitalert’ module. The Sensu agent is a lightweight client that runs on the infrastructure components you want to monitor. Don’t forget to configure your mailing settings at the general monit page. ![]() In my onStartup i try to get all tags with this approach: dataItems = deviceContext.getSubscriptionModel().getDataItems(deviceContext.getName()) īut dataItems is always empty, i also tried to get the references but nothing worked out. I am setting up a server and have just installed 'monit' to monitor processes and restart them (and alert me) when certain conditions are met. Example Sensu agent configuration file (download). Instead i want that the tags work without dragging the device again and again into the tag browser. This is because i always create new instances of folders and tags in my module. check process mytest with pidfile /tmp/myscript.pid start '/bin/su - pi -c cd /home/pi /usr/bin/python3 test.py > /tmp/view.log 2>&1 &' stop '/usr/bin/killall python3' if does not exist for 3 cycles then exec '/bin/su - pi -c cd /home/pi /usr/bin/python3 myalert. When i enable the device, i have to delete it in the Tag Browser in the designer and put it in again so that the tags and folders are updating. When the device gets disabled, all tags are set to bad quality. When a device is running, folders and tags are created. I am developing a custom module based on the OPC UA device example.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |