Thruk create a service - shelly-tools/check_shelly GitHub Wiki

create Shelly Health service

Select services from the tabs and click "Create Service"

select_service

add service

Fill in the appropriate attributes:

create_services

save to: /shelly_service.cfg

hostname: select the device you previously added

use: generic-service, srv-perf

check_command: check_shelly (our previously added command)

add check_interval attribute

Then click "add new attribute". From the popup select the "check_interval" attribute.

check_interval

Then click finish. You should see the the newly added attribute on the service configuration, add the value 1 (check is executed every minute).

added_interval

Once you added the value click apply

apply all changes

We now created a check_command, a host and a service. Let's apply all changes and test it..

Click apply in the tabs section: added_interval

Then click** "save your changes to disk"**, then "check your configuration changes".

If there's just a warning and no error everything went well.

validate_config_changes

(the above warning is no problem, it's just we haven't added contacts to be notified in case of a faulty check result).

Now click "Reload the monitoring Core"