#!/usr/bin/env php
%n USAGE: snmpdump.php [-cqdV] -h device [-f filename] EXAMPLE: ./scripts/snmpdump.php -c -h Show snmpwalk commands for make snmpdump specific device (exist in db) ./scripts/snmpdump.php -h Make snmpdump for specific device (exist in db) to file .snmpwalk ./scripts/snmpdump.php -h Make snmpdump for specific hostname with v2 community to file .snmpwalk Can use snmp v1/2c/3 auth params same as for ./add_device.php OPTIONS: -h | Device hostname or id (required). -f Filename for store snmpdump (default: .snmpwalk). For write to stdout use -f stdout -c Show snmpwalk commands for self run. -o Start Numeric Oid (default: .) -q Quiet output. -V Show observium version and exit. -VV Show observium and used programs versions and exit. DEBUGGING OPTIONS: -d Enable debugging output. -dd More verbose debugging output. %rInvalid arguments!%n