#!/bin/sh # # OpenWISP Monitoring Daemon show_help() { printf "Usage:\n" printf " openwisp-monitoring [OPTIONS...]\n" printf "\n" printf "Runs OpenWISP Monitoring Agent for collecting and sending data.\n" printf "\n" printf "General options:\n" printf " -h, --help\t\t\t\t: Show this help text\n" printf " -v, --version\t\t\t\t: Shows version of the agent.\n" printf " --mode \t\t: Mode for running Monitoring Agent.\n" printf "OpenWISP Config options:\n" printf " --url \t\t\t: URL of the OpenWISP server.\n" printf " --uuid \t\t\t\t: UUID of the device.\n" printf " --key \t\t\t\t: Key for the device.\n" printf " --verify_ssl <0, 1>\t\t\t: Whether SSL Authentication should be enabled or not.\n" printf "OpenWISP Monitoring Config options:\n" printf " --interval