The netops::monitoring class deploys the network-related checks to Icinga, and is based on netops::check define. The latter is called with different parameters depending on the desired check:
- ipv4/ipv6 ICMP check via monitoring::host. Note this is the only paging check (critical parameter).
- juniper alarms check_jnx_alarms
- router interfaces check_ifstatus_nomon
- BGP status check_bgp (cfr T384731 too)
- VCP status check_vcp
- VRRP status check_vrrp
- BFD status check_bfd
- OSPF status check_ospf
For icmp checks note that we have blackbox icmp probes already deployed (and full mesh), for example probe_success{job="smoke/icmp",role="cr"} (https://w.wiki/CraL). For the rest we'll likely need the nrpe compat layer described in T350360, or ideally we already have all the information we need in prometheus/gnmic !
! MIGRATION TABLE !
| Migrated? (Y/N) | Title | Resource Type | Command | File | Profiles |
|---|---|---|---|---|---|
| N | X.mgmt BFD status | Monitoring::Service | check_bfd | modules/netops/manifests/check.pp:153 | profile::icinga |
| N | X Juniper alarms | Monitoring::Service | check_jnx_alarms | modules/netops/manifests/check.pp:109 | profile::icinga |
| N | X OSPF status | Monitoring::Service | check_ospf | modules/netops/manifests/check.pp:164 | profile::icinga |
| N | mr1-X interfaces | Monitoring::Service | check_ifstatus_nomon | modules/netops/manifests/check.pp:120 | profile::icinga |
| N | X VCP status | Monitoring::Service | check_vcp | modules/netops/manifests/check.pp:131 | profile::icinga |
| N | X VRRP status | Monitoring::Service | check_vrrp | modules/netops/manifests/check.pp:142 | profile::icinga |