Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
Description
Hi
I have made a shell scipt that can be use for getting SNMP dump of device
Attachments
Activity
Resolution | New: Fixed [ 1 ] | |
Status | Original: Pending Response [ 10000 ] | New: Resolved [ 5 ] |
Status | Original: In Review [ 10101 ] | New: Pending Response [ 10000 ] |
Assignee | Original: Adam Armstrong [ adama ] | New: Mike Stupalov [ landy ] |
Status | Original: In Review [ 10101 ] | New: In Review [ 10101 ] |
Status | Original: Pending Response [ 10000 ] | New: In Review [ 10101 ] |
Attachment | New: observium-SNMP-dump-dev.sh [ 20532 ] |
Status | Original: Open [ 1 ] | New: Pending Response [ 10000 ] |
In r13135 added script for make snmpdump.
$ ./scripts/snmpdump.php
USAGE:
snmpdump.php [-cqdV] -h device [-f filename]
EXAMPLE:
./scripts/snmpdump.php -c -h <device> Show snmpwalk commands for make snmpdump specific device (exist in db)
./scripts/snmpdump.php -h <device> Make snmpdump for specific device (exist in db) to file <hostname>.snmpwalk
./scripts/snmpdump.php -h <hostname> <community> Make snmpdump for specific hostname with v2 community to file <hostname>.snmpwalk
Can use snmp v1/2c/3 auth params same as for ./add_device.php
OPTIONS:
-h <device id> | <device hostname> Device hostname or id (required).
-f Filename for store snmpdump (default: <hostname>.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.