Skip to content

Commit 86a250a

Browse files
esmerelk402xxxcenxxx
authored andcommitted
Apply suggestions from code review
Signed-off-by: Lynette Miles <[email protected]>
1 parent 582a10d commit 86a250a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

pipeline/inputs/snmp.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# SNMP
22

3-
The **snmp** input plugin allows you to collect metrics from devices by SNMP(Simple Network Management Protocal) request.
3+
The _SNMP_ input plugin lets you collect metrics from devices by SNMP (Simple Network Management Protocol) request.
44

5-
## Configuration Parameters
5+
## Configuration parameters
66

77
The plugin supports the following configuration parameters:
88

9-
| Key | Description |
10-
| :--- | :--- |
11-
| Target\_Host | The target host IP to send the request. Default: `127.0.0.1` |
12-
| Port | The port to send the request. Default: `161` |
13-
| Timeout | The timeout of the request in seconds. Default: `5` |
14-
| Version | The SNMP version to use for the request, currently support `1` and `2c`. Default: `2c` |
15-
| Community | The SNMP community setting to use for the request. Default: `public` |
16-
| Retries |The number of retries for the request. Default: `3` |
17-
| Oid_Type | The type of SNMP request to send, current support `get` ([snmpget](https://net-snmp.sourceforge.io/wiki/index.php/TUT:snmpget)) and `walk` ([snmpwalk](https://net-snmp.sourceforge.io/wiki/index.php/TUT:snmpwalk)). Default: `get` |
18-
| Oid | The SNMP OID (Object Identifier) setting to use for the request.Default: `1.3.6.1.2.1.1.3.0` (System up time) |
9+
| Key | Description | Default |
10+
| :--- | :--- | :--- |
11+
| `Target_Host` | The target host IP to send the request. | `127.0.0.1` |
12+
| `Port` | The port to send the request. | `161` |
13+
| `Timeout` | The timeout of the request in seconds. | `5` |
14+
| `Version` | The SNMP version to use for the request. Supported versions: `1` and `2c`. | `2c` |
15+
| `Community` | The SNMP community setting to use for the request. | `public` |
16+
| `Retries` |The number of retries for the request. | `3` |
17+
| `Oid_Type` | The type of SNMP request to send, current support `get` ([snmpget](https://net-snmp.sourceforge.io/wiki/index.php/TUT:snmpget)) and `walk` ([snmpwalk](https://net-snmp.sourceforge.io/wiki/index.php/TUT:snmpwalk)). | `get` |
18+
| `Oid` | The SNMP OID (Object Identifier) setting to use for the request. | `1.3.6.1.2.1.1.3.0` (System up time) |
1919

20-
## Getting Started
20+
## Get started
2121

2222
You can run the plugin from the command line or through the configuration file:
2323

24-
### Command Line
24+
### Command line
2525

2626
```bash
2727
$ fluent-bit -i snmp -o stdout
@@ -33,9 +33,9 @@ Fluent Bit v2.x.x
3333
[0] snmp.test: [[1689404516.194328000, {}], {"iso.3.6.1.2.1.1.3.0"=>"59"}]
3434
```
3535

36-
### Configuration File
36+
### Configuration file
3737

38-
In your main configuration file append the following _Input_ & _Output_ sections:
38+
In your main configuration file append the following sections:
3939

4040
```python
4141
[INPUT]

0 commit comments

Comments
 (0)