As the snmp packages come without MIB files due to license reasons, loading # of MIBs is disabled by default. If you added the MIBs you can reenable # loading them by commenting out the following line. # mibs : ← ここをコメントアウトする 22
of the GC invocation durations. # TYPE go_gc_duration_seconds summary go_gc_duration_seconds{quantile="0"} 6.1525e-05 go_gc_duration_seconds{quantile="0.25"} 6.1525e-05 go_gc_duration_seconds{quantile="0.5"} 7.3834e-05 go_gc_duration_seconds{quantile="0.75"} 9.537e-05 go_gc_duration_seconds{quantile="1"} 9.537e-05 go_gc_duration_seconds_sum 0.000230729 go_gc_duration_seconds_count 3 # HELP go_goroutines Number of goroutines that currently exist. # TYPE go_goroutines gauge localhost:9116 にアクセスしてメトリクスが帰ってくればOK 28
- name: sysUpTime oid: 1.3.6.1.2.1.1.3 type: gauge help: The time (in hundredths of a second) since the network management portion of the system was last re-initialized. - 1.3.6.1.2.1.1.3 - name: ifNumber oid: 1.3.6.1.2.1.2.1 type: gauge help: The number of network interfaces (regardless of their current state) present on this system. - 1.3.6.1.2.1.2.1 ... ⼿で書くとこんなに⼤変 31
ifInOctets oid: 1.3.6.1.2.1.2.2.1.10 type: counter help: The total number of octets received on the interface, including framing characters. - 1.3.6.1.2.1.2.2.1.10 indexes: - labelname: ifIndex type: gauge - name: ifOutOctets oid: 1.3.6.1.2.1.2.2.1.16 type: counter help: The total number of octets transmitted out of the interface, including framing characters. - 1.3.6.1.2.1.2.2.1.16 indexes: - labelname: ifIndex type: gauge version: 2 auth: community: public 34