diff --git a/doc/reference/ipdevpoll.rst b/doc/reference/ipdevpoll.rst index 215de17198..64f20d5a12 100644 --- a/doc/reference/ipdevpoll.rst +++ b/doc/reference/ipdevpoll.rst @@ -9,41 +9,7 @@ intervals. These jobs are fully user-configurable. Usage ===== -:: - - usage: ipdevpolld [-h] [--version] [-f] [-s] [-j] [-p] [-J JOBNAME] - [-n NETBOX] [-m [WORKERS]] [-M JOBS] [-P] [--capture-vars] - [-c] [--threadpoolsize COUNT] [--worker] - - optional arguments: - -h, --help show this help message and exit - --version show program's version number and exit - -f, --foreground run in foreground instead of daemonizing - -s, --log-stderr log to stderr instead of log file - -j, --list-jobs print a list of configured jobs and exit - -p, --list-plugins load and print a list of configured plugins - -J JOBNAME run only JOBNAME jobs in this process - -n NETBOX, --netbox NETBOX - Run JOBNAME once for NETBOX. Also implies -f and -s - options. - -m [WORKERS], --multiprocess [WORKERS] - Run ipdevpoll in a multiprocess setup. If WORKERS is - not set it will default to number of cpus in the - system - -M JOBS, --max-jobs-per-worker JOBS - Restart worker processes after completing JOBS jobs. - (Default: Don't restart) - -P, --pidlog Include process ID in every log line - --capture-vars Capture and print locals and globals in tracebacks - when debug logging - -c, --clean cleans/purges old job log entries from the database - and then exits - --threadpoolsize COUNT - the number of database worker threads, and thus db - connections, to use in this process - --worker Used internally when lauching worker processes - - This program runs SNMP polling jobs for IP devices monitored by NAV +.. program-output:: ipdevpolld --help Manually running a job for a given netbox -----------------------------------------