Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- platform: command_line
- name: 'Sonarr Online'
- command: response=$(curl -LIk -m 3 http://192.168.3.25:2939 -o /dev/null -w "%{http_code}\n" -s); test "$response" -ge 200 && echo "Online" || echo "Offline"
- scan_interval: 90
- value_template: '{{ value }}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement