config.yaml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938
  1. snmp/v2c_connection_good:
  2. collection_interval: 10s
  3. endpoint: udp://localhost:161
  4. version: v2c
  5. community: public
  6. metrics:
  7. m3:
  8. unit: "By"
  9. gauge:
  10. value_type: double
  11. scalar_oids:
  12. - oid: "1"
  13. snmp/no_endpoint:
  14. collection_interval: 10s
  15. version: v2c
  16. community: public
  17. metrics:
  18. m3:
  19. unit: "By"
  20. gauge:
  21. value_type: double
  22. scalar_oids:
  23. - oid: "1"
  24. snmp/invalid_endpoint:
  25. collection_interval: 10s
  26. endpoint: udp://a:a:a:a:a:a
  27. version: v2c
  28. community: public
  29. metrics:
  30. m3:
  31. unit: "By"
  32. gauge:
  33. value_type: double
  34. scalar_oids:
  35. - oid: "1"
  36. snmp/no_port:
  37. collection_interval: 10s
  38. endpoint: "udp://localhost"
  39. version: v2c
  40. community: public
  41. metrics:
  42. m3:
  43. unit: "By"
  44. gauge:
  45. value_type: double
  46. scalar_oids:
  47. - oid: "1"
  48. snmp/no_port_trailing_colon:
  49. collection_interval: 10s
  50. endpoint: "udp://localhost:"
  51. version: v2c
  52. community: public
  53. metrics:
  54. m3:
  55. unit: "By"
  56. gauge:
  57. value_type: double
  58. scalar_oids:
  59. - oid: "1"
  60. snmp/bad_endpoint_scheme:
  61. collection_interval: 10s
  62. endpoint: "http://localhost:161"
  63. version: v2c
  64. community: public
  65. metrics:
  66. m3:
  67. unit: "By"
  68. gauge:
  69. value_type: double
  70. scalar_oids:
  71. - oid: "1"
  72. snmp/no_endpoint_scheme:
  73. collection_interval: 10s
  74. endpoint: "localhost:161"
  75. version: v2c
  76. community: public
  77. metrics:
  78. m3:
  79. unit: "By"
  80. gauge:
  81. value_type: double
  82. scalar_oids:
  83. - oid: "1"
  84. snmp/no_version:
  85. collection_interval: 10s
  86. endpoint: "udp://localhost:161"
  87. community: public
  88. metrics:
  89. m3:
  90. unit: "By"
  91. gauge:
  92. value_type: double
  93. scalar_oids:
  94. - oid: "1"
  95. snmp/bad_version:
  96. collection_interval: 10s
  97. endpoint: "udp://localhost:161"
  98. version: 9999
  99. community: public
  100. metrics:
  101. m3:
  102. unit: "By"
  103. gauge:
  104. value_type: double
  105. scalar_oids:
  106. - oid: "1"
  107. snmp/v3_connection_good:
  108. collection_interval: 10s
  109. endpoint: udp://localhost:161
  110. version: "v3"
  111. security_level: "auth_priv"
  112. user: u
  113. auth_type: "MD5"
  114. auth_password: "p"
  115. privacy_type: "DES"
  116. privacy_password: "pp"
  117. metrics:
  118. m3:
  119. unit: "By"
  120. gauge:
  121. value_type: double
  122. scalar_oids:
  123. - oid: "1"
  124. snmp/v3_no_user:
  125. collection_interval: 10s
  126. endpoint: "udp://localhost:161"
  127. version: "v3"
  128. security_level: "no_auth_no_priv"
  129. metrics:
  130. m3:
  131. unit: "By"
  132. gauge:
  133. value_type: double
  134. scalar_oids:
  135. - oid: "1"
  136. snmp/v3_no_security_level:
  137. collection_interval: 10s
  138. endpoint: "udp://localhost:161"
  139. version: "v3"
  140. user: u
  141. metrics:
  142. m3:
  143. unit: "By"
  144. gauge:
  145. value_type: double
  146. scalar_oids:
  147. - oid: "1"
  148. snmp/v3_bad_security_level:
  149. collection_interval: 10s
  150. endpoint: "udp://localhost:161"
  151. version: "v3"
  152. security_level: "super"
  153. user: u
  154. metrics:
  155. m3:
  156. unit: "By"
  157. gauge:
  158. value_type: double
  159. scalar_oids:
  160. - oid: "1"
  161. snmp/v3_no_auth_type:
  162. collection_interval: 10s
  163. endpoint: "udp://localhost:161"
  164. version: "v3"
  165. security_level: "auth_no_priv"
  166. user: u
  167. auth_password: "p"
  168. metrics:
  169. m3:
  170. unit: "By"
  171. gauge:
  172. value_type: double
  173. scalar_oids:
  174. - oid: "1"
  175. snmp/v3_bad_auth_type:
  176. collection_interval: 10s
  177. endpoint: "udp://localhost:161"
  178. version: "v3"
  179. security_level: "auth_no_priv"
  180. user: u
  181. auth_type: "super"
  182. auth_password: "p"
  183. metrics:
  184. m3:
  185. unit: "By"
  186. gauge:
  187. value_type: double
  188. scalar_oids:
  189. - oid: "1"
  190. snmp/v3_no_auth_password:
  191. collection_interval: 10s
  192. endpoint: "udp://localhost:161"
  193. version: "v3"
  194. security_level: "auth_no_priv"
  195. user: u
  196. auth_type: "MD5"
  197. metrics:
  198. m3:
  199. unit: "By"
  200. gauge:
  201. value_type: double
  202. scalar_oids:
  203. - oid: "1"
  204. snmp/v3_no_privacy_type:
  205. collection_interval: 10s
  206. endpoint: "udp://localhost:161"
  207. version: "v3"
  208. security_level: "auth_priv"
  209. user: u
  210. auth_type: "MD5"
  211. auth_password: "p"
  212. privacy_password: "pp"
  213. metrics:
  214. m3:
  215. unit: "By"
  216. gauge:
  217. value_type: double
  218. scalar_oids:
  219. - oid: "1"
  220. snmp/v3_bad_privacy_type:
  221. collection_interval: 10s
  222. endpoint: "udp://localhost:161"
  223. version: "v3"
  224. security_level: "auth_priv"
  225. user: u
  226. auth_type: "MD5"
  227. auth_password: "p"
  228. privacy_type: "super"
  229. privacy_password: "pp"
  230. metrics:
  231. m3:
  232. unit: "By"
  233. gauge:
  234. value_type: double
  235. scalar_oids:
  236. - oid: "1"
  237. snmp/v3_no_privacy_password:
  238. collection_interval: 10s
  239. endpoint: "udp://localhost:161"
  240. version: "v3"
  241. security_level: "auth_priv"
  242. user: u
  243. auth_type: "MD5"
  244. auth_password: "p"
  245. privacy_type: "DES"
  246. metrics:
  247. m3:
  248. unit: "By"
  249. gauge:
  250. value_type: double
  251. scalar_oids:
  252. - oid: "1"
  253. snmp/no_metric_config:
  254. collection_interval: 10s
  255. endpoint: udp://localhost:161
  256. version: v2c
  257. community: public
  258. snmp/no_metric_unit:
  259. collection_interval: 10s
  260. endpoint: udp://localhost:161
  261. version: v2c
  262. community: public
  263. metrics:
  264. m3:
  265. gauge:
  266. value_type: double
  267. scalar_oids:
  268. - oid: "1"
  269. snmp/no_metric_gauge_or_sum:
  270. collection_interval: 10s
  271. endpoint: udp://localhost:161
  272. version: v2c
  273. community: public
  274. metrics:
  275. m3:
  276. unit: "By"
  277. scalar_oids:
  278. - oid: "1"
  279. snmp/no_metric_oids:
  280. collection_interval: 10s
  281. endpoint: udp://localhost:161
  282. version: v2c
  283. community: public
  284. metrics:
  285. m3:
  286. unit: "By"
  287. gauge:
  288. value_type: double
  289. snmp/no_metric_gauge_type:
  290. collection_interval: 10s
  291. endpoint: udp://localhost:161
  292. version: v2c
  293. community: public
  294. metrics:
  295. m3:
  296. unit: "By"
  297. gauge:
  298. value_type:
  299. scalar_oids:
  300. - oid: "1"
  301. snmp/bad_metric_gauge_type:
  302. collection_interval: 10s
  303. endpoint: udp://localhost:161
  304. version: v2c
  305. community: public
  306. metrics:
  307. m3:
  308. unit: "By"
  309. gauge:
  310. value_type: "Counter"
  311. scalar_oids:
  312. - oid: "1"
  313. snmp/no_metric_sum_type:
  314. collection_interval: 10s
  315. endpoint: udp://localhost:161
  316. version: v2c
  317. community: public
  318. metrics:
  319. m3:
  320. unit: "By"
  321. sum:
  322. aggregation: cumulative
  323. monotonic: true
  324. scalar_oids:
  325. - oid: "1"
  326. snmp/bad_metric_sum_type:
  327. collection_interval: 10s
  328. endpoint: udp://localhost:161
  329. version: v2c
  330. community: public
  331. metrics:
  332. m3:
  333. unit: "By"
  334. sum:
  335. aggregation: cumulative
  336. monotonic: true
  337. value_type: "Counter"
  338. scalar_oids:
  339. - oid: "1"
  340. snmp/no_metric_sum_aggregation:
  341. collection_interval: 10s
  342. endpoint: udp://localhost:161
  343. version: v2c
  344. community: public
  345. metrics:
  346. m3:
  347. unit: "By"
  348. sum:
  349. monotonic: true
  350. value_type: double
  351. scalar_oids:
  352. - oid: "1"
  353. snmp/bad_metric_sum_aggregation:
  354. collection_interval: 10s
  355. endpoint: udp://localhost:161
  356. version: v2c
  357. community: public
  358. metrics:
  359. m3:
  360. unit: "By"
  361. sum:
  362. aggregation: Counter
  363. monotonic: true
  364. value_type: double
  365. scalar_oids:
  366. - oid: "1"
  367. snmp/no_scalar_oid_oid:
  368. collection_interval: 10s
  369. endpoint: udp://localhost:161
  370. version: v2c
  371. community: public
  372. metrics:
  373. m3:
  374. unit: "By"
  375. gauge:
  376. value_type: "double"
  377. scalar_oids:
  378. - attributes:
  379. snmp/no_attribute_oid_prefix_or_enums:
  380. collection_interval: 10s
  381. endpoint: udp://localhost:161
  382. version: v2c
  383. community: public
  384. attributes:
  385. a2:
  386. metrics:
  387. m3:
  388. unit: "By"
  389. gauge:
  390. value_type: "double"
  391. scalar_oids:
  392. - oid: "1"
  393. snmp/no_scalar_oid_attribute_name:
  394. collection_interval: 10s
  395. endpoint: udp://localhost:161
  396. version: v2c
  397. community: public
  398. metrics:
  399. m3:
  400. unit: "By"
  401. gauge:
  402. value_type: "double"
  403. scalar_oids:
  404. - oid: "1"
  405. attributes:
  406. - value: val1
  407. snmp/bad_scalar_oid_attribute_name:
  408. collection_interval: 10s
  409. endpoint: udp://localhost:161
  410. version: v2c
  411. community: public
  412. attributes:
  413. a2:
  414. enum:
  415. - val1
  416. - val2
  417. metrics:
  418. m3:
  419. unit: "By"
  420. gauge:
  421. value_type: "double"
  422. scalar_oids:
  423. - oid: "1"
  424. attributes:
  425. - name: a1
  426. value: val1
  427. snmp/bad_scalar_oid_attribute:
  428. collection_interval: 10s
  429. endpoint: udp://localhost:161
  430. version: v2c
  431. community: public
  432. attributes:
  433. a2:
  434. oid: "1"
  435. metrics:
  436. m3:
  437. unit: "By"
  438. gauge:
  439. value_type: "double"
  440. scalar_oids:
  441. - oid: "1"
  442. attributes:
  443. - name: a2
  444. value: val1
  445. snmp/bad_scalar_oid_attribute_value:
  446. collection_interval: 10s
  447. endpoint: udp://localhost:161
  448. version: v2c
  449. community: public
  450. attributes:
  451. a2:
  452. enum:
  453. - val1
  454. - val2
  455. metrics:
  456. m3:
  457. unit: "By"
  458. gauge:
  459. value_type: "double"
  460. scalar_oids:
  461. - oid: "1"
  462. attributes:
  463. - name: a2
  464. value: val3
  465. snmp/no_column_oid_oid:
  466. collection_interval: 10s
  467. endpoint: udp://localhost:161
  468. version: v2c
  469. community: public
  470. metrics:
  471. m3:
  472. unit: "By"
  473. gauge:
  474. value_type: "double"
  475. column_oids:
  476. - attributes:
  477. snmp/no_column_oid_attribute_name:
  478. collection_interval: 10s
  479. endpoint: udp://localhost:161
  480. version: v2c
  481. community: public
  482. metrics:
  483. m3:
  484. unit: "By"
  485. gauge:
  486. value_type: "double"
  487. column_oids:
  488. - oid: "1"
  489. attributes:
  490. - name:
  491. snmp/bad_column_oid_attribute_name:
  492. collection_interval: 10s
  493. endpoint: udp://localhost:161
  494. version: v2c
  495. community: public
  496. attributes:
  497. a2:
  498. oid: "1"
  499. metrics:
  500. m3:
  501. unit: "By"
  502. gauge:
  503. value_type: "double"
  504. column_oids:
  505. - oid: "1"
  506. attributes:
  507. - name: a1
  508. snmp/bad_column_oid_attribute_value:
  509. collection_interval: 10s
  510. endpoint: udp://localhost:161
  511. version: v2c
  512. community: public
  513. attributes:
  514. a2:
  515. enum:
  516. - val1
  517. - val2
  518. metrics:
  519. m3:
  520. unit: "By"
  521. gauge:
  522. value_type: "double"
  523. column_oids:
  524. - oid: "1"
  525. attributes:
  526. - name: a2
  527. value: val3
  528. snmp/bad_column_oid_resource_attribute_name:
  529. collection_interval: 10s
  530. endpoint: udp://localhost:161
  531. version: v2c
  532. community: public
  533. resource_attributes:
  534. ra1:
  535. oid: "2"
  536. metrics:
  537. m3:
  538. unit: "By"
  539. gauge:
  540. value_type: "double"
  541. column_oids:
  542. - oid: "1"
  543. resource_attributes:
  544. - a2
  545. snmp/column_oid_no_indexed_attribute_or_resource_attribute:
  546. collection_interval: 10s
  547. endpoint: udp://localhost:161
  548. version: v2c
  549. community: public
  550. attributes:
  551. a2:
  552. enum:
  553. - val1
  554. - val2
  555. metrics:
  556. m3:
  557. unit: "By"
  558. gauge:
  559. value_type: "double"
  560. column_oids:
  561. - oid: "1"
  562. attributes:
  563. - name: a2
  564. value: val1
  565. snmp/no_resource_attribute_oid_or_scalar_oid_or_prefix:
  566. collection_interval: 10s
  567. endpoint: udp://localhost:161
  568. version: v2c
  569. community: public
  570. resource_attributes:
  571. ra1:
  572. metrics:
  573. m3:
  574. unit: "By"
  575. gauge:
  576. value_type: "double"
  577. column_oids:
  578. - oid: "1"
  579. resource_attributes:
  580. - ra1
  581. snmp/complex_good:
  582. collection_interval: 10s
  583. endpoint: udp://localhost:161
  584. version: v2c
  585. community: public
  586. resource_attributes:
  587. ra1:
  588. indexed_value_prefix: p
  589. ra2:
  590. oid: "1"
  591. attributes:
  592. a1:
  593. value: v
  594. enum:
  595. - val1
  596. a2:
  597. enum:
  598. - val1
  599. - val2
  600. a3:
  601. indexed_value_prefix: p
  602. a4:
  603. oid: "1"
  604. metrics:
  605. m1:
  606. unit: 1
  607. sum:
  608. aggregation: cumulative
  609. monotonic: true
  610. value_type: int
  611. column_oids:
  612. - oid: "1"
  613. attributes:
  614. - name: a4
  615. m2:
  616. unit: "By"
  617. gauge:
  618. value_type: int
  619. column_oids:
  620. - oid: "1"
  621. attributes:
  622. - name: a3
  623. - name: a2
  624. value: val1
  625. - oid: "2"
  626. attributes:
  627. - name: a3
  628. - name: a2
  629. value: val2
  630. m3:
  631. unit: "By"
  632. gauge:
  633. value_type: double
  634. scalar_oids:
  635. - oid: "1"
  636. attributes:
  637. - name: a1
  638. value: val1
  639. m4:
  640. unit: "{things}"
  641. sum:
  642. aggregation: cumulative
  643. monotonic: true
  644. value_type: int
  645. scalar_oids:
  646. - oid: "1"
  647. m5:
  648. unit: "{things}"
  649. sum:
  650. aggregation: cumulative
  651. monotonic: false
  652. value_type: int
  653. scalar_oids:
  654. - oid: "1"
  655. attributes:
  656. - name: a1
  657. value: val1
  658. m6:
  659. unit: 1
  660. sum:
  661. aggregation: delta
  662. monotonic: true
  663. value_type: int
  664. scalar_oids:
  665. - oid: "1"
  666. attributes:
  667. - name: a2
  668. value: val1
  669. - oid: "2"
  670. attributes:
  671. - name: a2
  672. value: val2
  673. m7:
  674. unit: "By"
  675. gauge:
  676. value_type: int
  677. column_oids:
  678. - oid: "1"
  679. resource_attributes:
  680. - ra1
  681. m8:
  682. unit: "By"
  683. gauge:
  684. value_type: int
  685. column_oids:
  686. - oid: "1"
  687. resource_attributes:
  688. - ra2
  689. m9:
  690. unit: "By"
  691. gauge:
  692. value_type: int
  693. column_oids:
  694. - oid: "1"
  695. resource_attributes:
  696. - ra1
  697. - ra2
  698. m10:
  699. unit: "By"
  700. gauge:
  701. value_type: int
  702. column_oids:
  703. - oid: "1"
  704. resource_attributes:
  705. - ra1
  706. - ra2
  707. attributes:
  708. - name: a1
  709. value: val1
  710. - name: a3
  711. - name: a4
  712. snmp/scalar_oid_resource_attribute_on_column_oid_metric_with_column_oid_attribute:
  713. collection_interval: 10s
  714. endpoint: udp://localhost:161
  715. version: v2c
  716. community: public
  717. attributes:
  718. a2:
  719. oid: "1"
  720. resource_attributes:
  721. ra1:
  722. scalar_oid: "0"
  723. metrics:
  724. m3:
  725. unit: "By"
  726. gauge:
  727. value_type: "double"
  728. column_oids:
  729. - oid: "1"
  730. attributes:
  731. - name: a2
  732. resource_attributes:
  733. - ra1
  734. snmp/scalar_oid_resource_attribute_on_column_oid_metric_with_indexed_value_prefix_attribute:
  735. collection_interval: 10s
  736. endpoint: udp://localhost:161
  737. version: v2c
  738. community: public
  739. attributes:
  740. a2:
  741. indexed_value_prefix: "p"
  742. resource_attributes:
  743. ra1:
  744. scalar_oid: "0"
  745. metrics:
  746. m3:
  747. unit: "By"
  748. gauge:
  749. value_type: "double"
  750. column_oids:
  751. - oid: "1"
  752. attributes:
  753. - name: a2
  754. resource_attributes:
  755. - ra1
  756. snmp/scalar_oid_resource_attribute_on_column_oid_metric_without_indexed_identifier:
  757. collection_interval: 10s
  758. endpoint: udp://localhost:161
  759. version: v2c
  760. community: public
  761. resource_attributes:
  762. ra1:
  763. scalar_oid: "0"
  764. metrics:
  765. m3:
  766. unit: "By"
  767. gauge:
  768. value_type: "double"
  769. column_oids:
  770. - oid: "1"
  771. resource_attributes:
  772. - ra1
  773. snmp/scalar_oid_resource_attribute_on_column_oid_metric_with_column_oid_resource_attribute:
  774. collection_interval: 10s
  775. endpoint: udp://localhost:161
  776. version: v2c
  777. community: public
  778. resource_attributes:
  779. ra1:
  780. scalar_oid: "0"
  781. ra2:
  782. oid: "1"
  783. metrics:
  784. m3:
  785. unit: "By"
  786. gauge:
  787. value_type: "double"
  788. column_oids:
  789. - oid: "1"
  790. resource_attributes:
  791. - ra1
  792. - ra2
  793. snmp/scalar_oid_resource_attribute_on_column_oid_metric_with_indexed_value_prefix_resource_attribute:
  794. collection_interval: 10s
  795. endpoint: udp://localhost:161
  796. version: v2c
  797. community: public
  798. resource_attributes:
  799. ra1:
  800. scalar_oid: "0"
  801. ra2:
  802. indexed_value_prefix: "p"
  803. metrics:
  804. m3:
  805. unit: "By"
  806. gauge:
  807. value_type: "double"
  808. column_oids:
  809. - oid: "1"
  810. resource_attributes:
  811. - ra1
  812. - ra2
  813. snmp/multiple_keys_on_resource_attribute:
  814. collection_interval: 10s
  815. endpoint: udp://localhost:161
  816. version: v2c
  817. community: public
  818. resource_attributes:
  819. ra1:
  820. scalar_oid: "0"
  821. oid: "1"
  822. metrics:
  823. m3:
  824. unit: "By"
  825. gauge:
  826. value_type: "double"
  827. column_oids:
  828. - oid: "1"
  829. resource_attributes:
  830. - ra1
  831. snmp/scalar_oid_resource_attribute_ends_in_nonzero_digit:
  832. collection_interval: 10s
  833. endpoint: udp://localhost:161
  834. version: v2c
  835. community: public
  836. resource_attributes:
  837. ra1:
  838. scalar_oid: "1"
  839. ra2:
  840. oid: "1"
  841. metrics:
  842. m3:
  843. unit: "By"
  844. gauge:
  845. value_type: "double"
  846. column_oids:
  847. - oid: "1"
  848. resource_attributes:
  849. - ra1
  850. - ra2
  851. snmp/column_oid_resource_attribute_ends_in_zero:
  852. collection_interval: 10s
  853. endpoint: udp://localhost:161
  854. version: v2c
  855. community: public
  856. resource_attributes:
  857. ra1:
  858. oid: "0"
  859. metrics:
  860. m3:
  861. unit: "By"
  862. gauge:
  863. value_type: "double"
  864. column_oids:
  865. - oid: "1"
  866. resource_attributes:
  867. - ra1
  868. snmp/scalar_oid_single_scalar_resource_attribute_is_valid:
  869. collection_interval: 10s
  870. endpoint: udp://localhost:161
  871. version: v2c
  872. community: public
  873. resource_attributes:
  874. ra1:
  875. scalar_oid: "0"
  876. metrics:
  877. m3:
  878. unit: "By"
  879. gauge:
  880. value_type: "double"
  881. scalar_oids:
  882. - oid: "1"
  883. resource_attributes:
  884. - ra1
  885. snmp/scalar_oid_multiple_scalar_resource_attribute_is_valid:
  886. collection_interval: 10s
  887. endpoint: udp://localhost:161
  888. version: v2c
  889. community: public
  890. resource_attributes:
  891. ra1:
  892. scalar_oid: "0"
  893. ra2:
  894. scalar_oid: "0"
  895. metrics:
  896. m3:
  897. unit: "By"
  898. gauge:
  899. value_type: "double"
  900. scalar_oids:
  901. - oid: "0"
  902. resource_attributes:
  903. - ra1
  904. - ra2
  905. snmp/scalar_oid_with_coid_resource_attribute_is_invalid:
  906. collection_interval: 10s
  907. endpoint: udp://localhost:161
  908. version: v2c
  909. community: public
  910. resource_attributes:
  911. ra1:
  912. oid: "2"
  913. metrics:
  914. m3:
  915. unit: "By"
  916. gauge:
  917. value_type: "double"
  918. scalar_oids:
  919. - oid: "0"
  920. resource_attributes:
  921. - ra1
  922. snmp/scalar_oid_with_ivp_resource_attribute_is_invalid:
  923. collection_interval: 10s
  924. endpoint: udp://localhost:161
  925. version: v2c
  926. community: public
  927. resource_attributes:
  928. ra1:
  929. indexed_value_prefix: p
  930. metrics:
  931. m3:
  932. unit: "By"
  933. gauge:
  934. value_type: "double"
  935. scalar_oids:
  936. - oid: "0"
  937. resource_attributes:
  938. - ra1